deltakit.circuit.Detector.permute_stim_circuit#

Detector.permute_stim_circuit(stim_circuit: Circuit, _qubit_mapping=None)#

Updates stim_circuit with the stim circuit which specifies this single detector.

Parameters:
  • stim_circuit (stim.Circuit) – The stim circuit to be updated with the stim representation of this detector

  • _qubit_mapping (None, optional) – Unused argument to make interface to this method equal to the same methods in layer classes.