Discover Circuits

2 public circuits shared by the community

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