qsim:: Cirq

Summary

Enumerations

GateKind enum

Typedefs

CCNOT using
CCX < fp_type >
CCNotPowGate using
CCXPowGate < fp_type >
CNOT using
CX < fp_type >
CNotPowGate using
CXPowGate < fp_type >
CSWAP using
CSwapGate < fp_type >
FREDKIN using
CSwapGate < fp_type >
GateCirq using
Gate < fp_type, GateKind >
TOFFOLI using
CCX < fp_type >

Structs

qsim:: Cirq:: CCX

The (exponent = 1, global_shift = 0) instance of CCXPowGate .

qsim:: Cirq:: CCXPowGate

A gate that applies a doubly-controlled power of an X gate.

qsim:: Cirq:: CCZ

The (exponent = 1, global_shift = 0) instance of CCZPowGate .

qsim:: Cirq:: CCZPowGate

A gate that applies a phase to the |111⟩ state of three qubits.

qsim:: Cirq:: CSwapGate

A controlled swap gate (the Fredkin gate).

qsim:: Cirq:: CX

The (exponent = 1, global_shift = 0) instance of CXPowGate .

qsim:: Cirq:: CXPowGate

A gate that applies a controlled power of an X gate.

qsim:: Cirq:: CZ

The (exponent = 1, global_shift = 0) instance of CZPowGate .

qsim:: Cirq:: CZPowGate

A gate that applies a phase to the |11⟩ state of two qubits.

qsim:: Cirq:: FSimGate

The fermionic simulation gate family.

qsim:: Cirq:: H

The (exponent = 1, global_shift = 0) instance of HPowGate .

qsim:: Cirq:: HPowGate

A gate that rotates around the X+Z axis of the Bloch sphere.

qsim:: Cirq:: I

A multi-qubit identity gate.

qsim:: Cirq:: I1

A one-qubit identity gate.

qsim:: Cirq:: I2

A two-qubit identity gate.

qsim:: Cirq:: ISWAP

The (exponent = 1, global_shift = 0) instance of ISwapPowGate .

qsim:: Cirq:: ISwapPowGate

Rotates the |01⟩ vs |10⟩ subspace of two qubits around its Bloch X-axis.

qsim:: Cirq:: MatrixGate

A multi-qubit gate defined entirely by its matrix.

qsim:: Cirq:: MatrixGate1

A one-qubit gate defined entirely by its matrix.

qsim:: Cirq:: MatrixGate2

A two-qubit gate defined entirely by its matrix.

qsim:: Cirq:: PhasedISwapPowGate

An ISwapPowGate conjugated by ZPowGate s.

qsim:: Cirq:: PhasedXPowGate

An XPowGate conjugated by ZPowGate s.

qsim:: Cirq:: PhasedXZGate

A PhasedXPowGate followed by a ZPowGate .

qsim:: Cirq:: S

The (exponent = 0.5, global_shift = 0) instance of ZPowGate .

qsim:: Cirq:: SWAP

The (exponent = 1, global_shift = 0) instance of SwapPowGate .

qsim:: Cirq:: SwapPowGate

The SWAP gate, possibly raised to a power.

qsim:: Cirq:: T

The (exponent = 0.25, global_shift = 0) instance of ZPowGate .

qsim:: Cirq:: ThreeQubitDiagonalGate

A three-qubit diagonal gate.

qsim:: Cirq:: TwoQubitDiagonalGate

A two-qubit diagonal gate.

qsim:: Cirq:: X

The (exponent = 1, global_shift = 0) instance of XPowGate .

qsim:: Cirq:: XPowGate

A gate that rotates around the X axis of the Bloch sphere.

qsim:: Cirq:: XX

The (exponent = 1, global_shift = 0) instance of XXPowGate .

qsim:: Cirq:: XXPowGate

The tensor product of two X gates, possibly raised to an exponent.

qsim:: Cirq:: Y

The (exponent = 1, global_shift = 0) instance of YPowGate .

qsim:: Cirq:: YPowGate

A gate that rotates around the Y axis of the Bloch sphere.

qsim:: Cirq:: YY

The (exponent = 1, global_shift = 0) instance of YYPowGate .

qsim:: Cirq:: YYPowGate

The tensor product of two Y gates, possibly raised to an exponent.

qsim:: Cirq:: Z

The (exponent = 1, global_shift = 0) instance of ZPowGate .

qsim:: Cirq:: ZPowGate

A gate that rotates around the Z axis of the Bloch sphere.

qsim:: Cirq:: ZZ

The (exponent = 1, global_shift = 0) instance of ZZPowGate .

qsim:: Cirq:: ZZPowGate

The tensor product of two Z gates, possibly raised to an exponent.

qsim:: Cirq:: givens

The (phase_exponent = 0.25, exponent = 2*phi/pi) instance of PhasedISwapPowGate .

qsim:: Cirq:: riswap

The (exponent = 2*phi/pi, global_shift = 0) instance of ISwapPowGate .

qsim:: Cirq:: rx

The (exponent = phi/pi, global_shift = -0.5) instance of XPowGate .

qsim:: Cirq:: ry

The (exponent = phi/pi, global_shift = -0.5) instance of YPowGate .

qsim:: Cirq:: rz

The (exponent = phi/pi, global_shift = -0.5) instance of ZPowGate .

Enumerations

GateKind

 GateKind

Typedefs

CCNOT

CCX< fp_type > CCNOT

CCNotPowGate

CCXPowGate< fp_type > CCNotPowGate

CNOT

CX< fp_type > CNOT

CNotPowGate

CXPowGate< fp_type > CNotPowGate

CSWAP

CSwapGate< fp_type > CSWAP

FREDKIN

CSwapGate< fp_type > FREDKIN

GateCirq

Gate< fp_type, GateKind > GateCirq

TOFFOLI

CCX< fp_type > TOFFOLI