XanaduAI / QHack2022

QHack—The one-of-a-kind quantum computing hackathon
https://qhack.ai
88 stars 124 forks source link

Extending Adaptive Methods for Finding an Optimal Circuit Ansatze in VQE Optimization #65

Closed camponogaraviera closed 2 years ago

camponogaraviera commented 2 years ago

Title

Extending Adaptive Methods for Finding an Optimal Circuit Ansatze in VQE Optimization

Team Name:

Hackeinberg.

Project Description:

Most widely considered hardware-efficient and Chemistry-inspired ansatze, although generic, suffer from either barren plateaus [1] or inconsistency under low-order trotterization steps [2], respectively. To circumvent this drawback, adaptive circuits have already been implemented in the literature [3] [4]. We propose to extend the existing methods applied to the hybrid quantum-classical VQE [5] algorithm under a case study on the ground state of the LiH molecule. To this end, the Qamuy SDK will be leveraged with seamless integration with another framework of choice (PennyLane, Qiskit, Cirq...). Here, we propose and demonstrate an approach to find the best gate arrangement for a circuit ansatz according to an optimization method satisfying the following constraints/features for a good circuit Ansatz:

  1. Coherence friendly: the circuit must be shallow, i.e, have a small number of layers in order to be computed during a time window smaller than the decoherence time.
  2. Hardware friendly (qubit routing): gate coupling allowed only between nearest-neighbor qubits to avoid SWAP gates during qubit routing (mapping from the circuit diagram to a hardware topology).
  3. Small number of hyperparameters: we seek the minimum amount of angles to be optimized in order to avoid classical optimization overhead (when classical computation becomes too expensive).

Finally, we benchmark our results against the standard UCCSD ansatz approach.

Source code:

GitHub.

Resource Estimate:

We leverage the Qamuy SDK cloud computing.

Challenges:

Team Members:

Developed by @camponogaraviera and @zemarchezi.

References

[1] McClean, J.R., Boixo, S., Smelyanskiy, V.N. et al. Barren plateaus in quantum neural network training landscapes. Nat Commun 9, 4812 (2018).

[2] Grimsley, H. R.; Claudino, D.; Economou, S. E.; Barnes, E.; Mayhall, N. J. Is the trotterized uccsd ansatz chemically well-defined? J. Chem. Theory Comput. 2020, 16, 1.

[3] Harper R. Grimsley, Sophia E. Economou, Edwin Barnes, Nicholas J. Mayhall, “An adaptive variational algorithm for exact molecular simulations on a quantum computer”. Nat. Commun. 2019, 10, 3007.

[4] PennyLane dev team, "Adaptive circuits for quantum chemistry". PennyLane, 13 September 2021.

[5] Peruzzo, A., McClean, J., Shadbolt, P. et al. A variational eigenvalue solver on a photonic quantum processor. Nat Commun 5, 4213 (2014).

isaacdevlugt commented 2 years ago

Thank you for your Power Up submission! As a reminder, the final deadline for your project is February 25 at 17h00 EST. Submissions should be done here: https://github.com/XanaduAI/QHack/issues/new?assignees=&labels=&template=open_hackathon.md&title=%5BENTRY%5D+Your+Project+Title

This issue will be closed shortly.

Good luck!