surface_sim.log_gates.rot_surface_code_css.set_x#

set_x(layout)[source]#

Adds the required attributes (in place) for the layout to run the Pauli X gate for the unrotated surface code.

Parameters:
layout

The layout in which to add the attributes.