Module: openfermion.circuits.gates.common_gates

Gates that are commonly used for quantum simulation of fermions.

Classes

class FSwapPowGate: The FSWAP gate, possibly raised to a power.

Functions

FSWAP(...): The FSWAP gate, possibly raised to a power.

Rxxyy(...): Returns a gate with the matrix exp(-i rads (X⊗X + Y⊗Y) / 2).

Ryxxy(...): Returns a gate with the matrix exp(-i rads (Y⊗X - X⊗Y) / 2).

Rzz(...): Returns a gate with the matrix exp(-i Z⊗Z rads).

rot11(...): Phases the |11> state of two qubits by e^{i rads}.