surface_sim.log_gates.rot_surface_code_css.set_trans_cnot#
- set_trans_cnot(layout_c, layout_t)[source]#
Adds the required attributes (in place) for the layout to run the transversal CNOT gate for the unrotated surface code.
- Parameters:
- layout_c
The layout for the control of the CNOT for which to add the attributes.
- layout_t
The layout for the target of the CNOT for which to add the attributes.