qsystemΒΆ

Guppy standard library for Quantinuum systems device operations.

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

Guppy standard library for random number generation and discrete probability distributions.

utils

Guppy standard library for utilities available on Quantinuum Systems.

wasm

Guppy standard library for WebAssembly-style (wasm) contexts