qubithubhadamard-test

Estimates the complex expectation value <psi|U|psi> of a unitary operator using quantum interference on an ancilla qubit. The real part is extracted from the default circuit; adding S-dagger before the final Hadamard gives the imaginary part.

RunCite

No licence specified, so all rights are reserved by default — forking copies this circuit but grants you no rights to reuse it.

Framework
Qiskit
Qubits
2
Depth
4
Gate set
H, CU
Licence
Not specified
Version
v1
Updated
3 days ago
Last run
3 months ago

Circuit

circuit.py · Qiskit · depth 4
Loading circuit diagram…

README.md · 6.4 KB

Code

Loading README.md

Lineage

Not a fork.

No forks yet.

Suggested citation

@software{qubithub_hadamardtest_2026,
  author = {QubitHub Circuits},
  title = {Hadamard Test},
  year = {2026},
  version = {v1},
  url = {https://qubithub.co/qubithub/hadamard-test},
}

Generated from this circuit's metadata. QubitHub does not mint DOIs, so this is not a registered identifier — check it against your venue's requirements before publishing.