parallel_single_logical_qubit_measurements

parallel_single_logical_qubit_measurements#

ssip.auto_surgeries.parallel_single_logical_qubit_measurements(C: CSScode, measure_sequence: MeasureSequence, basis: str = 'Z', return_data: bool = False) CSScode | MergeResult[source]#

Takes a CSS code and measures several logical qubits in the manner of https://arxiv.org/abs/2110.10794, in either the Z or X basis, in parallel.

Parameters:
  • C – The CSScode.

  • measure_sequence – The measurements to be performed.

  • basis – The basis of the measurements.

  • return_data – Whether to return a MergeResult or a CSScode object.

Returns:

The merged CSScode, or the MergeResult object which contains the CSScode.