qc
.dev
Articles
Playground
Experiments
Sign in
Discover Circuits
2 public circuits shared by the community
Most Recent
Most Downloaded
Most Saved
Most Forked
Most Viewed
tag:
overlap
✕
Hadamard Test
Estimates ⟨ψ|U|ψ⟩ using an ancilla qubit, controlled-U, and measurement. Fundamental for many quantum algorithms.
@quantumcomputer
openqasm
2q
3 gates
0 dl
0 saves
hadamard-test
overlap
subroutine
SWAP Test
Determines the overlap between two quantum states without measuring them. Ancilla qubit reads |0⟩ if states are identical.
@quantumcomputer
openqasm
3q
3 gates
0 dl
0 saves
swap-test
overlap
subroutine