qsystemΒΆ

Classes

MaybeLeaked()

A class representing a measurement that may have leaked.

Functions

measure(q)

Measure a qubit destructively.

measure_and_reset(q)

MeasureReset operation from the qsystem extension.

measure_leaked(q)

Measure the qubit and return a MaybeLeaked result.

phased_x(q, angle1, angle2)

phased_x gate command.

qfree(q)

reset(q)

Reset a qubit to the \(|0\rangle\) state.

rz(q, angle)

rz gate command.

zz_max(q1, q2)

zz_max gate command.

zz_phase(q1, q2, angle)

zz_phase gate command.

functional

Guppy standard module for functional qsystem native operations.

random

utils

wasm