surface_sim.circuit_blocks.repetition_code.init_qubits# init_qubits(model, layout, detectors, data_init, rot_basis=False)[source]# Returns stim circuit corresponding to a logical initialization of the given model. By default, the logical measurement is in the Z basis. If rot_basis, the logical measurement is in the X basis.