deltakit.circuit.Observable.permute_stim_circuit#

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

Updates stim_circuit with the stim circuit which includes this logical observable.

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

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