Skip to content

Experiments

← Curated API reference · Interpret results · Analysis

Find experiment-building and tomography helpers for logical-qubit studies.

  • from bloqade.gemini.decoding import single_qubit_state_tomography

    Returns X, Y, and Z basis kernels used to perform single-qubit tomography. Note that the kernels take in the register as the input.

  • from bloqade.gemini.decoding import TomographyResult

    Point-estimate single-qubit tomography result.

  • from bloqade.gemini.decoding import PostSelectionExperiment

    A "wizard" class that orchestrates the steps of running a experiment to do tomography which obtains samples from the hardware and runs decoding with postselection on your ancilla qubits.

  • from bloqade.gemini.decoding import magic_state_dist_steane

    Returns the nonclifford prefix circuit and clifford logical circuit used for magic state distillation. Note that the kernels take in the qubit register 'reg' as input. This means that the kernels are technically agnostic to the number of input qubits.