1
$\begingroup$

In QuantumInstance there are max_parallel_threads, max_parallel_experiments in BACKEND_OPTIONS - Wondering whether the backend I am using supports parallel-threads or experiments and how to use this features? How do I find out whether my backend supports this?

$\endgroup$
1
$\begingroup$

I don't think there is a programmatically way to know the backend_options supported by each backend. I always check the documentation on each backend to see what are the options. For example for UnitarySimulator, these are the backend options https://qiskit.org/documentation/stubs/qiskit.providers.aer.UnitarySimulator.html?highlight=backend_options

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ well, you can check the options the backend supports using something like backend.configuration().max_experiments for the backend you are using. However, I could not find a way to set the above options. $\endgroup$ – Amitava Chakraborty Oct 11 at 20:19
  • 1
    $\begingroup$ It's a fair point. I'll submit a feature request. $\endgroup$ – luciano Oct 11 at 21:38
  • 1
    $\begingroup$ github.com/Qiskit/qiskit-terra/issues/5208 $\endgroup$ – luciano Oct 11 at 23:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.