Gates and MeasurementsΒΆ

qleap.Measurement(*args)

Measurement is a class that represents a measurement operation in the QLeap framework.

qleap.Hadamard(*args)

Hadamard is a class that represents the Hadamard gate operation in the QLeap framework.

qleap.X(*args)

X is a class that represents the X gate operation in the QLeap framework.

qleap.Z(*args)

Z is a class that represents the Z gate operation in the QLeap framework.

qleap.Cnot(control, *args)

Cnot is a class that represents the CNOT gate operation in the QLeap framework.

qleap.Qft(target[, invert])

Qft is a class that represents the QFT gate operation in the QLeap framework.

qleap.Swap(q1, q2[, control])

Swap is a class that represents the Swap gate operation in the QLeap framework.

qleap.Toffoli(control1, control2, *args)

Toffoli is a class that represents the Toffoli gate operation in the QLeap framework.