Git Product home page Git Product logo

obsidianhydra / variational-quantum-eigensolver-implemented-on-a-1d-quantum-harmonic-oscillator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.64 MB

Scripts and walkthrough Notebook of my undergraduate thesis entitled "Variational Quantum Eigensolver Implemented on a 1D Quantum Harmonic Oscillator"

License: Other

Jupyter Notebook 94.68% Python 5.32%
nelder-mead-algorithm qiskit quantum-computing variational-quantum-eigensolver hybrid-quantum-classical-algorithms

variational-quantum-eigensolver-implemented-on-a-1d-quantum-harmonic-oscillator's Introduction

Variational Quantum Eigensolver (VQE) Implemented on a 1D Quantum Harmonic Oscillator

Contents

  1. core functions for VQE
  2. scripts for implementing core functions
  3. walkthrough notebook

Abstract

The rise in development of quantum computing technologies throughout recent years has heralded the Noisy Intermediate Scale Quantum (NISQ) era, wherein the limited available number of qubits prevents fault-tolerant error correction and limits possible applications. Hybrid algorithms involving conventional and quantum resources are often employed so as to make the most out of current architectures. We investigate a particular hybrid NISQ algorithm known as the Variational Quantum Eigensolver (VQE) and use it to solve the ground state energy of the 1 dimensional quantum harmonic oscillator (1D QHO). The Hamiltonians for the 1D QHO are constructed in the position basis using discrete versions of the position and momentum operator, and in the energy basis using discrete ladder operators. We then decompose the Hamiltonians into a sum of tensor products of Identity and Pauli matrices, known as Pauli strings, that are suitable for measurement on a quantum computer. The Pauli strings are measured using a 2-qubit hardware efficient ansatz, a universal 2-qubit ansatz and a 4-qubit ansatz and the expectation values are variationally minimized using the Nelder-Mead optimization algorithm. The results show that the cost functions were minimized for the Hamiltonians constructed in both basis except on the 4-qubit ansatz where the position basis Hamiltonian struggled to converge. The minimization of the expectation values are affected by each component of the VQE pipeline, such as the size of the system being studied, the expressiveness and trainability of the chosen ansatz, and the chosen optimization algorithm.

PACS: 03.67.Lx Quantum computation architectures and implementations, 03.65.Aa Quantum systems with finite Hilbert space, 03.65.-w Quantum mechanics

variational-quantum-eigensolver-implemented-on-a-1d-quantum-harmonic-oscillator's People

Contributors

obsidianhydra avatar hydroforth avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.