quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.23k stars 1.01k forks source link

Send circuits to Quantum Engine in batches #2226

Closed kevinsung closed 4 years ago

kevinsung commented 4 years ago

Each call to Quantum Engine incurs a large overhead in network latency. Currently the only way to batch jobs (and hence reduce this overhead) is to use parameter sweeps. However, it is well known that parameter sweeps have serious limitations, such as the inability of many circuit optimizers to handle parameters. It would be very useful to be able to send non-parameterized circuits in batches too.

@dabacon

dstrain115 commented 4 years ago

This is now completed. See https://cirq.readthedocs.io/en/latest/google/engine.html#running-circuits-in-batch for details.

dabacon commented 4 years ago

3135 for follow up thoughts on the interface