Giter Club home page Giter Club logo

mqite's Introduction

This repository contains modules and codes that are developed based on MQITE algorithm introduced in https://arxiv.org/abs/2208.10535v1

The program has the following main packages:

  • Amplitude: contains the class Amplitude that runs a circuit U^+QU|0> on a quasm simulator, and computes the amplitudes {|c_j|}.

  • Phase: contains the class Phase which uses and Amplitude object to construct additional circuit (Appendix B) and computes the real and imaginary parts of every observed c_j from Amplitude. It also translates c_j into parameter (y_j).

  • UpdateCircuit: uses the computed c_j (real, imaginary) to update circuit. This is done by creating a layer of gates and adding them to the start of the current circuit instruction.

  • BasicFunctions: contains some trivial and toolkit functions that are used in the body of other main classes

  • MultiQubitGate: is the core class/functions that translate e^{\sum_j y_j P_j} into one- and two-qubit gates. See Appendix A for detail.

  • Benchmarks: contains classes that use the amplitude and phase instances to test and measure certain metrics, or benchmark against state vector.

  • Problems: example problems that can be used to test the algorithm.

  • Observables: A class that uses the current state of the circuit to calculate the expectaion of an observable. Current implementation uses state vector.

The main entry is SimulateMQITE. This folder contains one possible implementation of MQITE Algorithm (fig.1 in https://arxiv.org/abs/2208.10535v1) For start, you may want to run the SimulateMQITE/Tests/ising_model.py which is a test application.

mqite's People

Contributors

quantumjim 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.