Discover Circuits

2 public circuits shared by the community

tag:overlap
OpenQASM
Hadamard Test
Estimates ⟨ψ|U|ψ⟩ using an ancilla qubit, controlled-U, and measurement. Fundamental for many quantum algorithms.
@quantumcomputer2q3g00
OpenQASM
SWAP Test
Determines the overlap between two quantum states without measuring them. Ancilla qubit reads |0⟩ if states are identical.
@quantumcomputer3q3g00