Closed zohimchandani closed 2 months ago
Future workflows will require running on GPUs and QPUs in parallel.
I envision a workflow suggested below to allow error mitigation:
exp_vals = cudaq.observe_n_async(kernel, h, parameters, backed = 'superconducting_provider') approx_exp_vals = cudaq.observe_n_async(kernel_clifford_approximation, h, parameters, backed = 'gpu0')
Both lines should be able to run in parallel via a futures request.
This can be handled via multiple lines of code. At some point, we will need to generalize the platform definition to allow defining platforms with different processors. Until then, we will leave it as is.
Required prerequisites
Describe the feature
Future workflows will require running on GPUs and QPUs in parallel.
I envision a workflow suggested below to allow error mitigation:
Both lines should be able to run in parallel via a futures request.