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

Clifford Simulator #1076

Merged
merged 190 commits into from
Dec 16, 2023
Merged

Clifford Simulator #1076

merged 190 commits into from
Dec 16, 2023

Conversation

BrunoLiegiBastonLiegi
Copy link
Contributor

@BrunoLiegiBastonLiegi BrunoLiegiBastonLiegi commented Nov 6, 2023

Implementation of a clifford backend that allows to simulate clifford circuits following the tableau formalism introduced by Aaronson and Gottesman .

Checklist:

  • Reviewers confirm new code works as expected.
  • Tests are passing.
  • Coverage does not decrease.
  • Documentation is updated.

@renatomello
Copy link
Contributor

renatomello commented Nov 7, 2023

@BrunoLiegiBastonLiegi Right now pylint is raising an error on from functools import cache because cache is only from python==3.9 on. For python==3.8, lru_cache should be imported. We will probably drop python 3.8 soon, so I don't know what's the best solution here @scarrazza

@scarrazza
Copy link
Member

scarrazza commented Nov 7, 2023

Yes, please open an issue, or link to the existing one.

@renatomello
Copy link
Contributor

@alecandido this is ready for review

src/qibo/backends/clifford.py Outdated Show resolved Hide resolved
@renatomello renatomello merged commit 07d0010 into master Dec 16, 2023
19 checks passed
@renatomello renatomello deleted the clifford_simulator branch December 16, 2023 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CircuitResult does not apply bitflip noise Implementation of a Clifford simulator in the quantum_info module
5 participants