-
Notifications
You must be signed in to change notification settings - Fork 7
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
PyPECOS #53
Closed
Closed
PyPECOS #53
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Added .sim_name to QOps. Added angle info to QOp.angle * Added code to identify Clifford gates from more general gates * Added conversion to Clifford support for RZ , RZZ, and R1XY * Tweaking generic machine to clear state * Add test of operation type before running qsims. * Initial SLR files * adding back "maturin" branch + recent updates * Adding physical gates needed to build up circuits. * Shifting it back from pypecos/ to python/ for now. * Adding more crate stubs * Moving Cython/Cpp out to own dirs * ruff/black reformatting * rs cointoss sim + workspace tweak * pyproject cleanup * Initial Cython compilation. * Rust linting + linting reqs * reformatting/liniting * Moved sim code to sim.rs for pyo3pecos * switched from pecos-pyo3 to pyo3pecos * Fix pyo3pecos import issue. * Preventing ruff issue with using local import for pyo3pecos * restructure cpp/ and remove unneeded .gitignores * pecos-cli stub * getting cysparsesim to compile with cpp seperated * Adding general Instr type and list types * Adding slr code * Updated linting/formatting * Updating lint/formatting * Add some Makefiles * fix github workflow requirements * fix github workflow python installation directory * fix github workflow fix python test directory * bump python action from v4 to v5 * Cleaning up cython and improving makefile clean * Got cypecos to install correctly. * Moving slr down to reduce nesting * Black update * Move cysparsesim to cypecos.cysparsesim * Fixing linting/formating * Moving linting/formatting settings to root * Cleaning up makefiles, pyroject files, etc. * Moving ruff settings to fix mac issue * Simplifying black settings * Simplifying ruff settings * Simplifying ruff settings for cython * Removing tool.ruff * attempting full ruff root simplification again * Updating ruff pre-commit * ruff fix for WIndows & Mac * Fix weird ruff formatting * First attempt at building cpp sparsesim with Rust * Improve makefile build and test + added __version__ to __all__ * fix slr __version__ * Creating a slr.std folder to hold common extension to core to the DSL * Updating makefile to make cleaning less drastic * Fix slr import issue. * maturin workflow * Including build requirement * Moving building wheels before pytest * Simplier maturin workflow * Adding py 3.11 and 3.12 to workflow. * Adding pre-commit checks to the workflow * Adding running pytest to linux workflow * Setting up a venv for maturin in linux workflow * Making the venv persistent in linux workflow * Isolating the venv for testing. * Reusing built wheel for test purposes. * Have venv install wheel of the correct python version. * Run pytest according to maturin * Using the original linux workflow from maturin * Adding debug info to check linux pytest workflow * For pip to not look in pypi * fix pip typo * Force specific wheel to install * Forcing install of wheel for other linux versions * Refining workflow for linux aarch64 * Adding additional build requirements for ppc64le * Refinements of using prebuilt packages for linux workflow * Simplifying workflow * opening up available archs * Restricting Linux version to most common systems. * fixing action typo * Add pytest to Windows workflow * Attempting to use prebuilt binaries for Windows pytest workflow * Adding pytest for macos workflow * Adding optional_dependency tests for linux workflow * Adding pytest optional_dependency to other OS workflows * Adding py3.11, py3.12 and running pre-commits for Linux workflow. * Reverses different python version for Linux * Adding different python version to linux workflow again * Adding pypi submission workflow job * Fixing std import * Adding in duration for MOps in PyPMIR * Polishing makefile to work with Windows * Comment out rust+cpp build for now --------- Co-authored-by: Ciaran Ryan-Anderson <[email protected]>
This is essentially the old version of PR #77 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Restructures the project