functionalΒΆ

Guppy standard module for functional quantum operations. For the mathematical definitions of these gates, see the guppylang.std.quantum documentation.

These gates are the same as those in std.quantum but use functional syntax.

Functions

ch(control, target)

Functional Controlled-H gate command.

crz(control, target, angle)

Functional CRz gate command.

cx(control, target)

Functional CX gate command.

cy(control, target)

Functional CY gate command.

cz(control, target)

Functional CZ gate command.

h(q)

Functional Hadamard gate command.

project_z(q)

Functional project_z command.

reset(q)

Functional Reset command.

rx(q, angle)

Functional Rx gate command.

ry(q, angle)

Functional Ry gate command.

rz(q, angle)

Functional Rz gate command.

s(q)

Functional S gate command.

sdg(q)

Functional Sdg gate command.

t(q)

Functional T gate command.

tdg(q)

Functional Tdg gate command.

toffoli(control1, control2, target)

Functional Toffoli gate command.

v(q)

Functional V gate command.

vdg(q)

Functional Vdg gate command.

x(q)

Functional X gate command.

y(q)

Functional Y gate command.

z(q)

Functional Z gate command.