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

Rust code #91

Merged
merged 20 commits into from
Dec 9, 2024
Merged

Rust code #91

merged 20 commits into from
Dec 9, 2024

Conversation

ciaranra
Copy link
Member

@ciaranra ciaranra commented Dec 2, 2024

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.

@ciaranra ciaranra added the enhancement New feature or request label Dec 2, 2024
Copy link
Collaborator

@qartik qartik left a 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 Show resolved Hide resolved
dev_steps.md Outdated

4. Build the project in editable mode
```sh
make build
Copy link
Collaborator

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.

Copy link
Member Author

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!

dev_steps.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
development.md Outdated Show resolved Hide resolved
@ciaranra ciaranra merged commit d3787c4 into development Dec 9, 2024
24 checks passed
@ciaranra ciaranra deleted the feat-rust branch December 9, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants