Quantumwerk
qubit pure state fidelity
Return global-phase-invariant fidelity and trace distance between supplied pure states.
POST https://quantum.halowerk.com/v1/qubit-pure-state-fidelityInputs
| Field | Type | Required | Description |
|---|---|---|---|
| first | Reference | Yes | |
| second | Reference | Yes |
Show full input schema
{
"type": "object",
"properties": {
"first": {
"$ref": "#/$defs/s0"
},
"second": {
"$ref": "#/$defs/s0"
}
},
"required": [
"first",
"second"
],
"additionalProperties": false,
"$id": "urn:h:w4:G6:input",
"$defs": {
"s0": {
"type": "array",
"items": {
"$ref": "#/$defs/s1"
},
"maxItems": 4,
"minItems": 2
},
"s1": {
"type": "array",
"items": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"maxItems": 2,
"minItems": 2
}
}
}Published input example
{
"first": [
[
1,
0
],
[
0,
0
]
],
"second": [
[
0.7071067811865476,
0
],
[
0.7071067811865476,
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
- Quantumwerk0.002 USDC
annealer schedule
POSThttps://quantum.halowerk.com/v1/annealer-scheduleInterpolates a caller-supplied start and end temperature across a bounded number of steps using either a linear or geometric rule. It does not run an annealer, optimize a problem Hamiltonian or tune a schedule from hardware measurements.
- Quantumwerk0.004 USDC
circuit optimize
POSThttps://quantum.halowerk.com/v1/circuit-optimizeCancels adjacent identical self-inverse gates on identical ordered targets and folds adjacent RX, RY or RZ rotations on identical targets. It preserves only these local identities; it does not commute gates, model hardware topology, synthes
- Quantumwerk0.004 USDC
entanglement test
POSThttps://quantum.halowerk.com/v1/entanglement-testConverts ++, +−, −+ and −− counts into a correlation for each of AB, AB′, A′B and A′B′, then computes S = E(AB) + E(AB′) + E(A′B) − E(A′B′). A value above the classical bound in supplied data does not by itself demonstrate entanglement or c