hardware_properties

Classes for hardware dependent Qubit and Gate properties.

These can be used as properties fields in DeviceQubit and DeviceGate.

class parityos.devices.hardware_properties.BasicQubitProperties(t1: float | None = None, t2: float | None = None)

Bases: object

Properties of a qubit on a quantum device, containing coherence times.

t1: float | None

The t1 time of this qubit in seconds.

t2: float | None

The t2 time of this qubit in seconds.

class parityos.devices.hardware_properties.BasicGateProperties(error: float | None = None, duration: float | None = None)

Bases: object

Properties of a quantum gate on a device model containing error rate and duration.

error: float | None

The gate error associated with this gate. Value between 0.0 and 1.0.

duration: float | None

The time required to execute this gate in seconds.