Skip to main content

A package for (Bo)son (S)ampling (S)imulations!

Project description

(Bo)son (S)ampling (S)imulator

The project is meant to implement the ideas proposed in references [1] and [2] for classically simulating lossy boson sampling.

Summary

Getting Started

So far, to get the project one only needs to download it from the repository (or any other source).

It's also possible to download it as a package with

pip install theboss

which will download the package from pypi.

Prerequisites

To run the scripts there will be needed some version of Python. During the development I'm using 3.8, but I believe that it will also work just fine with some earlier or newer version (at least for now).

The package has been tested for python 3.7 to 3.10.

In some places I use math.prod and typing package, that's why 3.8 version is desirable.

Code style

Throughout this work PEP-8 will be used. There are several cases where this may go south.

  • In some versions of the code matrices may be denoted by capital letters (as in standard mathematical notation). In order to be more PEP-friendly I'll try to use prefix m_ instead of capital letters, e.g. m_u would be the equivalent of U. Alternatively explicit use of matrix is also acceptable.

Running the tests

Just run all test in tests folder with pytest or via tox command.

Versioning

I'll use SemVer for versioning and try to keep track of the version in the tags.

Authors

License

This project is licensed under the Apache License, v.2.0. See the LICENSE.md file for details.

Acknowledgments

References

This project follows / uses the ideas presented in following papers:

[0] Clifford P., Clifford R., arXiv:1706.01260 [quant-ph].

[1] Oszmaniec M., Brod D. J., arXiv:1801.06166 [quant-ph].

[2] Brod D. J., Oszmaniec M., arXiv:1906.06696 [quant-ph].

[3] Maciejewski F. B., Zimboras Z., Oszmaniec M., arXiv:1907.08518 [quant-ph].

[4] Mezzadri F., arXiv:math-ph/0609050 [math-ph].

[5] Clifford P., Clifford R., arXiv:2005.04214 [quant-ph].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

theboss-2.1.1.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

theboss-2.1.1-py3-none-any.whl (58.3 kB view details)

Uploaded Python 3

File details

Details for the file theboss-2.1.1.tar.gz.

File metadata

  • Download URL: theboss-2.1.1.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for theboss-2.1.1.tar.gz
Algorithm Hash digest
SHA256 b5214871898c63d0dcb456f525e2f2608ffe83431583004c41ccb6a0c417b21e
MD5 d86feae62cb143be66348dee4dc0ce18
BLAKE2b-256 151d1f5f3ca614bc3b3f5bc617f08e16f37378ad0b745fd370cbdc3a48eb68b2

See more details on using hashes here.

File details

Details for the file theboss-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: theboss-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for theboss-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a65824db4f33b32aff643db5598aaaedf184de3553f020d91104335c00779c64
MD5 d82c5897cedfb14caa9d67e2200c1d6f
BLAKE2b-256 34e08880bcb7daf4bcfd60bf40b2ee1e816477008f27720f17492cfffe39ba87

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page