Software

We believe in open research software. We share the tools we build and welcome contributions and collaborations from the academic community.

Calibration toolkit

Bragi Quantum

Automated calibration of superconducting quantum processors

From a fresh chip to calibrated qubits, automatically. Bragi runs, tracks and reports every calibration experiment on our quantum processors.

Bragi is the software stack that brings our quantum chips to life: a library of calibration experiments, a live device model backed by Redis and HDF5, and an orchestrator that chains experiments into automated pipelines, from resonator spectroscopy to two-qubit gate benchmarking.

DocumentationDocs Source codeCode Open source soonSoon Paper In preparationIn prep.
calibrate.py
from bragi_quantum.api.orchestra import CalibrationOrchestrator
from bragi_quantum.api.handlers.data import RedisDataHandler

orc = CalibrationOrchestrator(
    experiment_template_name="example_chip",
    data_handler=RedisDataHandler(redis_port=6380),
)

QUBITS = [f"q{i}" for i in range(10, 16)]
opts = SessionOptions(session_name="res_spec")
params = ResonatorSpectroscopyParameters("res_spec", QUBITS)
node = ResonatorSpectroscopy(params, ResonatorSpectroscopyQOI)

with orc.calibration_session(opts):
    orc.run_node(node)  # datasets + PDF/HTML reports
Four packages, one calibration run

Experiments

A library of calibration and characterization nodes.

Data layer

HDF5 and Redis persistence, and the live device model.

API

The entry point that composes nodes into calibration pipelines.

GUI

Interactive reports and re-analysis of every saved session.

Quantum simulation

MPStab

Hybrid stabilizer–tensor-network quantum circuit simulator

Stabilizers meet tensor networks. MPStab simulates quantum circuits with both high entanglement and magic.

MPStab simulates quantum circuits by combining the stabilizer formalism with tensor networks. Clifford operations are handled by a stabilizer engine, while the costly "magic" operations are absorbed into matrix product operators, pushing classical simulation into regimes that are both highly entangled and far from Clifford.

simulate.py
from mpstab.evolutors.hsmpo import HSMPO
from mpstab.models.ansatze import HardwareEfficient

# a layered variational circuit
ansatz = HardwareEfficient(nqubits=8, nlayers=3)

# hybrid stabilizer + MPO simulator
surrogate = HSMPO(ansatz=ansatz, max_bond_dimension=8)

# expectation value of a Pauli observable
value = surrogate.expectation("ZIZXXIIZ")

# lower bound on the fidelity after truncation
fidelity = surrogate.fidelity_lower_bound
Key features

Hybrid formalism

Stabilizer states combined with matrix product operators.

Flexible engines

In-house engines, or Stim and Quimb under the hood.

Qibo backend

Run Qibo circuits and observables through MPStab.

Differentiable

Gradients through Quimb, with PyTorch and JAX backends.