Using cosmiq#

What each part of cosmiq does and how to use it, one guide per topic. Each guide links into the API reference; tested limits are on Claims and limits.

Guide

What it covers

Quickstart

building a program, checking it against a device, saving and exporting it

Conventions

the Hamiltonian, the signs, the units, positions and the bit order

The emulator

simulating programs: measurements, shots, noise, gradients, and faster methods for larger systems

The digital path

gate-based circuits on a device’s atoms: the gates, how long they take and the noise they add

Qiskit on cosmiq

Qiskit circuits on a cosmiq device, with SamplerV2 and EstimatorV2

PennyLane

laser pulses inside PennyLane circuits, trained with PyTorch

The algorithm library

graphs, maximum independent sets, the reservoir, IQP circuits and kernels

QEC with atom loss

error-correcting codes, their noise, and decoders that use atom loss

Exporting to Braket and Pulser

exporting programs to Amazon Braket and Pulser, and how the exports are checked

Remote jobs

running jobs remotely, cq.remote.local(), the virtual QPU and receipts

The runtime

long training runs: checkpoints and resume, rehearsals and parameter sweeps