Skip to content

Commit

Permalink
Merge pull request #105 from BoxiLi/update_scheduler
Browse files Browse the repository at this point in the history
Improve the scheduling algorithm

- Improve the readability of the scheduling algorithm.
- Add more commutation rules, such as CNOT and X on the targets, CNOT and Z on the control.

Most of the changes in the test file are just because of black styling.
  • Loading branch information
BoxiLi committed Nov 20, 2021
2 parents 54ab065 + 95fb8c2 commit d319fb4
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 253 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}

0 comments on commit d319fb4

Please sign in to comment.