Skip to content
HALOWERK

Quantumwerk

circuit qubit lifetime reuse

Return a physical-qubit reuse plan for supplied preparation, gate and destructive-measurement lifetime events.

POST https://quantum.halowerk.com/v1/circuit-qubit-lifetime-reuse

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
qubitsintegerYes
eventsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "qubits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 64
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "prepare",
              "gate",
              "measure_release"
            ]
          },
          "qubits": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 63
            },
            "maxItems": 64,
            "minItems": 1
          }
        },
        "required": [
          "kind",
          "qubits"
        ],
        "additionalProperties": false
      },
      "maxItems": 256,
      "minItems": 0
    }
  },
  "required": [
    "qubits",
    "events"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "qubits": 2,
  "events": [
    {
      "kind": "prepare",
      "qubits": [
        0
      ]
    },
    {
      "kind": "measure_release",
      "qubits": [
        0
      ]
    },
    {
      "kind": "prepare",
      "qubits": [
        1
      ]
    },
    {
      "kind": "gate",
      "qubits": [
        1
      ]
    }
  ]
}

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 โ†’