Coder Social home page Coder Social logo

qy's Introduction

##Qy for Python

Quantum libraries all in one place. Control and automation, DAQ, IO, simulation, graphics, GUI, analysis.

###Installing qy depends on numpy and matplotlib. I am trying to avoid dependency on SciPy, but some functions still need it. You will need cython and SWIG if you want to compile from source.

####Windows I am periodically building windows installers. You can download them here. Under windows using mingw32, the following command seems to do the job when building from source:

> python setup.py build --compiler mingw32 install

####Linux Under linux, this is the command that I am using to compile/build and install qy:

$ python setup.py  install --user

The --user is optional.

Contents

qy is broken into six sub-packages, for analysis, input/output, simulation of linear optics and quantum information, interfaces to various bits of lab hardware and DAQ, graphical user interfaces, and miscellaneous stuff.

####Analysis Post-processing and analysis tools.

  • Quantum metrics: quantum state fidelity, process fidelity, CHSH ...
  • Classical metrics: Trace distance, statistical fidelity ...

####Formats Interface to non-standard binary formats.

  • Fast interface to binary .counted files from DPC-230 timetagger

####Simulation Optimized code for simulating linear quantum optics and quantum information, some of which is written using cython.

  • Optimized linear optics simulator. p photons in m modes. Reck schemes, quantum walks, interferometers, random unitaries.
  • Optimized permanent in cython.
  • Optimized factorials and combinatorics
  • Detection model for fan-out pseudo number-resolving detectors
  • QI fundamentals: Qubit bases, Pauli operators, two-qubit gates...

####Hardware Python drivers for various pieces of hardware.

  • Motor controllers
  • FPGA-based counting systems
  • Lasers
  • DAC (NI etc)
  • ...

####GUI Useful wrappers for various bits of wxPython.

####Miscellaneous useful things

  • Easier file access, numpy tools, command line tools...

###TODO

  • Better handling of settings
  • Make cython-based libraries optional
  • Get rid of Scipy ($ grep -rl "scipy" ./)
  • Stress test cython code in linear_optics
  • Tidy up hardware modules, get code from other people e.g. PicoHarp

qy's People

Contributors

peteshadbolt avatar alexneville avatar

Stargazers

Raffaele Santagati avatar

Watchers

James Cloos avatar Raffaele Santagati 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.