Skip to content

Stim

← Curated API reference · Exchange with other tools · Interoperability

Write Stim kernels and convert them to and from stim.Circuit.

  • from bloqade.stim import Circuit

    A `stim.Circuit` that can be built from a squin kernel or a program string.

  • from bloqade.stim import main