BQSKit / bqskit

Berkeley Quantum Synthesis Toolkit
Other
106 stars 31 forks source link

Would it be better to have DAG and bqskit circuit conversion? #252

Open jinleic opened 2 weeks ago

jinleic commented 2 weeks ago

As in the title, would it be better to have functions like dag_to_circuit() and circuit_to_dag() ?

There is some painful inconsistency problem when trying to extract a sub-circuit and put back an equivalent sub-circuit.

edyounis commented 1 week ago

There is some painful inconsistency problem when trying to extract a sub-circuit and put back an equivalent sub-circuit.

Can you elaborate?