dqcnac.nonlocal_gate_scheduling.compilation_state module
Compilation state class module
- class dqcnac.nonlocal_gate_scheduling.compilation_state.Cover(migrated: qiskit.circuit.Qubit, path: List[Node], destination=None, cost=None, time=None)[source]
Bases:
objectClass used to represent the coverage of a gate by “moving” one qubit of a gate over a path of nodes in the network.
- __init__(migrated: qiskit.circuit.Qubit, path: List[Node], destination=None, cost=None, time=None)[source]
Initialize the Cover.
- Parameters:
migrated – the qubit to “move”
path – the path of nodes
cost – the cost of the “movement”
time – the time of the “movement”
- class dqcnac.nonlocal_gate_scheduling.compilation_state.State(**kwargs)[source]
Bases:
objectThe class representing the state of the compilation.
- __init__(**kwargs)[source]
Initialize the state of the compilation.
- Parameters:
**kwargs – keyword arguments