surface_sim.circuit_blocks.small_stellated_dodecahedron_code.init_qubits_iterator#

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

Yields stim circuits corresponding to a logical initialization of the given model. The ancilla qubits are also initialized in the correct basis for the case anc_reset = False.

By default, the logical initialization is in the Z basis. If rot_basis, the logical initialization is in the X basis.