-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support running Qiskit jobs with multiple circuits #138
Comments
Thanks @l45k! Improved batching support is definitely something we're looking at for PennyLane. Currently, we have the batch_execute() method added to QubitDevice. Devices that inherit from this can override this method to take advantage of their own batching capabilities, with the Braket device being one example. At the moment, For the PennyLane-Qiskit plugin, |
Hey @trbromley, I will give implementing the 'batch_execute()' in PennyLane_Qiskit a try. I keep you updated. |
Hi @l45k, as @trbromley mentions, we are planning to extend In the meantime, the method Currently |
Hi @l45k, we have this issue on our radar. Would just be curious to check in if you have any further insights here? |
Qiskit supports to submit multiple circuits combined to one job. All circuits in the job are computed as a batch, which reduces the waiting time in the queue. This can be used for computing gradients as well as a batch of inputs for a circuit, for eample when using a KerasLayer.
I would like to call the qnode with a list of inputs that which result in one job send to the qiskit device. The same can be done for computing gradients. In my oppinion, this would also require to change the behavior of the KerasLayer to provide a batch computation method.
The text was updated successfully, but these errors were encountered: