Skip to content
HALOWERK

Quantum Computing Tools

stabilizer logical distance search

Return the minimum weight nontrivial logical Pauli and a bounded exhaustive-search witness.

POST https://quantum.halowerk.com/v1/stabilizer-logical-distance-search

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
qubitsintegerYes
generatorsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "qubits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 8
    },
    "generators": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "word": {
            "type": "string",
            "pattern": "^[IXYZixyz]+$",
            "minLength": 1,
            "maxLength": 8
          },
          "sign": {
            "enum": [
              1,
              -1
            ]
          }
        },
        "required": [
          "word",
          "sign"
        ],
        "additionalProperties": false
      },
      "maxItems": 8,
      "minItems": 0
    }
  },
  "required": [
    "qubits",
    "generators"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "qubits": 3,
  "generators": [
    {
      "word": "ZZI",
      "sign": 1
    },
    {
      "word": "IZZ",
      "sign": 1
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’