BQSKit / bqskit

Berkeley Quantum Synthesis Toolkit
Other
118 stars 33 forks source link

Deterministic order for Circuit.get_operations #156

Closed dakk closed 1 year ago

dakk commented 1 year ago

Fix get_operations result order (fixes #150 )

edyounis commented 1 year ago

Hi @dakk, thanks for fixing this issue! Can you add the test case in the issue report as a test in the BQSKit repo?

dakk commented 1 year ago

Hi @dakk, thanks for fixing this issue! Can you add the test case in the issue report as a test in the BQSKit repo?

Done, now there is a test test_deterministic_gate_ordering that checks the same order is preserved.

dakk commented 1 year ago

@edyounis let me know if I need to do some other edits to this