Skip to content
HALOWERK

Quantumwerk

qubit unitary evolve

Return a one-qubit state and basis probabilities after a supplied unitary matrix.

POST https://quantum.halowerk.com/v1/qubit-unitary-evolve

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stateReferenceYes
unitaryarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "state": {
      "$ref": "#/$defs/s0"
    },
    "unitary": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s0"
      },
      "maxItems": 2,
      "minItems": 2
    }
  },
  "required": [
    "state",
    "unitary"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w4:G0:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s1"
      },
      "maxItems": 2,
      "minItems": 2
    },
    "s1": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -10,
        "maximum": 10
      },
      "maxItems": 2,
      "minItems": 2
    }
  }
}

Open original schema

Published input example

{
  "state": [
    [
      1,
      0
    ],
    [
      0,
      0
    ]
  ],
  "unitary": [
    [
      [
        0,
        0
      ],
      [
        1,
        0
      ]
    ],
    [
      [
        1,
        0
      ],
      [
        0,
        0
      ]
    ]
  ]
}

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 →