Skip to content
HALOWERK

Quantumwerk

qubit kraus channel apply

Apply a supplied trace-preserving Kraus channel to a one-qubit density matrix.

POST https://quantum.halowerk.com/v1/qubit-kraus-channel-apply

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
densityReferenceYes
krausarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "density": {
      "$ref": "#/$defs/s0"
    },
    "kraus": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s0"
      },
      "maxItems": 8,
      "minItems": 1
    }
  },
  "required": [
    "density",
    "kraus"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w4:G5:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s1"
      },
      "maxItems": 2,
      "minItems": 2
    },
    "s1": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s2"
      },
      "maxItems": 2,
      "minItems": 2
    },
    "s2": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -10,
        "maximum": 10
      },
      "maxItems": 2,
      "minItems": 2
    }
  }
}

Open original schema

Published input example

{
  "density": [
    [
      [
        0,
        0
      ],
      [
        0,
        0
      ]
    ],
    [
      [
        0,
        0
      ],
      [
        1,
        0
      ]
    ]
  ],
  "kraus": [
    [
      [
        [
          1,
          0
        ],
        [
          0,
          0
        ]
      ],
      [
        [
          0,
          0
        ],
        [
          0.7071067811865476,
          0
        ]
      ]
    ],
    [
      [
        [
          0,
          0
        ],
        [
          0.7071067811865476,
          0
        ]
      ],
      [
        [
          0,
          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 →