The objective of this PR is to solve some issues with the cuStateVec simulator, which were appearing in PRs #55 and #58. The intention is that this PR is merged first, then the latter two updated accordingly.
This PR does the following changes:
Updated calls to cuStateVec to match new API from cuStateVec 1.6.0 (duplicates approach from #58).
Added some more bindings to cuStateVec (duplicates approach from #58)
Adds a reset method to cuStateVec (corrected from #58)
Adds a bugfix on RYY gate (commit cherry-picked from #55)
Refactors self.vector so that it returns a numpy array for easier integration and testing (duplicates approach from #55)
Tests passing on NVIDIA GPUs using cuQuantum 24.03 (and cuStateVec 1.6.0).
The objective of this PR is to solve some issues with the cuStateVec simulator, which were appearing in PRs #55 and #58. The intention is that this PR is merged first, then the latter two updated accordingly.
This PR does the following changes:
self.vector
so that it returns anumpy
array for easier integration and testing (duplicates approach from #55)Tests passing on NVIDIA GPUs using cuQuantum 24.03 (and cuStateVec 1.6.0).