surface_sim.circuit_blocks.rot_surface_code_css.log_meas_iterator#

log_meas_iterator(model, layout, rot_basis=False)[source]#

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

Parameters:
model

Noise model for the gates.

layout

Code layout.

rot_basis

If True, the memory experiment is performed in the X basis. If False, the memory experiment is performed in the Z basis. By deafult False.