Giter VIP home page Giter VIP logo

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 source, manipulating Fock states, running simulation, reproducing published experimental papers and experiment new generation of quantum algorithms. It aims to be a companion tool for developing photonics circuits

  • while simulating on their design, modeling their ideal and real-life behaviour, and proposing a normalized interface
  • to control them through the concept of backends.

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
  • Works numerically and symbolically
  • 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 developpers]

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 jsenellart avatar juliencalisto avatar mario-valdivia avatar nicolasheurtel avatar pemeriau avatar qu-shaman avatar sebmalherbe avatar thibaudvdrl 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.