cosmiq.digital#

The digital path (see its guide): native gates on the register’s atoms (cz in range, r global or local, rz local), a torch state-vector simulator for up to 16 qubits, and each device’s digital profile. Users write Qiskit, through cosmiq.qiskit; the IR here is private.

cosmiq.digital.profile("cosmiq-ref-1")   # the frozen profile, read-only

DigitalProfile

A device's digital profile, frozen (cosmiq.digital.profile): read it, don't change it.

profile

The frozen digital profile of a bundled device: "cosmiq-ref-1" or "cosmiq-ref-1-ideal" (every rate 0).

Classes

class cosmiq.digital.DigitalProfile(device: str, profile_version: str, description: str, cz_range_um: float, spectator_range_um: float, rabi_global: float, rabi_local: float, rz_rate: float, t_cz: float, t_readout: float, depol_1q_global: float, depol_1q_local: float, depol_cz: float, spectator_z: float, idle_dephasing: float, loss_sequence: float, spam_preparation: float, spam_false_01: float, spam_false_10: float, sources: Mapping[str, str])#

Bases: object

A device’s digital profile, frozen (cosmiq.digital.profile): read it, don’t change it.

Gates: cz between atoms within cz_range_um; r(θ, φ), global or local, at rabi_global or rabi_local; rz(λ), local, at rz_rate. A gate’s duration is its angle, reduced to \([-\pi, \pi]\), over its rate (t_cz for a CZ). sources holds each number’s source.

device: str#
profile_version: str#
description: str#
cz_range_um: float#
spectator_range_um: float#
rabi_global: float#

rad/µs.

rabi_local: float#
rz_rate: float#
t_cz: float#

µs.

t_readout: float#
depol_1q_global: float#

Per qubit, per global r.

depol_1q_local: float#

Per local r or rz.

depol_cz: float#

Two-qubit, per CZ.

spectator_z: float#

Per CZ, for each other atom within spectator_range_um of its pair.

idle_dephasing: float#

1/T2, in 1/µs: an idle time t gives Z with probability (1 - exp(-t/T2))/2.

loss_sequence: float#

Per atom, per shot: a lost atom idles and reads as 1.

spam_preparation: float#

An atom prepared in 1.

spam_false_01: float#

A 0 read as 1.

spam_false_10: float#

A 1 read as 0.

sources: Mapping[str, str]#

Functions

cosmiq.digital.profile(device: str) → DigitalProfile#

The frozen digital profile of a bundled device: “cosmiq-ref-1” or “cosmiq-ref-1-ideal” (every rate 0). Any other device is refused (DIGITAL_DEVICE).