Skip to content

Commit 3fff2d9

Browse files
daehiffy-richie-y
andauthored
Psgs integration (#32)
* Basic setup * Integrate utility for paulipolynomials * Add logic representing pauli polynomials * Cleanup of toplevel files * Create basic infrastructure for synthesis algorithms * Test basic infrastructure * Add in most relevant synthesis algorithms * Smaller fixes * Adds in X, Y and Z to preprend of a tableau Signed-off-by: David Winderl <winderl13@gmail.com> * Note the clifford application on gates rather than on a tableau * Use propagation rules for propagating a pauli into a clifford * Reformat pauliopt * Fix PR Signed-off-by: David Winderl <winderl13@gmail.com> Removes append_pauli gadegt must me -> must be Change type to float constructor Signed-off-by: David Winderl <winderl13@gmail.com> Clifford clifford -> Clifford Tableau Signed-off-by: David Winderl <winderl13@gmail.com> Removes redundant if condition Signed-off-by: David Winderl <winderl13@gmail.com> Fix unit tests and pipeline Signed-off-by: David Winderl <winderl13@gmail.com> Fix tests Signed-off-by: David Winderl <winderl13@gmail.com> * Remove python 3.9 and add in 3.10, 3.11 and 3.12 Signed-off-by: David Winderl <winderl13@gmail.com> * Small change * Fix PR --------- Signed-off-by: David Winderl <winderl13@gmail.com> Co-authored-by: Richie Yeung <richie.yeung1@gmail.com>
1 parent 6798e19 commit 3fff2d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3011
-26825
lines changed

.github/workflows/build_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ on:
1111
jobs:
1212
lint:
1313
runs-on: ubuntu-latest
14+
continue-on-error: true
1415
strategy:
16+
fail-fast: false
1517
matrix:
16-
python-version: [ "3.9", "3.10" ]
18+
python-version: [ "3.10", "3.11", "3.12" ]
1719
outputs:
1820
error-check: ${{ steps.error-check.conclusion }}
1921
steps:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ ipython_config.py
8383

8484
# pyenv
8585
.python-version
86+
.python-base-version
8687

8788
# pipenv
8889
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -131,3 +132,4 @@ dmypy.json
131132

132133
.vscode
133134
.DS_Store
135+
.idea

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
clean_setup:
2+
pyenv virtualenv-delete -f $(shell cat .python-version)
3+
pyenv virtualenv $(shell cat .python-base-version) $(shell cat .python-version)
4+
#make setup
5+
setup:
6+
pip install -r requirements-dev.txt
7+
run_tests:
8+
python -m unittest discover -s ./tests/ -p "test_*.py"
9+
upgrade_dependencies:
10+
pip-compile --allow-unsafe --no-annotate requirements-dev.in --upgrade
11+
pip-compile --allow-unsafe --no-annotate requirements.in --upgrade

docs/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)