Git Product home page Git Product logo

qite's Introduction

The source (code_v4) is organized in several python files

binary_functions.py functions to convert a string of n integers modulo 2 into an integer between 0 and 2**n-1 and viceversa, eg 101 = 5 
pauli.py            functions to deal with the algebra of Pauli operators, written as integer strings modulo 4, eg 3102 = ZXIY, and to apply a Pauli operator to an element of the computational basis
hamiltonian.py      defines the Hamiltonians we studied in the QITE paper, the Heisenberg short-range, Maxcut etc, as linear combinations of Pauli operators; 
                    contains functions to apply H to a wavefunction, construct the matrix associated to the Hamiltonian in the computational basis, 
                    and compute the moments <x|H**k|x> of H on a wavefunction x
mf.py               produces the lowest-energy "symmetry-adapted" ie |psi,psi,psi,...> or "broken-symmetry", i.e. |psi1,psi2,psi3...> factorized state, 
                    to serve as starting point for the imaginary-time evolution
ite.py	            performs the imaginary-time evolution (not the QITE) in various ways:
                    it either (1) constructs the matrix associate to H in the computational basis, diagonalizes it, and applies its exponential to a wavefunction x
                    or (2) applies exp(-dt*H) to x by Taylor series
                    it also prepares the matrix elements of the Hamiltonian and overlap matrices needed by the QLanczos algorithm
qite.py             performs the quantum imaginary time evolution -- constructs the matrix A and the vector b (Amat,bvec) of the linear system, 
                    solves it by least-squares methods, and applies the corresponding unitary transformation to the current wavefunction
                    it also prepares the approximate matrix elements of the Hamiltonian and overlap matrices actually used by the QLanczos algorithm
qlanz.py            performs the quantum Lanczos calculations, and implements their numeric stabilization
tools.py            readout and computation of distances in OBC, PBC
style.py            conventions for the figures

qite's People

Contributors

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