NVIDIA / cuda-quantum

C++ and Python support for the CUDA Quantum programming model for heterogeneous quantum-classical workflows
https://nvidia.github.io/cuda-quantum/
Other
486 stars 179 forks source link

Add Clifford-only simulator (Stim) #2193

Closed bmhowe23 closed 2 weeks ago

bmhowe23 commented 3 weeks ago

Add https://github.com/quantumlib/Stim (v1.13.0) simulator for Clifford-only circuits.

The user requests it like other targets: --target stim and cudaq.set_target('stim').

github-actions[bot] commented 3 weeks ago

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions[bot] commented 3 weeks ago

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions[bot] commented 2 weeks ago

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

bmhowe23 commented 2 weeks ago

These changes look great! Thanks, Ben. I don't see any new tests... It seems all of the C++ tests will be run except the ones which are skipped with #ifndef CUDAQ_BACKEND_STIM. What about Python - may be we should add a couple which showcase which gates are supported and behavior on unsupported gates.

Thanks for the suggestion, Pradnya. I added some Stim-specific backend tests in 20343fd07. Please take a look and let me know if that's what you had in mind, or if you'd like to see something else, too.

github-actions[bot] commented 2 weeks ago

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions[bot] commented 2 weeks ago

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions[bot] commented 2 weeks ago

CUDA Quantum Docs Bot: A preview of the documentation can be found here.