Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Rust #51

Merged
merged 112 commits into from
Feb 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
9f2574e
Added .sim_name to QOps. Added angle info to QOp.angle
ciaranra Dec 13, 2023
9fd0b41
Added code to identify Clifford gates from more general gates
ciaranra Dec 14, 2023
295224f
Added conversion to Clifford support for RZ , RZZ, and R1XY
ciaranra Dec 15, 2023
a495096
Merge branch 'development' into add-resolved-name
ciaranra Dec 18, 2023
8900213
Merge branch 'development' into add-resolved-name
ciaranra Jan 5, 2024
a872287
Tweaking generic machine to clear state
ciaranra Jan 19, 2024
a0e9f6f
Merge branch 'development' into add-resolved-name
ciaranra Jan 19, 2024
9a7d58e
Add test of operation type before running qsims.
ciaranra Jan 27, 2024
2e55368
Merge branch 'development' into add-resolved-name
ciaranra Feb 1, 2024
77fd795
Initial SLR files
ciaranra Feb 9, 2024
2a61f1a
adding back "maturin" branch + recent updates
ciaranra Feb 9, 2024
060f733
Adding physical gates needed to build up circuits.
ciaranra Feb 9, 2024
69edf40
Merge branch 'slr' into rust
ciaranra Feb 9, 2024
a921738
Merge branch 'development' into add-resolved-name
ciaranra Feb 9, 2024
1e0576a
Merge branch 'development' into rust
ciaranra Feb 9, 2024
d232654
Shifting it back from pypecos/ to python/ for now.
ciaranra Feb 9, 2024
638cf53
Adding more crate stubs
ciaranra Feb 9, 2024
8833bb1
Moving Cython/Cpp out to own dirs
ciaranra Feb 10, 2024
26c4e90
ruff/black reformatting
ciaranra Feb 10, 2024
694453f
rs cointoss sim + workspace tweak
ciaranra Feb 10, 2024
b5cf649
pyproject cleanup
ciaranra Feb 10, 2024
0e3c5d3
Initial Cython compilation.
ciaranra Feb 11, 2024
987238c
Rust linting + linting reqs
ciaranra Feb 11, 2024
a04b674
reformatting/liniting
ciaranra Feb 11, 2024
bf5699e
Moved sim code to sim.rs for pyo3pecos
ciaranra Feb 11, 2024
2735786
switched from pecos-pyo3 to pyo3pecos
ciaranra Feb 11, 2024
e2015e8
Fix pyo3pecos import issue.
ciaranra Feb 11, 2024
a5928b3
Preventing ruff issue with using local import for pyo3pecos
ciaranra Feb 11, 2024
dc06d0d
restructure cpp/ and remove unneeded .gitignores
ciaranra Feb 11, 2024
93db17e
pecos-cli stub
ciaranra Feb 11, 2024
8314dd1
getting cysparsesim to compile with cpp seperated
ciaranra Feb 12, 2024
bbf82fd
Adding general Instr type and list types
ciaranra Feb 13, 2024
619f122
Adding slr code
ciaranra Feb 14, 2024
80be342
Updated linting/formatting
ciaranra Feb 14, 2024
641ce38
Updating lint/formatting
ciaranra Feb 14, 2024
c52df0d
Add some Makefiles
ciaranra Feb 14, 2024
7765d74
fix github workflow requirements
ciaranra Feb 14, 2024
a65283d
fix github workflow python installation directory
ciaranra Feb 14, 2024
b2ae27e
fix github workflow fix python test directory
ciaranra Feb 14, 2024
28b51a2
bump python action from v4 to v5
ciaranra Feb 14, 2024
2aa7f11
Cleaning up cython and improving makefile clean
ciaranra Feb 15, 2024
e339aad
Got cypecos to install correctly.
ciaranra Feb 15, 2024
5b4b6ed
Moving slr down to reduce nesting
ciaranra Feb 15, 2024
a7f414e
Merge branch 'feat-hybrid-noise-fix' into rust
ciaranra Feb 16, 2024
471f41f
Merge branch 'rust' into slr
ciaranra Feb 16, 2024
4728cb3
Merge branch 'slr' into rust
ciaranra Feb 16, 2024
3715af4
Merge remote-tracking branch 'origin/add-resolved-name' into rust
ciaranra Feb 16, 2024
697b15c
Black update
ciaranra Feb 16, 2024
25da149
Move cysparsesim to cypecos.cysparsesim
ciaranra Feb 16, 2024
1d6fa1c
Fixing linting/formating
ciaranra Feb 17, 2024
36ea3a6
Moving linting/formatting settings to root
ciaranra Feb 17, 2024
2b24532
Cleaning up makefiles, pyroject files, etc.
ciaranra Feb 17, 2024
870dfe3
Moving ruff settings to fix mac issue
ciaranra Feb 17, 2024
e5ea7f3
Simplifying black settings
ciaranra Feb 17, 2024
9c497f4
Simplifying ruff settings
ciaranra Feb 17, 2024
b6847a6
Simplifying ruff settings for cython
ciaranra Feb 17, 2024
a653e27
Removing tool.ruff
ciaranra Feb 17, 2024
41766de
attempting full ruff root simplification again
ciaranra Feb 18, 2024
33ac846
Updating ruff pre-commit
ciaranra Feb 18, 2024
be125e3
ruff fix for WIndows & Mac
ciaranra Feb 18, 2024
4f3822c
Fix weird ruff formatting
ciaranra Feb 18, 2024
1c2450c
First attempt at building cpp sparsesim with Rust
ciaranra Feb 18, 2024
3df880d
Improve makefile build and test + added __version__ to __all__
ciaranra Feb 19, 2024
19349c9
fix slr __version__
ciaranra Feb 19, 2024
abf7b00
Merge branch 'feat-hybrid-noise-fix' into slr
ciaranra Feb 19, 2024
fe198f3
Merge branch 'add-resolved-name' into slr
ciaranra Feb 19, 2024
cce2cd6
Creating a slr.std folder to hold common extension to core to the DSL
ciaranra Feb 21, 2024
00590d4
Merge branch 'slr' into rust
ciaranra Feb 21, 2024
56394b8
Updating makefile to make cleaning less drastic
ciaranra Feb 21, 2024
a26e00a
Fix slr import issue.
ciaranra Feb 21, 2024
e4c3fa5
maturin workflow
ciaranra Feb 21, 2024
ef36c79
Including build requirement
ciaranra Feb 21, 2024
7fc1b2a
Moving building wheels before pytest
ciaranra Feb 21, 2024
cb8d4ee
Simplier maturin workflow
ciaranra Feb 21, 2024
a2f5850
Adding py 3.11 and 3.12 to workflow.
ciaranra Feb 21, 2024
e5b0d12
Adding pre-commit checks to the workflow
ciaranra Feb 21, 2024
f14913f
Adding running pytest to linux workflow
ciaranra Feb 21, 2024
5e64cae
Setting up a venv for maturin in linux workflow
ciaranra Feb 21, 2024
ec6e97d
Making the venv persistent in linux workflow
ciaranra Feb 21, 2024
58ef0f1
Isolating the venv for testing.
ciaranra Feb 21, 2024
f8658dc
Reusing built wheel for test purposes.
ciaranra Feb 21, 2024
6b1cb71
Have venv install wheel of the correct python version.
ciaranra Feb 21, 2024
209940b
Run pytest according to maturin
ciaranra Feb 21, 2024
ac2e254
Using the original linux workflow from maturin
ciaranra Feb 21, 2024
7b3503c
Adding debug info to check linux pytest workflow
ciaranra Feb 22, 2024
50fb547
For pip to not look in pypi
ciaranra Feb 22, 2024
d7d634d
fix pip typo
ciaranra Feb 22, 2024
e93f697
Force specific wheel to install
ciaranra Feb 22, 2024
5cc8af1
Forcing install of wheel for other linux versions
ciaranra Feb 22, 2024
695db1e
Refining workflow for linux aarch64
ciaranra Feb 22, 2024
64cf5bc
Adding additional build requirements for ppc64le
ciaranra Feb 22, 2024
fad34c5
Refinements of using prebuilt packages for linux workflow
ciaranra Feb 22, 2024
48b64a9
Simplifying workflow
ciaranra Feb 22, 2024
813f645
opening up available archs
ciaranra Feb 22, 2024
4f3d73e
Restricting Linux version to most common systems.
ciaranra Feb 22, 2024
3555f69
fixing action typo
ciaranra Feb 22, 2024
5179a5f
Add pytest to Windows workflow
ciaranra Feb 22, 2024
3c325ea
Attempting to use prebuilt binaries for Windows pytest workflow
ciaranra Feb 22, 2024
f909db8
Adding pytest for macos workflow
ciaranra Feb 22, 2024
895ca65
Adding optional_dependency tests for linux workflow
ciaranra Feb 22, 2024
26fb834
Adding pytest optional_dependency to other OS workflows
ciaranra Feb 22, 2024
06a2275
Adding py3.11, py3.12 and running pre-commits for Linux workflow.
ciaranra Feb 22, 2024
8f21a82
Reverses different python version for Linux
ciaranra Feb 22, 2024
b915a03
Adding different python version to linux workflow again
ciaranra Feb 22, 2024
b5743dc
Adding pypi submission workflow job
ciaranra Feb 22, 2024
c7cbb65
Merge branch 'rust' into rustycpp
ciaranra Feb 22, 2024
3104bde
Fixing std import
ciaranra Feb 22, 2024
d960f93
Adding in duration for MOps in PyPMIR
ciaranra Feb 27, 2024
72a1b43
Merge branch 'slr' into rust
ciaranra Feb 22, 2024
8250652
Polishing makefile to work with Windows
ciaranra Feb 27, 2024
562e319
Merge branch 'rustycpp' into rust
ciaranra Feb 22, 2024
e77e1d4
Comment out rust+cpp build for now
ciaranra Feb 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Shifting it back from pypecos/ to python/ for now.
ciaranra committed Feb 9, 2024
commit d23265473c63eb822e0b0217f9e9fd1848c3db49
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
resolver = "2"
members = [
"crates/*",
"pypecos",
"python",
]
default-members = [
"crates/*",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/api_guide/index.doctree
Binary file not shown.
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/api_guide/qeccs.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/api_guide/tools.doctree
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/bibliography.doctree
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/change_log.doctree
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/examples/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/install.doctree
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/reference/index.doctree
Binary file not shown.
Binary file removed pypecos/docs/_build/doctrees/todo_list.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions pypecos/docs/_build/html/.buildinfo

This file was deleted.

Empty file removed pypecos/docs/_build/html/.nojekyll
Empty file.
Binary file not shown.
100 changes: 0 additions & 100 deletions pypecos/docs/_build/html/_sources/api_guide/circuit_runners.rst.txt

This file was deleted.

35 changes: 0 additions & 35 deletions pypecos/docs/_build/html/_sources/api_guide/decoders.rst.txt

This file was deleted.

116 changes: 0 additions & 116 deletions pypecos/docs/_build/html/_sources/api_guide/error_generators.rst.txt

This file was deleted.

31 changes: 0 additions & 31 deletions pypecos/docs/_build/html/_sources/api_guide/index.rst.txt

This file was deleted.

This file was deleted.

Loading