[][src]Module q1tsim::gates

Structs

C

Controlled gates.

CCRX

Doubly controlled RX gate.

CCRY

Doubly controlled RY gate.

CCRZ

Doubly controlled RZ gate.

CCX

Doubly controlled X gate.

CCZ

Doubly controlled Z gate.

CH

Controlled Hadamard gate.

CRX

Controlled RX gate.

CRY

Controlled RY gate.

CRZ

Controlled RZ gate.

CS

Controlled S gate.

CSdg

Controlled S gate.

CT

Controlled T gate.

CTdg

Controlled T gate.

CU1

Controlled U1 gate.

CU2

Controlled U2 gate.

CU3

Controlled U3 gate.

CV

Controlled V gate.

CVdg

Controlled V gate.

CX

Controlled X gate.

CY

Controlled Y gate.

CZ

Controlled Z gate.

Composite

Composite gate.

H

The Hadamard gate.

I

The identity gate

Kron

Gate describing the Kronecker product of two other gates operating on different qubits.

Loop

Static loop gate

RX

Rotation around x axis.

RY

Rotation around y axis.

RZ

Rotation around z axis.

S

The Clifford S gate

Sdg

Conjugate of Clifford S gate

Swap

The Swap gate

T

The T gate

Tdg

Conjugate of T gate

U1

Phase gate.

U2

U2 gate.

U3

U3 gate.

V

The V gate

Vdg

Conjugate of V gate.

X

The Pauli X gate.

Y

The Pauli Y gate.

Z

The Pauli Z gate.

Traits

Gate

Functions

apply_gate_mat_slice

Apply a gate

apply_gate_slice

Apply a gate

bit_permutation

Reorder bits.