Cancels adjacent identical self-inverse gates on identical ordered targets and f...
https://quantum.halowerk.com/v1/circuit-optimizeOverview
Cancels 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, synthesize arbitrary unitaries or prove global optimality.
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
HALOWERK quantumwerk
Source
bazaar
Indexed
2026-09-01 08:13:50
Health
Status
healthy
Latency (p50)
426ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:11:59
Last Healthy
2026-10-31 07:11:59
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"body": {
"gates": [
{
"gate": "H",
"targets": [
0
]
},
{
"gate": "H",
"targets": [
0
]
},
{
"angle_rad": 0.4,
"gate": "RZ",
"targets": [
1
]
},
{
"angle_rad": -0.1,
"gate": "RZ",
"targets": [
1
]
},
{
"gate": "CNOT",
"targets": [
0,
2
]
}
],
"qubit_count": 3
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"cancelled_gate_instances": 2,
"gates": [
{
"angle_rad": 0.3,
"gate": "RZ",
"targets": [
1
]
},
{
"gate": "CNOT",
"targets": [
0,
2
]
}
],
"method": "deterministic adjacent-gate cancellation and same-axis rotation folding",
"optimization_scope": "adjacent_local_identities_only",
"optimized_gate_count": 2,
"original_gate_count": 5,
"rotation_folds": 1
},
"type": "json"
}