Skip to content
HALOWERK

Quantumwerk

circuit count register bit map

Return per-register marginal count histograms after explicit bit-order and register-bit mapping.

POST https://quantum.halowerk.com/v1/circuit-count-register-bit-map

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countsarrayYes
bit_orderSee schemaYes
registersarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "counts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bits": {
            "type": "string",
            "pattern": "^[01]+$",
            "minLength": 1,
            "maxLength": 64
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "bits",
          "count"
        ],
        "additionalProperties": false
      },
      "maxItems": 500,
      "minItems": 1
    },
    "bit_order": {
      "enum": [
        "left_is_msb",
        "left_is_lsb"
      ]
    },
    "registers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "bits": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 63
            },
            "maxItems": 64,
            "minItems": 1
          }
        },
        "required": [
          "name",
          "bits"
        ],
        "additionalProperties": false
      },
      "maxItems": 8,
      "minItems": 1
    }
  },
  "required": [
    "counts",
    "bit_order",
    "registers"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "counts": [
    {
      "bits": "10",
      "count": 3
    },
    {
      "bits": "01",
      "count": 1
    }
  ],
  "bit_order": "left_is_msb",
  "registers": [
    {
      "name": "low",
      "bits": [
        0
      ]
    },
    {
      "name": "high",
      "bits": [
        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 โ†’