You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have received requests from users to allow them to change the default scratch_fraction and attributes from GeneralState's sample, see code (and get_statevector) via the interface of CuTensorNetShotsBackend (and CuTensorNetStateBackend).
The text was updated successfully, but these errors were encountered:
# Description
- Solves the issue below, allowing users to provide attributes from the
cuTensorNet enums.
- Adds a check in `sample` from `GeneralState` to raise an exception if
the circuit has no measurements.
- Small changes:
- Default `scratch_fraction` is now 0.75
- Set the default logging level of `GeneralState` to WARNING (less
verbose than INFO)
# Related issues
Solves #144
# Checklist
- [x] I have run the tests on a device with GPUs.
- [x] I have performed a self-review of my code.
- [ ] I have commented hard-to-understand parts of my code.
- [x] I have made corresponding changes to the public API documentation.
- [x] I have added tests that prove my fix is effective or that my
feature works.
- [x] I have updated the changelog with any user-facing changes.
We have received requests from users to allow them to change the default
scratch_fraction
andattributes
fromGeneralState
'ssample
, see code (andget_statevector
) via the interface ofCuTensorNetShotsBackend
(andCuTensorNetStateBackend
).The text was updated successfully, but these errors were encountered: