Skip to main content

Quasi-Monte Carlo point generators, automatic transformations, and adaptive stopping criteria

Project description

QMCPy: Quasi-Monte Carlo Community Software in Python

Docs DOI DOI GitHub stars Tests codecov on Unit Tests codecov on All Tests PEP8 score

Quasi-Monte Carlo (QMC) methods are used to approximate multivariate integrals. They have four main components: a discrete distribution, a true measure of randomness, an integrand, and a stopping criterion. Information about the integrand is obtained as a sequence of values of the function sampled at the data-sites of the discrete distribution. The stopping criterion tells the algorithm when the user-specified error tolerance has been satisfied. We are developing a framework that allows collaborators in the QMC community to develop plug-and-play modules in an effort to produce more efficient and portable QMC software. Each of the above four components is an abstract class. Abstract classes specify the common properties and methods of all subclasses. The ways in which the four kinds of classes interact with each other are also specified. Subclasses then flesh out different integrands, sampling schemes, and stopping criteria. Besides providing developers a way to link their new ideas with those implemented by the rest of the QMC community, we also aim to provide practitioners with state-of-the-art QMC software for their applications.

Resources

The QMCPy documentation contains a detailed package reference documenting functions and classes including thorough doctests. A number of example notebook demos are also rendered into the documentation from QMCSoftware/demos/. We recommend the following resources to start learning more about QMCPy

Installation

pip install qmcpy

To install from source, please see the contributing guidelines.

Citation

If you find QMCPy helpful in your work, please support us by citing the following work, which is also available as a QMCPy BibTex citation

Sou-Cheng T. Choi, Fred J. Hickernell, Michael McCourt, Jagadeeswaran Rathinavel, Aleksei G. Sorokin,
QMCPy: A Quasi-Monte Carlo Python Library. 2026.
https://qmcsoftware.github.io/QMCSoftware/

We maintain a list of publications on the development and use of QMCPy as well as a list of select references upon which QMCPy was built.

Package usage stats

PyPI download statistics are tracked automatically in stats/pypi_downloads.md.

Development

Want to contribute to QMCPy? Please see our guidelines for contributors which includes instructions on installation for developers, running tests, and compiling documentation.

This software would not be possible without the efforts of the QMCPy community including our steering council, collaborators, contributors, and sponsors.

QMCPy is distributed under an Apache 2.0 license from the Illinois Institute of Technology.

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

qmcpy-2.3.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

qmcpy-2.3-cp312-cp312-macosx_26_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.12macOS 26.0+ ARM64

File details

Details for the file qmcpy-2.3.tar.gz.

File metadata

  • Download URL: qmcpy-2.3.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.7 CPython/3.14.3 Darwin/25.4.0

File hashes

Hashes for qmcpy-2.3.tar.gz
Algorithm Hash digest
SHA256 36a94175e4204e54e1de26d885afd0eab0d1ff0bc6683de3602eb585785fc052
MD5 b6adf2469524cc61840111eb8ecc483f
BLAKE2b-256 cc0b0315ae340be673560c0f016040b31a935830b5dbcdcc40351bf7ce190f2b

See more details on using hashes here.

File details

Details for the file qmcpy-2.3-cp312-cp312-macosx_26_0_arm64.whl.

File metadata

  • Download URL: qmcpy-2.3-cp312-cp312-macosx_26_0_arm64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.12, macOS 26.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.7 CPython/3.14.3 Darwin/25.4.0

File hashes

Hashes for qmcpy-2.3-cp312-cp312-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 ba02508f4fecdd8e99863e7cfb727cbfe034de7c89e6019d3655cb86b31c5ac6
MD5 27ffdd397ff4f0891352dc78afbc7f6e
BLAKE2b-256 86bdde3e36b0185bf19959f47b1eedeaf1055a7926e4912a9e704cb332137bb5

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