PECOS-packages / PECOS

A Python framework, library, and set of tools for exploring, developing, and evaluating quantum error-correction protocols.
Other
29 stars 6 forks source link

Rust code #77

Open ciaranra opened 2 months ago

ciaranra commented 2 months ago

Including Rust code for stabilizer simulator.

TODO:

peter-campora commented 1 month ago

Oh boy CRA, this is a monster PR. I think it would help if you have some examples of the kinds of tests you would like the PR reviewers to run on this

ciaranra commented 1 month ago

Hehe, yeah it is a monster. Let me single out some smaller stuff for people to maybe concentrate on if they want to...

ciaranra commented 1 month ago

If you are up for reviewing this monster of a PR, here are some things that you can take a look at:

ciaranra commented 1 month ago

New TODO:

ciaranra commented 1 month ago

Mostly just tried to work through the development section of the README.

make test-all gave me:

======== short test summary info ========
FAILED docs/api_guide/circuit_runners.rst::circuit_runners.rst
FAILED docs/api_guide/decoders.rst::decoders.rst
FAILED docs/api_guide/error_generators.rst::error_generators.rst
FAILED docs/api_guide/qeccs.rst::qeccs.rst
FAILED docs/api_guide/simulators.rst::simulators.rst
FAILED docs/examples/creating_qecc_class.rst::creating_qecc_class.rst
FAILED docs/examples/stab_code_verification.rst::stab_code_verification.rst
======== 7 failed, 2 passed, 1 warning in 0.82s ========

This should be resolved now. Just removing doc tests for now.

ciaranra commented 1 month ago

Alright, @qartik & @peter-campora. I have updated the makefile to make the .venv more of a "first class citizen" and updated the README appropriately (hopefully). Let me know if you still have issues.

I still need to figure out what is going on with this:

-pecos-rslib==0.6.0.dev6 +pecos-rslib==version = 0.6.0.dev6