quantum_functionalΒΆ

Deprecated: Use guppylang.std.quantum.functional instead.

Functions

h(q)

Functional Hadamard gate command.

cz(control, target)

Functional CZ gate command.

cx(control, target)

Functional CX gate command.

cy(control, target)

Functional CY gate command.

t(q)

Functional T gate command.

s(q)

Functional S gate command.

v(q)

Functional V gate command.

x(q)

Functional X gate command.

y(q)

Functional Y gate command.

z(q)

Functional Z gate command.

tdg(q)

Functional Tdg gate command.

sdg(q)

Functional Sdg gate command.

vdg(q)

Functional Vdg gate command.

rz(q, angle)

Functional Rz gate command.

rx(q, angle)

Functional Rx gate command.

ry(q, angle)

Functional Ry gate command.

crz(control, target, angle)

Functional CRz gate command.

toffoli(control1, control2, target)

Functional Toffoli gate command.

reset(q)

Functional Reset command.

project_z(q)

Functional project_z command.

ch(control, target)

Functional Controlled-H gate command.