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

Write tests to ensure simulators support gates listed in the PHIR spec #32

Open
qciaran opened this issue Dec 12, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@qciaran
Copy link
Collaborator

qciaran commented Dec 12, 2023

Write tests to ensure that simulators support all the gates possible in the PHIR spec (https://github.com/CQCL/phir/blob/main/spec.md). Some simulators will only be able to support a subset, e.g., stabilizer sims. Make this as explicit as possible.

Also, verify the gates performed the operations as expected.

@qciaran qciaran added the enhancement New feature or request label Dec 12, 2023
@PabloAndresCQ
Copy link
Collaborator

PR #55 is meant to partially address this (for testing statevector simulators). Currently it's only testing CuStateVec against a reference basic implementation using numpy, but we could easily add more simulators to the tests.

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

No branches or pull requests

2 participants