tqec.plaquette.library.css.make_css_surface_code_plaquette#

make_css_surface_code_plaquette(basis: Literal['X', 'Z'], data_initialization: ResetBasis | None = None, data_measurement: MeasurementBasis | None = None, x_boundary_orientation: Literal['HORIZONTAL', 'VERTICAL'] = 'VERTICAL', init_meas_only_on_side: PlaquetteSide | None = None) Plaquette[source]#

Make a CSS-type surface code plaquette.

Parameters:
  • basis – the basis of the plaquette.

  • data_initialization – the logical basis for data initialization.

  • data_measurement – the logical basis for data measurement.

  • x_boundary_orientation – the orientation of the X boundary.

  • init_meas_only_on_side – the side for data initialization and measurement.

Returns:

A CSS-type surface code plaquette.