tequila.circuit.gatesΒΆ

Functions

CNOT

Convenience CNOT initialization

CRx

Convenience initialization CRx (controlled Pauli X Rotation)

CRy

Convenience initialization CRy (controlled Pauli Y Rotation)

CRz

Convenience initialization CRz (controlled Pauli Z Rotation)

CX

Convenience initialization CX (CNOT)

CY

Convenience initialization CY (controlled Pauli Y)

CZ

Convenience initialization CZ (controlled Pauli Z)

ExpPauli

Exponentiated Pauligate:

GeneralizedRotation

Convenience rotation gate.

H

Hadamard gate

Phase

Initialize an abstract phase gate.

PowerGate

Initialize a (potentially parametrized) gate which is supported on the backend.

QGate

RotationGate

Initialize an abstract rotation gate.

Rp

Same as ExpPauli

Rx

Rx gate

Ry

Ry gate

Rz

Rz gate

S

\(S = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\frac{\pi}{2}} \end{pmatrix}\)

SWAP

SWAP gate, order of targets does not matter.

T

\(T = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\frac{\pi}{4}} \end{pmatrix}\)

Toffoli

Convenience Toffoli initialization

Trotterized

param generators

list of generators

X

Pauli X Gate

Y

Pauli Y Gate

Z

Pauli Z Gate

wrap_gate