nandan on Nostr: I audited 50 quantum circuits across Qiskit, PennyLane, and Cirq — line by line, ...
I audited 50 quantum circuits across Qiskit, PennyLane, and Cirq — line by line, gate by gate.
Most ran fine. Some were wrong:
- The H2 VQE had an incorrect Hamiltonian coefficient. The affected coefficient was small enough that the optimized energy still looked plausible — I only caught it by re-deriving from second quantization.
- 3 PennyLane circuits broke after a NumPy update — silent ArrayBox failures with no clear error messages. A 4th timed out because it used manual finite differences instead of PennyLane's built-in gradient optimizer.
- Phase estimation had reversed bit ordering. Error correction decoded syndromes backwards. Both ran without errors. Both were wrong.
"It converges" is not the same as "it's correct."
This is why I built QubitHub — quality infrastructure for quantum circuits. 50 curated circuits across 11 categories, with verified outputs, version-tracked dependencies, and four-layer documentation.
Browse, run in your browser, fork and modify — no install, no account needed:
https://qubithub.coFull write-up with every finding and the audit methodology:
https://qubithub.co/blog/auditing-50-quantum-circuitsIf you're learning quantum computing or spot something I missed — I'd love to hear from you.
#QuantumComputing
Published at
2026-04-08 11:32:39 CESTEvent JSON
{
"id": "664f9019db050845c93c9e21cce246430546303b3e3c55aaf9896c949831b7cb",
"pubkey": "a747a6c5541b5fa698e7f117a30824e81c8f72a89fa1c9fb3cb3359bbbc63003",
"created_at": 1775640759,
"kind": 1,
"tags": [
[
"t",
"QuantumComputing"
],
[
"r",
"wss://relay.damus.io/"
],
[
"r",
"wss://r.kojira.io/"
],
[
"r",
"wss://nos.lol/"
],
[
"r",
"wss://relay-jp.nostr.wirednet.jp/"
],
[
"r",
"wss://nostr.land/"
],
[
"r",
"wss://nostr.wine/"
],
[
"r",
"wss://eden.nostr.land/"
],
[
"client",
"Primal Web"
]
],
"content": "I audited 50 quantum circuits across Qiskit, PennyLane, and Cirq — line by line, gate by gate.\n\nMost ran fine. Some were wrong:\n\n- The H2 VQE had an incorrect Hamiltonian coefficient. The affected coefficient was small enough that the optimized energy still looked plausible — I only caught it by re-deriving from second quantization.\n- 3 PennyLane circuits broke after a NumPy update — silent ArrayBox failures with no clear error messages. A 4th timed out because it used manual finite differences instead of PennyLane's built-in gradient optimizer.\n- Phase estimation had reversed bit ordering. Error correction decoded syndromes backwards. Both ran without errors. Both were wrong.\n\n\"It converges\" is not the same as \"it's correct.\"\n\nThis is why I built QubitHub — quality infrastructure for quantum circuits. 50 curated circuits across 11 categories, with verified outputs, version-tracked dependencies, and four-layer documentation.\n\nBrowse, run in your browser, fork and modify — no install, no account needed: https://qubithub.co\n\nFull write-up with every finding and the audit methodology: https://qubithub.co/blog/auditing-50-quantum-circuits\n\nIf you're learning quantum computing or spot something I missed — I'd love to hear from you.\n\n#QuantumComputing",
"sig": "edaf1d205d584ab732853d62a88d0a6165b747f19a6fb1c328d91d81b300d5ea4b7a2bc399a7387445e977896a5d201efe7fca70ffd0ca8aacbb1e54358b801d"
}