Skip to content
HALOWERK

Quantumwerk

qubit density bloch

Return Bloch coordinates, eigenvalues and purity of a physical one-qubit density matrix.

POST https://quantum.halowerk.com/v1/qubit-density-bloch

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
densityarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "density": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -10,
            "maximum": 10
          },
          "maxItems": 2,
          "minItems": 2
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 2,
      "minItems": 2
    }
  },
  "required": [
    "density"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

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