surface_sim.util#
Functions
|
Returns a circuit in which the given circuits have been merged following the TICK blocks. |
|
Returns a circuit in which the given logical operation iterators have been merged and idle noise have been added if the iterators have different lenght. |
|
Merges stim circuit containing TICK instructions and noise channels so that only one TICK instruction is present while keeping if the noise channels happened before of after the TICK. |
|
Merges operation layers acting on different qubits to simplify the final circuit. |
|
Adds the given noise to a noiseless Stim circuit. |
|
Adds missing idling channels to the circuit to ensure that all qubits are performing a gate or idling between ``TICK``s. |
|
Adds (missing) ``TICK``s to circuit so that each qubit only performs a single operation between ``TICK``s. |
|
Removes idling operations from the given circuit. |