Skip to content

Guide

The human-readable half of the documentation. Read it in order the first time; after that, Concepts and Troubleshooting are the two pages worth keeping open.

  • Introduction


    What problem the SDK solves, why distributing a quantum computation is hard, and what each stage of the pipeline contributes.

  • Installation


    Supported Python versions, the two system dependencies that are not pip-installable, and how to check the install worked.

  • Getting Started


    Two end-to-end runs from an empty file: one NISQ, one fault-tolerant.

  • Concepts


    The vocabulary: EPR cost, BSM, NIR and TEL, seams, code distance, magic states, makespan, wastage. Reach for this when a parameter name makes no sense.

  • Examples


    Worked, runnable examples for the things people actually ask for — comparing topologies, custom hardware, sweeping code distance, batch scheduling.

  • FAQ


    Questions that come up repeatedly, including several about what the SDK deliberately does not do.

  • Troubleshooting


    Errors you are likely to hit, what each one actually means, and the fix.

  • Support & Citation


    How to get help, how to report a bug usefully, and how to cite the work.

  • Summit Demos


    Downloadable Jupyter notebooks for the four summit demos: compiler overview, network configuration, simulation, and error correction.

Conventions in this guide

Code blocks are complete and runnable unless they are marked otherwise:

from qndk.quantum_network import build_clos, QPUSpec

network = build_clos(ports_per_switch=4, qpus_per_rack=2,
                     qpu_spec=QPUSpec(comp_qubits=4))
print(network.total_comp_qubits())

A block that is an illustrative fragment rather than a whole program says so on its first line:

# fragment: assumes `network` from above
network.update_switch(network.switch_ids()[0], bsm_count=8)

Every unmarked block on every guide page is run against the release it documents, so the examples match the API you have installed.