We need a DAGCircuit::from_circuit_data which would work as our rust-native circuit_to_dag but will actually be CircuitData to DAGCircuit. It could use the method from #13003 but be more specific with the criteria as CircuitData contains more information than an Iterator does.
What should we add?
Tracked by #13001
We need a
DAGCircuit::from_circuit_data
which would work as our rust-nativecircuit_to_dag
but will actually beCircuitData
toDAGCircuit
. It could use the method from #13003 but be more specific with the criteria asCircuitData
contains more information than anIterator
does.