GithubHelp home page GithubHelp logo

ericbrts / perceval Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quandela/perceval

0.0 0.0 0.0 14.26 MB

An open source framework for programming photonic quantum computers

Home Page: https://perceval.quandela.net

License: Other

Python 100.00%

perceval's Introduction

GitHub release PyPI - Python Version CI

CI CI

Perceval

Through a simple object-oriented python API, Perceval provides tools for building a circuit with linear optics components, defining single-photon sources and their error model, manipulating Fock states, running simulations, reproducing published experimental papers results, and experimenting a new generation of quantum algorithms.

It is interfaced with the available QPUs on the Quandela cloud, so it is possible to run computations on an actual photonic computer.

Perceval aims to be a companion tool for developing discrete-variable photonics circuits

  • while simulating their design, modeling their ideal and real-life behaviour;
  • and proposing a normalized interface to control photonic quantum computers;
  • while using powerful simulation backends to get state-of-the-art simulation;
  • and also allowing direct access to the QPUs of Quandela.

Perceval has been developed as a complete toolkit for physicists and quantum computational students, researchers and practitioners.

Key Features

  • Powerful Circuit designer making use of predefined components
  • Simple python API and powerful simulation backends optimized in C
  • Misc technical utilities to manipulate State Vector, Unitary Matrices, and circuit Parameters
  • Transversal tools for visualization compatible with notebooks or local development environments
  • Numerical and symbolical computation
  • Modular architecture welcoming contributions from the community

Installation

Perceval requires:

  • Python 3.7 or above

We recommend installing it with pip:

pip install --upgrade pip
pip install perceval-quandela

or simply from GitHub:

git clone https://github.com/quandela/Perceval
python setup.py install # [or 'develop' for developers]

Running tests and benchmarks

Unit tests files are part of the repository in tests/ and can be run with:

pytest tests/

Benchmark tests for computing-intensive functions are in benchmark/ and can be run with:

pytest benchmark/benchmark_*.py

Comparison benchmarks for different platforms are also commit in .benchmarks/ - see pytest-benchmark documentation for more information.

Documentation and Forum

Twitter Follow YouTube Channel Subscribers

perceval's People

Contributors

apoppn avatar aubaert avatar elian-or avatar ericbrts avatar fzanichelli001 avatar jmaterne avatar jsenellart avatar juliencalisto avatar king-p3nguin avatar lilas avatar lukamusic avatar mario-valdivia avatar marionquandela avatar mbassiouny33 avatar nanoy42 avatar nicolasheurtel avatar pemeriau avatar qu-shaman avatar raksharuia avatar sebmalherbe avatar thibaudvdrl avatar yvalibouse 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.