This PR provides more extensions to the compiler class and its APIs, as well as new compiler passes consistent with the old pass sequence, but called independently in a sequence programmed by the user. For illustration purposes, see the newly added test in tests/test_modularity.py.
Please note that the PR does not build correctly because:
Although individually the modularity test compiles correctly, in the regression testing something goes wrong. This might be related to an option, so I will investigate that.
Previous commits introduced additional errors:
Commit: Renamed cc_light_schedule_rc to cc_light_sche.. ==> introduced a bug in test_bugs.py, second function + 7 bugs in test_unitary.py
Commit: Updated program.compile() method so that call ==> introduced a bug in test_hybrid.py, first function
For both the error reported is [OPENQL] ../OpenQL/src/ir.h:141 Error: Error: circuit not ordered by cycle value
Finally, after putting back the unitary decomposition I noticed many tests fail due to "Error : Not supported scheduler options combination: scheduler=ASAP and scheduler_uniform=yes". This should be investigated.
This PR provides more extensions to the compiler class and its APIs, as well as new compiler passes consistent with the old pass sequence, but called independently in a sequence programmed by the user. For illustration purposes, see the newly added test in tests/test_modularity.py.
Please note that the PR does not build correctly because:
Previous commits introduced additional errors:
For both the error reported is [OPENQL] ../OpenQL/src/ir.h:141 Error: Error: circuit not ordered by cycle value