Open teaguetomesh opened 2 years ago
Given the goals above ^ we will want to represent compiled circuits using the lightest weight data structure possible while still providing enough information to answer those questions.
Something like a MappedDAG
(comparable to Qiskit's DAGCircuit) might work well. The data structure we use will also depend on the way we want to compile abstract circuits to a given Device
QuantumCircuits
in which case we automatically have access to DAGCircuits
, but there might be more overhead and bloatware when using Qiskit than would otherwise be needed.our_compile(circuit, device)
, that would then output a MappedDAG
object.The information the MappedDAG
would need to contain is
We will need a whole host of metrics to understand:
Metrics: