tqec.circuit.schedule.manipulation#

Defines functions to modify or merge ScheduledCircuit instances.

This module implement a few central functions for the tqec library:

Functions

merge_scheduled_circuits(circuits, ...[, ...])

Merge several ScheduledCircuit instances into one instance.

relabel_circuits_qubit_indices(circuits)

Relabel the qubit indices of the provided circuits to avoid collision.

remove_duplicate_instructions(instructions, ...)

Removes all the duplicate instructions from the given list.