Evaluating analytic gradients on quantum hardware

Autor: Schuld, Maria, Bergholm, Ville, Gogolin, Christian, Izaac, Josh, Killoran, Nathan
Rok vydání: 2018
Předmět:
Zdroj: Phys. Rev. A 99, 032331 (2019)
Druh dokumentu: Working Paper
DOI: 10.1103/PhysRevA.99.032331
Popis: An important application for near-term quantum computing lies in optimization tasks, with applications ranging from quantum chemistry and drug discovery to machine learning. In many settings --- most prominently in so-called parametrized or variational algorithms --- the objective function is a result of hybrid quantum-classical processing. To optimize the objective, it is useful to have access to exact gradients of quantum circuits with respect to gate parameters. This paper shows how gradients of expectation values of quantum measurements can be estimated using the same, or almost the same, architecture that executes the original circuit. It generalizes previous results for qubit-based platforms, and proposes recipes for the computation of gradients of continuous-variable circuits. Interestingly, in many important instances it is sufficient to run the original quantum circuit twice while shifting a single gate parameter to obtain the corresponding component of the gradient. More general cases can be solved by conditioning a single gate on an ancilla.
Databáze: arXiv