surface_sim.circuit_blocks.small_stellated_dodecahedron_code#

Functions

qubit_coords(model, *layouts)

Returns a stim circuit that sets up the coordinates of the qubits.

log_meas(model, layout, detectors[, ...])

Returns stim circuit corresponding to a logical measurement of the given model.

log_meas_iterator(model, layout[, rot_basis])

Yields stim circuit blocks which in total correspond to a logical measurement of the given model without the definition of the detectors and observables.

init_qubits(model, layout, detectors, data_init)

Returns stim circuit corresponding to a logical initialization of the given model.

init_qubits_iterator(model, layout, data_init)

Yields stim circuits corresponding to a logical initialization of the given model.

log_fold_trans_h(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical H-like gate.

log_fold_trans_s(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical S-like gate.

log_fold_trans_swap_r(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical SWAP-like gate, in particular the \(\sigma_r\) gate.

log_fold_trans_swap_s(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical SWAP-like gate, in particular the \(\sigma_s\) gate.

log_fold_trans_swap_a(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical SWAP-like gate, in particular the \(\sigma_a\) gate.

log_fold_trans_swap_b(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical SWAP-like gate, in particular the \(\sigma_b\) gate.

log_fold_trans_swap_c(model, layout, detectors)

Returns the stim circuit corresponding to a transversal logical SWAP-like gate, in particular the \(\sigma_c\) gate.

qec_round(model, layout, detectors[, ...])

Returns stim circuit corresponding to a QEC round of the given model.