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
MarcoBarroca
changed the title
SimulatorV2 will not adhere to options dictionary passed.
SamplerV2 will not adhere to options dictionary passed.
Oct 2, 2024
Informations
What is the current behavior?
When using
SamplerV2
and passing an options dictionary like so:Options are not being passed to the sampler object. They can be checked with
Currently, options need to be manually set using
sampler._backend.set_options(method='statevector',device="GPU")
after the object is created.Steps to reproduce the problem
The code above should reproduce it.
What is the expected behavior?
Options should be passed to the sampler object instead of requiring the user to set options manually afterward.
Suggested solutions
Unsure what is causing the issue.
The text was updated successfully, but these errors were encountered: