surface_sim.circuit_blocks.rot_surface_code_css.log_trans_cnot#
- log_trans_cnot(model, layout_c, layout_t, detectors)[source]#
Returns the stim circuit corresponding to a transversal logical CNOT gate.
- Parameters:
- model
Noise model for the gates.
- layout_c
Code layout for the control of the logical CNOT.
- layout_t
Code layout for the target of the logical CNOT.
- detectors
Detector definitions to use.