# QMCPy: Quasi-Monte Carlo Community Software in Python
[](https://qmcpy.org/)
[](https://qmcsoftware.github.io/QMCSoftware/)
[](https://github.com/QMCSoftware/QMCSoftware/actions/workflows/tests.yml)
[](https://github.com/QMCSoftware/QMCSoftware)
[](https://doi.org/10.5281/zenodo.3964489)
[](https://pypi.org/project/qmcpy/)
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](https://QMCSoftware.github.io/QMCSoftware/) 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
- [mathematical description of QMCPy software and components](https://qmcsoftware.github.io/QMCSoftware/components).
- [Aleksei Sorokin's 2023 PyData Chicago video tutorial](https://www.youtube.com/watch?v=bRcKiLA2yBQ) and [corresponding notebook](https://qmcsoftware.github.io/QMCSoftware/demos/talk_paper_demos/pydata.chi.2023/)
- [Fred Hickernell's 2020 MCQMC video tutorial](https://www.youtube.com/watch?v=gL8M_7c-YUE) and [corresponding notebook](https://qmcsoftware.github.io/QMCSoftware/demos/talk_paper_demos/MCQMC_Tutorial_2020/MCQMC_2020_QMC_Software_Tutorial/)
- The QMCPy [introduction notebook](https://qmcsoftware.github.io/QMCSoftware/demos/qmcpy_intro) and [quickstart notebook](https://qmcsoftware.github.io/QMCSoftware/demos/quickstart)
## Installation
```bash
pip install qmcpy
```
To install from source, please see the [contributing guidelines](https://qmcsoftware.github.io/QMCSoftware/CONTRIBUTING/).
## 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](https://github.com/QMCSoftware/QMCSoftware/blob/master/cite_qmcpy.bib)
~~~
Sou-Cheng T. Choi, Fred J. Hickernell, Michael McCourt, Jagadeeswaran Rathinavel, Aleksei G. Sorokin,
QMCPy: A Quasi-Monte Carlo Python Library. 2025.
https://qmcsoftware.github.io/QMCSoftware/
~~~
We maintain a list of [publications on the development and use of QMCPy](https://qmcpy.org/publications/) as well as a [list of select references upon which QMCPy was built](https://qmcsoftware.github.io/QMCSoftware/community/#select-references).
## Development
Want to contribute to QMCPy? Please see our [guidelines for contributors](https://qmcsoftware.github.io/QMCSoftware/CONTRIBUTING/) 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](https://qmcsoftware.github.io/QMCSoftware/community) including our steering council, collaborators, contributors, and sponsors.
QMCPy is distributed under an [Apache 2.0 license from the Illinois Institute of Technology](https://github.com/QMCSoftware/QMCSoftware/blob/master/LICENSE).
Raw data
{
"_id": null,
"home_page": null,
"name": "qmcpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": null,
"keywords": "quasi, monte, carlo, community, software, cubature, numerical, integration, discrepancy, sobol, lattice",
"author": "Aleksei G Sorokin, Fred Hickernell, Sou-Cheng T. Choi, Jagadeeswaran Rathinavel, Mike McCourt",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/55/0a/bcdc5a9e158e1ca4318442839c57f29e0ee5013cf9b13fb5ce8676f2813c/qmcpy-2.0.tar.gz",
"platform": null,
"description": "# QMCPy: Quasi-Monte Carlo Community Software in Python\n\n[](https://qmcpy.org/)\n[](https://qmcsoftware.github.io/QMCSoftware/)\n[](https://github.com/QMCSoftware/QMCSoftware/actions/workflows/tests.yml)\n[](https://github.com/QMCSoftware/QMCSoftware)\n[](https://doi.org/10.5281/zenodo.3964489)\n[](https://pypi.org/project/qmcpy/)\n\nQuasi-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.\n\n## Resources\n\nThe [QMCPy documentation](https://QMCSoftware.github.io/QMCSoftware/) 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\n\n- [mathematical description of QMCPy software and components](https://qmcsoftware.github.io/QMCSoftware/components).\n- [Aleksei Sorokin's 2023 PyData Chicago video tutorial](https://www.youtube.com/watch?v=bRcKiLA2yBQ) and [corresponding notebook](https://qmcsoftware.github.io/QMCSoftware/demos/talk_paper_demos/pydata.chi.2023/)\n- [Fred Hickernell's 2020 MCQMC video tutorial](https://www.youtube.com/watch?v=gL8M_7c-YUE) and [corresponding notebook](https://qmcsoftware.github.io/QMCSoftware/demos/talk_paper_demos/MCQMC_Tutorial_2020/MCQMC_2020_QMC_Software_Tutorial/)\n- The QMCPy [introduction notebook](https://qmcsoftware.github.io/QMCSoftware/demos/qmcpy_intro) and [quickstart notebook](https://qmcsoftware.github.io/QMCSoftware/demos/quickstart)\n\n## Installation\n\n```bash\npip install qmcpy\n```\n\nTo install from source, please see the [contributing guidelines](https://qmcsoftware.github.io/QMCSoftware/CONTRIBUTING/).\n\n## Citation\n\nIf you find QMCPy helpful in your work, please support us by citing the following work, which is also available as a [QMCPy BibTex citation](https://github.com/QMCSoftware/QMCSoftware/blob/master/cite_qmcpy.bib)\n\n~~~\nSou-Cheng T. Choi, Fred J. Hickernell, Michael McCourt, Jagadeeswaran Rathinavel, Aleksei G. Sorokin,\nQMCPy: A Quasi-Monte Carlo Python Library. 2025.\nhttps://qmcsoftware.github.io/QMCSoftware/\n~~~\n\nWe maintain a list of [publications on the development and use of QMCPy](https://qmcpy.org/publications/) as well as a [list of select references upon which QMCPy was built](https://qmcsoftware.github.io/QMCSoftware/community/#select-references).\n\n## Development\n\nWant to contribute to QMCPy? Please see our [guidelines for contributors](https://qmcsoftware.github.io/QMCSoftware/CONTRIBUTING/) which includes instructions on installation for developers, running tests, and compiling documentation.\n\nThis software would not be possible without the efforts of the [QMCPy community](https://qmcsoftware.github.io/QMCSoftware/community) including our steering council, collaborators, contributors, and sponsors.\n\nQMCPy is distributed under an [Apache 2.0 license from the Illinois Institute of Technology](https://github.com/QMCSoftware/QMCSoftware/blob/master/LICENSE).\n",
"bugtrack_url": null,
"license": null,
"summary": "Quasi-Monte Carlo point generators, automatic transformations, and adaptive stopping criteria",
"version": "2.0",
"project_urls": {
"Documentation": "https://qmcsoftware.github.io/QMCSoftware/",
"Issues": "https://github.com/QMCSoftware/QMCSoftware/issues",
"Repository": "https://github.com/QMCSoftware/QMCSoftware"
},
"split_keywords": [
"quasi",
" monte",
" carlo",
" community",
" software",
" cubature",
" numerical",
" integration",
" discrepancy",
" sobol",
" lattice"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c1840c2f59e38faed2f0d607a7a0040a8aaeaa677288e875faaae8ae1f768863",
"md5": "5c676f2294a2b28ba9ec265973009412",
"sha256": "71a0c03dbd63c340cf0ceab53cc4f6388e0fc5dbeae7b146b61dd342aa2b19e0"
},
"downloads": -1,
"filename": "qmcpy-2.0-cp312-cp312-macosx_15_0_arm64.whl",
"has_sig": false,
"md5_digest": "5c676f2294a2b28ba9ec265973009412",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.5",
"size": 2714384,
"upload_time": "2025-08-12T23:00:54",
"upload_time_iso_8601": "2025-08-12T23:00:54.142669Z",
"url": "https://files.pythonhosted.org/packages/c1/84/0c2f59e38faed2f0d607a7a0040a8aaeaa677288e875faaae8ae1f768863/qmcpy-2.0-cp312-cp312-macosx_15_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "550abcdc5a9e158e1ca4318442839c57f29e0ee5013cf9b13fb5ce8676f2813c",
"md5": "db1875fb8ad4c17a777b1f1a2c8d9153",
"sha256": "c8b95cdc8d3b48a3e7ea0a80ec63f86314d36e67ddd922cde89d034ae1cf0c31"
},
"downloads": -1,
"filename": "qmcpy-2.0.tar.gz",
"has_sig": false,
"md5_digest": "db1875fb8ad4c17a777b1f1a2c8d9153",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 2555035,
"upload_time": "2025-08-12T23:00:56",
"upload_time_iso_8601": "2025-08-12T23:00:56.560457Z",
"url": "https://files.pythonhosted.org/packages/55/0a/bcdc5a9e158e1ca4318442839c57f29e0ee5013cf9b13fb5ce8676f2813c/qmcpy-2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-12 23:00:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "QMCSoftware",
"github_project": "QMCSoftware",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "qmcpy"
}