cuQuantum icon indicating copy to clipboard operation
cuQuantum copied to clipboard

Support user defined seed in `cutensornetSamplerSample` and `sampler_sample`

Open PabloAndresCQ opened this issue 1 year ago • 1 comments

There's a note in the docs of cutensornetSamplerSample, indicating that currently there is no support for user-defined RNG seeds. This is an important feature for debugging purposes in quantum experiments. Will this be included in the next release?

PabloAndresCQ avatar Jun 27 '24 09:06 PabloAndresCQ

We are working on adding a custom random seed, please stay tuned.

DmitryLyakh avatar Jul 01 '24 17:07 DmitryLyakh

In the latest cuTensorNet v2.5.0, we have added new enum entry CUTENSORNET_SAMPLER_CONFIG_DETERMINISTICE under cutensornetSamplerAttributes. Please refer to the documentation here.

Meanwhile, we have released a python tensor network simulator with sampling capability under the experimental module and seed is supported in the compute_sampling method. Please check out our documentation here and your feedback on our simulator APIs are more than welcome.

yangcal avatar Aug 19 '24 16:08 yangcal