Coder Social home page Coder Social logo

volta's Introduction

volta

build and test

This is a library that I started developing to create faster workflows, firstly for variational quantum algorithms, using qiskit.

The main feature is the volta.observables.sample_hamiltonian which enables you to do easy evaluation of the expectation value for a hamiltonian defined using opflow and a quantum circuit.

I plan to implement Hamiltonian Simulation algorithms as well as noise mitigation for this package.

Variational Quantum Algorithms

SWAP test

  • SWAP test using controlled swaps;
  • Destructive SWAP test;

Hamiltonian Simulation

Error Mitigation

volta's People

Contributors

nahumsa avatar

Stargazers

José Victor avatar

Watchers

 avatar

volta's Issues

Add CI

Add CI using nox or tox and github actions.

Add a license to the repository

I recently came across your project volta and I noticed that the repository github.com/nahumsa/volta currently does not have a license specified.

Why Adding a License is Important?

As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.

Thanks!

Tests failing stochastichaly

Issue

The VQD tests are failing sometimes, mainly because of choosing random parameters for the optimization.

Even though they are failing they are pretty close to the solution, for instance: 0.0 != -0.06697999999999998.

Possible solutions

One possible solution is to put decimal_place = 0

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.