NetKet


NameNetKet JSON
Version 3.11.4 PyPI version JSON
download
home_pageNone
SummaryNetket : Machine Learning toolbox for many-body quantum systems.
upload_time2024-04-11 11:44:34
maintainerNone
docs_urlNone
authorGiuseppe Carleo, Filippo Vicentini, The NetKet authors
requires_python>=3.9
licenseApache 2.0
keywords jax machine learning monte carlo neural networks neural quantum states quantum
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
<img src="https://www.netket.org/logo/logo_simple.jpg" alt="logo" width="400"></img>
</div>

# __NetKet__

[![Release](https://img.shields.io/github/release/netket/netket.svg)](https://github.com/netket/netket/releases)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/netket/badges/version.svg)](https://anaconda.org/conda-forge/netket)
[![Paper (v3)](https://img.shields.io/badge/paper%20%28v3%29-arXiv%3A2112.10526-B31B1B)](https://scipost.org/SciPostPhysCodeb.7/pdf)
[![codecov](https://codecov.io/gh/netket/netket/branch/master/graph/badge.svg?token=gzcOlpO5lB)](https://codecov.io/gh/netket/netket)
[![Slack](https://img.shields.io/badge/slack-chat-green.svg)](https://join.slack.com/t/mlquantum/shared_invite/zt-19wibmfdv-LLRI6i43wrLev6oQX0OfOw)

NetKet is an open-source project delivering cutting-edge methods for the study
of many-body quantum systems with artificial neural networks and machine learning techniques.
It is a Python library built on [JAX](https://github.com/google/jax).

- **Homepage:** <https://www.netket.org>
- **Citing:** <https://www.netket.org/cite/>
- **Documentation:** <https://netket.readthedocs.io/en/latest/index.html>
- **Tutorials:** <https://netket.readthedocs.io/en/latest/tutorials/gs-ising.html>
- **Examples:** <https://github.com/netket/netket/tree/master/Examples>
- **Source code:** <https://github.com/netket/netket>

## Installation and Usage

NetKet runs on MacOS and Linux. We recommend to install NetKet using `pip`, but it can also be installed with `conda`.
It is often necessary to first update `pip` to a recent release (`>=20.3`) in order for upper compatibility bounds to be considered and avoid a broken installation.
For instructions on how to install the latest stable/beta release of NetKet see the [Get Started](https://www.netket.org/get_started/) page of our website or run the following command (Apple M1 users, follow that link for more instructions):

```sh
pip install --upgrade pip
pip install --upgrade netket
```

If you wish to install the current development version of NetKet, which is the master branch of this GitHub repository, together with the additional dependencies, you can run the following command:

```sh
pip install --upgrade pip
pip install 'git+https://github.com/netket/netket.git#egg=netket[all]'
```

To speed-up NetKet-computations, even on a single machine, you
can install the MPI-related dependencies by using `[mpi]` between square brackets.

```sh
pip install --upgrade pip
pip install --upgrade "netket[mpi]"
```

We recommend to install NetKet with all it's extra dependencies, which are documented below.
However, if you do not have a working MPI compiler in your PATH this installation will most likely fail because
it will attempt to install `mpi4py`, which enables MPI support in netket.

The latest release of NetKet is always available on PyPi and can be installed with `pip`.
NetKet is also available on conda-forge, however the version available through `conda install`
can be slightly out of date compared to PyPi.
To check what is the latest version released on both distributions you can inspect the badges at the top of this readme.

### Extra dependencies
When installing `netket` with pip, you can pass the following extra variants as square brakets. You can install several of them by separating them with a comma.
 - `"[dev]"`: installs development-related dependencies such as black, pytest and testing dependencies
 - `"[mpi]"`: Installs `mpi4py` to enable multi-process parallelism. Requires a working MPI compiler in your path
 - `"[extra]"`: Installs `tensorboardx` to enable logging to tensorboard, and openfermion to convert the QubitOperators.
 - `"[all]"`: Installs all extra dependencies

### MPI Support
To enable MPI support you must install [mpi4jax](https://github.com/PhilipVinc/mpi4jax). Please note that we advise to install mpi4jax  with the same tool (conda or pip) with which you install it's dependency `mpi4py`.

To check whether MPI support is enabled, check the flags
```python
>>> import netket
>>> netket.utils.mpi.available
True
```

## Getting Started

To get started with NetKet, we recommend you give a look at our [tutorials page](https://netket.readthedocs.io/en/latest/tutorials/gs-ising.html), by running them on your computer or on [Google Colaboratory](https://colab.research.google.com).
There are also many example scripts that you can download, run and edit that showcase some use-cases of NetKet, although they are not commented.

If you want to get in touch with us, feel free to open an issue or a discussion here on GitHub, or to join the MLQuantum slack group where several people involved with NetKet hang out. To join the slack channel just accept [this invitation](https://join.slack.com/t/mlquantum/shared_invite/zt-19wibmfdv-LLRI6i43wrLev6oQX0OfOw)

## License

[Apache License 2.0](https://github.com/netket/netket/blob/master/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "NetKet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Jax, Machine Learning, Monte Carlo, Neural Networks, Neural Quantum States, Quantum",
    "author": "Giuseppe Carleo, Filippo Vicentini, The NetKet authors",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/0a/57/8dc33dd1948c3b26da70c7ee73334fc8fa1101aaf7f0906d16ddc92b7697/netket-3.11.4.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n<img src=\"https://www.netket.org/logo/logo_simple.jpg\" alt=\"logo\" width=\"400\"></img>\n</div>\n\n# __NetKet__\n\n[![Release](https://img.shields.io/github/release/netket/netket.svg)](https://github.com/netket/netket/releases)\n[![Anaconda-Server Badge](https://anaconda.org/conda-forge/netket/badges/version.svg)](https://anaconda.org/conda-forge/netket)\n[![Paper (v3)](https://img.shields.io/badge/paper%20%28v3%29-arXiv%3A2112.10526-B31B1B)](https://scipost.org/SciPostPhysCodeb.7/pdf)\n[![codecov](https://codecov.io/gh/netket/netket/branch/master/graph/badge.svg?token=gzcOlpO5lB)](https://codecov.io/gh/netket/netket)\n[![Slack](https://img.shields.io/badge/slack-chat-green.svg)](https://join.slack.com/t/mlquantum/shared_invite/zt-19wibmfdv-LLRI6i43wrLev6oQX0OfOw)\n\nNetKet is an open-source project delivering cutting-edge methods for the study\nof many-body quantum systems with artificial neural networks and machine learning techniques.\nIt is a Python library built on [JAX](https://github.com/google/jax).\n\n- **Homepage:** <https://www.netket.org>\n- **Citing:** <https://www.netket.org/cite/>\n- **Documentation:** <https://netket.readthedocs.io/en/latest/index.html>\n- **Tutorials:** <https://netket.readthedocs.io/en/latest/tutorials/gs-ising.html>\n- **Examples:** <https://github.com/netket/netket/tree/master/Examples>\n- **Source code:** <https://github.com/netket/netket>\n\n## Installation and Usage\n\nNetKet runs on MacOS and Linux. We recommend to install NetKet using `pip`, but it can also be installed with `conda`.\nIt is often necessary to first update `pip` to a recent release (`>=20.3`) in order for upper compatibility bounds to be considered and avoid a broken installation.\nFor instructions on how to install the latest stable/beta release of NetKet see the [Get Started](https://www.netket.org/get_started/) page of our website or run the following command (Apple M1 users, follow that link for more instructions):\n\n```sh\npip install --upgrade pip\npip install --upgrade netket\n```\n\nIf you wish to install the current development version of NetKet, which is the master branch of this GitHub repository, together with the additional dependencies, you can run the following command:\n\n```sh\npip install --upgrade pip\npip install 'git+https://github.com/netket/netket.git#egg=netket[all]'\n```\n\nTo speed-up NetKet-computations, even on a single machine, you\ncan install the MPI-related dependencies by using `[mpi]` between square brackets.\n\n```sh\npip install --upgrade pip\npip install --upgrade \"netket[mpi]\"\n```\n\nWe recommend to install NetKet with all it's extra dependencies, which are documented below.\nHowever, if you do not have a working MPI compiler in your PATH this installation will most likely fail because\nit will attempt to install `mpi4py`, which enables MPI support in netket.\n\nThe latest release of NetKet is always available on PyPi and can be installed with `pip`.\nNetKet is also available on conda-forge, however the version available through `conda install`\ncan be slightly out of date compared to PyPi.\nTo check what is the latest version released on both distributions you can inspect the badges at the top of this readme.\n\n### Extra dependencies\nWhen installing `netket` with pip, you can pass the following extra variants as square brakets. You can install several of them by separating them with a comma.\n - `\"[dev]\"`: installs development-related dependencies such as black, pytest and testing dependencies\n - `\"[mpi]\"`: Installs `mpi4py` to enable multi-process parallelism. Requires a working MPI compiler in your path\n - `\"[extra]\"`: Installs `tensorboardx` to enable logging to tensorboard, and openfermion to convert the QubitOperators.\n - `\"[all]\"`: Installs all extra dependencies\n\n### MPI Support\nTo enable MPI support you must install [mpi4jax](https://github.com/PhilipVinc/mpi4jax). Please note that we advise to install mpi4jax  with the same tool (conda or pip) with which you install it's dependency `mpi4py`.\n\nTo check whether MPI support is enabled, check the flags\n```python\n>>> import netket\n>>> netket.utils.mpi.available\nTrue\n```\n\n## Getting Started\n\nTo get started with NetKet, we recommend you give a look at our [tutorials page](https://netket.readthedocs.io/en/latest/tutorials/gs-ising.html), by running them on your computer or on [Google Colaboratory](https://colab.research.google.com).\nThere are also many example scripts that you can download, run and edit that showcase some use-cases of NetKet, although they are not commented.\n\nIf you want to get in touch with us, feel free to open an issue or a discussion here on GitHub, or to join the MLQuantum slack group where several people involved with NetKet hang out. To join the slack channel just accept [this invitation](https://join.slack.com/t/mlquantum/shared_invite/zt-19wibmfdv-LLRI6i43wrLev6oQX0OfOw)\n\n## License\n\n[Apache License 2.0](https://github.com/netket/netket/blob/master/LICENSE)\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Netket : Machine Learning toolbox for many-body quantum systems.",
    "version": "3.11.4",
    "project_urls": {
        "changelog": "https://netket.readthedocs.io/en/latest/docs/changelog.html",
        "documentation": "https://netket.readthedocs.io/en/latest/#",
        "homepage": "https://www.netket.org",
        "repository": "https://github.com/netket/netket"
    },
    "split_keywords": [
        "jax",
        " machine learning",
        " monte carlo",
        " neural networks",
        " neural quantum states",
        " quantum"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cd1beab9010081105371abdfe8d74b74bb84cbb71129e51ae7d554b6f875d435",
                "md5": "f6fe218d70d366894cb18e4077fc5c18",
                "sha256": "b985a813587672fbedda5bfa59d236144db25996a5c21a813c33fcf84a3f1c18"
            },
            "downloads": -1,
            "filename": "netket-3.11.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f6fe218d70d366894cb18e4077fc5c18",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 641949,
            "upload_time": "2024-04-11T11:44:32",
            "upload_time_iso_8601": "2024-04-11T11:44:32.657887Z",
            "url": "https://files.pythonhosted.org/packages/cd/1b/eab9010081105371abdfe8d74b74bb84cbb71129e51ae7d554b6f875d435/netket-3.11.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a578dc33dd1948c3b26da70c7ee73334fc8fa1101aaf7f0906d16ddc92b7697",
                "md5": "8ed002b2edf39cd91b0dc80a231f86b6",
                "sha256": "a68514dc1e41235b3e4ca403c8f05bcf058864ec67d1a8c842977d11b152f6e3"
            },
            "downloads": -1,
            "filename": "netket-3.11.4.tar.gz",
            "has_sig": false,
            "md5_digest": "8ed002b2edf39cd91b0dc80a231f86b6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 399759,
            "upload_time": "2024-04-11T11:44:34",
            "upload_time_iso_8601": "2024-04-11T11:44:34.932225Z",
            "url": "https://files.pythonhosted.org/packages/0a/57/8dc33dd1948c3b26da70c7ee73334fc8fa1101aaf7f0906d16ddc92b7697/netket-3.11.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 11:44:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "netket",
    "github_project": "netket",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "netket"
}
        
Elapsed time: 0.23786s