Module: cirq.testing.sample_gates

Classes

class PhaseUsingCleanAncilla: Phases the state \(|phase_state>\) by \(\exp(1j * \pi * \theta)\) using one clean ancilla.

class PhaseUsingDirtyAncilla: Phases the state \(|phase_state>\) by -1 using one dirty ancilla.