Skip to content
HALOWERK

Quantumwerk

circuit layer resource depth

Return earliest resource-compatible gate times and unit-duration depth for a supplied circuit order.

POST https://quantum.halowerk.com/v1/circuit-layer-resource-depth

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
qubitsintegerYes
gatesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "qubits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 64
    },
    "gates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "qubits": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 63
            },
            "maxItems": 8,
            "minItems": 1
          },
          "duration_ticks": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          }
        },
        "required": [
          "qubits",
          "duration_ticks"
        ],
        "additionalProperties": false
      },
      "maxItems": 256,
      "minItems": 0
    }
  },
  "required": [
    "qubits",
    "gates"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "qubits": 2,
  "gates": [
    {
      "qubits": [
        0
      ],
      "duration_ticks": 2
    },
    {
      "qubits": [
        1
      ],
      "duration_ticks": 1
    },
    {
      "qubits": [
        0,
        1
      ],
      "duration_ticks": 3
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’