cuda-quantum icon indicating copy to clipboard operation
cuda-quantum copied to clipboard

Add support for random seed in tensornet and tensornet-mps backends

Open 1tnguyen opened this issue 1 year ago • 1 comments

Currently, these 2 backends don't support random seed since cutensornetsamplersample is using a random default seed.

When cutensornetsamplersample allows resetting the seed to a user-defined value, we need to update the backends to support cudaq::set_random_seed.

Enable these tests once this issue is fixed (PR #863): https://github.com/NVIDIA/cuda-quantum/blob/6edf1cdb6081d52075dc04fabc3973b3a0fae04a/unittests/integration/ghz_nisq_tester.cpp#L97

1tnguyen avatar Nov 09 '23 19:11 1tnguyen