qnet

Computer algebra package for quantum mechanics and photonic quantum networks

https://github.com/mabuchilab/qnet

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 9 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary

Keywords

physics python quantum-computing quantum-mechanics science
Last synced: 6 months ago · JSON representation

Repository

Computer algebra package for quantum mechanics and photonic quantum networks

Basic Info
Statistics
  • Stars: 71
  • Watchers: 29
  • Forks: 22
  • Open Issues: 27
  • Releases: 0
Topics
physics python quantum-computing quantum-mechanics science
Created almost 14 years ago · Last pushed about 7 years ago
Metadata Files
Readme Changelog Contributing License

README.rst

====
QNET
====

.. image:: https://img.shields.io/badge/github-mabuchilab/QNET-blue.svg
   :alt: Source code on Github
   :target: https://github.com/mabuchilab/QNET
.. image:: https://img.shields.io/pypi/v/QNET.svg
   :alt: QNET on the Python Package Index
   :target: https://pypi.python.org/pypi/QNET
.. image:: https://badges.gitter.im/mabuchilab/QNET.svg
   :alt: Join the chat at https://gitter.im/mabuchilab/QNET
   :target: https://gitter.im/mabuchilab/QNET?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
.. image:: https://img.shields.io/travis/mabuchilab/QNET.svg
   :alt: Travis Continuous Integration
   :target: https://travis-ci.org/mabuchilab/QNET
.. image:: https://ci.appveyor.com/api/projects/status/x6sh1ko8eivt5xdh?svg=true
   :alt: Appveyor Continuous Integration
   :target: https://ci.appveyor.com/project/goerz/qnet
.. image:: https://img.shields.io/coveralls/github/mabuchilab/QNET/develop.svg
   :alt: Coveralls
   :target: https://coveralls.io/github/mabuchilab/QNET?branch=develop
.. image:: https://readthedocs.org/projects/qnet/badge/?version=latest
   :alt: Documentation Status
   :target: https://qnet.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/badge/License-MIT-green.svg
   :alt: MIT License
   :target: https://opensource.org/licenses/MIT


Computer algebra package for quantum mechanics and photonic quantum networks

Development of QNET happens on `Github`_. You can read the full documentation at `ReadTheDocs`_.

.. _ReadTheDocs: https://qnet.readthedocs.io/en/latest/

Features
--------

* Extensible computer algebra system for quantum operators, quantum states, super operators
* Building on SymPy_ for scalar symbolic algebra
* Implementation of Gough and James' SLH algebra for photonic quantum circuits
* Designed for use within the Jupyter_ notebook
* Publication-ready, configurable rendering of mathematical formulas
* Conversion to QuTiP_ objects for numerical simulation

Note that version 2.0 of QNET is a major redesign. See :ref:`History ` for details.


Dependencies
------------

* Python_ version 3.5 or higher. The last version of QNET to support Python 2 is 1.4.3.
* The SymPy_ symbolic algebra Python package to implement symbolic 'scalar' algebra, i.e., the coefficients of state, operator or super-operator expressions can be symbolic SymPy expressions as well as pure python numbers.
* The NumPy_ package for numerical calculations
* Optional: QuTiP_ python package as an extremely useful, efficient and full featured numerical backend. Operator expressions where all symbolic scalar parameters have been replaced by numeric ones, can be converted to (sparse) numeric matrix representations, which are then used to solve for the system dynamics using the tools provided by QuTiP.
* Optional: The PyX_ python package for visualizing circuit expressions as box/flow diagrams. This requires a LaTeX installation on your system. On Linux/Macos and Windows `TeX Live`_ and MiKTeX_ are recommended, respectively.

A convenient way of obtaining Python as well as some of the packages listed here (SymPy, SciPy, NumPy) is to download Anaconda_ Python Distribution, which is free for academic use.
A highly recommended way of working with QNET and QuTiP_, or scientific python codes in general is through the excellent IPython_ command-line shell, or the very polished browser-based Jupyter_ notebook interface.

.. _Python: http://www.python.org
.. _QNET: http://mabuchilab.github.com/QNET/
.. _SymPy: http://SymPy.org/
.. _QuTiP: http://code.google.com/p/qutip/
.. _PyX: http://pyx.sourceforge.net/
.. _SciPy: http://www.scipy.org/
.. _NumPy: http://numpy.scipy.org/
.. _Anaconda: https://store.continuum.io/cshop/anaconda/
.. _IPython: http://ipython.org/
.. _Jupyter: http://jupyter.org
.. _TeX Live: https://www.tug.org/texlive/
.. _MiKTeX: https://miktex.org


Installation
------------
To install the latest released version of QNET, run this command in your terminal:

.. code-block:: console

    $ pip install qnet

This is the preferred method to install QNET, as it will always install the most recent stable release.

If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process.

.. _pip: https://pip.pypa.io
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/


To install the latest development version of QNET from `Github`_.

.. code-block:: console

    $ pip install git+https://github.com/mabuchilab/qnet.git@develop#egg=qnet

.. _Github: https://github.com/mabuchilab/qnet

Usage
-----

To use QNET in a project::

    import qnet

Owner

  • Name: Mabuchi Research Group at Stanford University
  • Login: mabuchilab
  • Kind: organization

GitHub Events

Total
  • Watch event: 5
Last Year
  • Watch event: 5

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 805
  • Total Committers: 9
  • Avg Commits per committer: 89.444
  • Development Distribution Score (DDS): 0.366
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Michael Goerz g****z@s****u 510
Nikolas Tezak n****k@s****u 231
Daniel Wennberg d****g@g****m 30
Nikolas Tezak n****k@g****m 27
Michael Hush M****h@a****u 3
Ryan Hamerly r****y@g****m 1
The Gitter Badger b****r@g****m 1
Bitdeli Chef c****f@b****m 1
Anubhab Haldar C****4 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 92
  • Total pull requests: 3
  • Average time to close issues: 6 months
  • Average time to close pull requests: 16 minutes
  • Total issue authors: 8
  • Total pull request authors: 3
  • Average comments per issue: 1.35
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • goerz (60)
  • ntezak (13)
  • danielwe (12)
  • ngedwin98 (3)
  • rupayan2029 (1)
  • eunjongkim (1)
  • bcriger (1)
  • Leo-am (1)
Pull Request Authors
  • gitter-badger (1)
  • Chronum94 (1)
  • bitdeli-chef (1)
Top Labels
Issue Labels
enhancement (16) documentation (6) review (5) bug (5) QHDL (5) test (3) printing (3) wontfix (2) performance (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 49 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 23
  • Total maintainers: 2
pypi.org: qnet

Tools for symbolically analyzing quantum feedback networks.

  • Versions: 23
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 49 Last month
Rankings
Stargazers count: 8.2%
Forks count: 8.4%
Dependent packages count: 10.0%
Average: 16.5%
Dependent repos count: 21.7%
Downloads: 34.1%
Maintainers (2)
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • six *
  • sympy *