surface_sim.circuit_blocks.repetition_code.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. IfFalse, the memory experiment is performed in the Z basis. By deafultFalse.