-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rust code #91
Rust code #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried dev steps, seems to be working. Won't be able to do a detailed review with the size of the PR anytime soon.
dev_steps.md
Outdated
|
||
4. Build the project in editable mode | ||
```sh | ||
make build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed for me with:
INFO: pip is looking at multiple versions of quantum-pecos[simulators] to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement pyquest>=0.0.1; extra == "simulators" (from quantum-pecos[simulators]) (from versions: none)
ERROR: No matching distribution found for pyquest>=0.0.1; extra == "simulators"
I believe this was because I was on Python 3.13 at the time. Worked after switching to 3.12. Perhaps pyproject.toml should exclude 3.13 if it's not supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, pyquest isn't a necessary component. Sounds like maybe I need to adjust make build
or the pyproject.toml
and re-evaluate 3.13.
Good catch. Thanks!
Co-authored-by: Kartik Singhal <[email protected]>
Co-authored-by: Kartik Singhal <[email protected]>
…default state-vector sim
A duplication of PR #77 (and essentially PR #53) due to git repo cleanup shenanigans.
This introduces a Rust version of some of the code, focused on the stabilizer simulator, and should hopefully fixed most of the issues mentioned in the reviews of PR #77.
The main concerns are the makefile, state of the Rust code, and general structure of the monolithic project.