Module: cirq.ops.three_qubit_gates

Common quantum gates that target three qubits.

Classes

class CCNotPowGate: A Toffoli (doubly-controlled-NOT) that can be raised to a power.

class CCXPowGate: A Toffoli (doubly-controlled-NOT) that can be raised to a power.

class CCZPowGate: A doubly-controlled-Z that can be raised to a power.

class CSwapGate: A controlled swap gate. The Fredkin gate.

class ThreeQubitDiagonalGate: A gate given by a diagonal 8x8 matrix.

Functions

CCNOT(...): The TOFFOLI gate.

CCX(...): The TOFFOLI gate.

CCZ(...): The Controlled-Controlled-Z gate.

CSWAP(...): The Controlled Swap gate.

FREDKIN(...): The Controlled Swap gate.

TOFFOLI(...): The TOFFOLI gate.

TYPE_CHECKING False