![]() |
Classes
class UndefinedQuilGate
: Common base class for all non-exit exceptions.
class UnsupportedQuilInstruction
: Common base class for all non-exit exceptions.
Functions
CCNOT(...)
: The Tofolli gate, also known as the Controlled-Controlled-X gate.
CNOT(...)
: The controlled NOT gate.
CSWAP(...)
: The Controlled Swap gate, also known as the Fredkin gate.
CZ(...)
: The controlled Z gate.
H(...)
: The Hadamard gate.
I(...)
: The one qubit identity gate.
ISWAP(...)
: The iswap gate.
S(...)
: The Clifford S gate.
SWAP(...)
: The swap gate.
T(...)
: The non-Clifford T gate.
X(...)
: The Pauli X gate.
Y(...)
: The Pauli Y gate.
Z(...)
: The Pauli Z gate.
circuit_from_quil(...)
: Convert a Quil program to a Cirq Circuit.
cphase(...)
: Returns a controlled-phase gate as a Cirq CZPowGate with exponent determined by the input param.
cphase00(...)
: Returns a Cirq TwoQubitDiagonalGate for pyQuil's CPHASE00 gate.
cphase01(...)
: Returns a Cirq TwoQubitDiagonalGate for pyQuil's CPHASE01 gate.
cphase10(...)
: Returns a Cirq TwoQubitDiagonalGate for pyQuil's CPHASE10 gate.
phase(...)
: Returns a single-qubit phase gate as a Cirq ZPowGate with exponent determined by the input param.
pswap(...)
: Returns a Cirq MatrixGate for pyQuil's PSWAP gate.
xy(...)
: Returns an ISWAP-family gate as a Cirq ISwapPowGate with exponent determined by the input param.