dimod-0.9.9
0.9.9
0.9.8
0.9.7.dev1
0.9.7.dev0
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.1
0.9.0.dev6
0.9.0.dev5
0.9.0.dev4
0.9.0.dev3
0.9.0.dev2
0.9.0.dev1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.21
0.8.20
0.8.2
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.13
0.6.12
0.6.11
0.6.10
0.6.1
0.6.0.dev2
0.6.0.dev1
0.6.0
0.5.0.dev1
0.5.0
0.4.0
0.3.1
0.3.0
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0rc1
0.12.0.dev3
0.12.0.dev2
0.12.0.dev1
0.12.0.dev0
0.12.0
0.11.6rc1
0.11.6.dev2
0.11.6.dev1
0.11.6.dev0
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0rc1
0.11.0rc0
0.11.0.dev0
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.17
0.10.16
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.1
0.10.0rc1
0.10.0.dev9
0.10.0.dev8
0.10.0.dev7
0.10.0.dev6
0.10.0.dev5
0.10.0.dev4
0.10.0.dev3
0.10.0.dev2
0.10.0.dev1
0.10.0.dev0
0.10.0
0.1.1
0.9.9
0.9.8
0.9.7.dev1
0.9.7.dev0
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.1
0.9.0.dev6
0.9.0.dev5
0.9.0.dev4
0.9.0.dev3
0.9.0.dev2
0.9.0.dev1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.21
0.8.20
0.8.2
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.13
0.6.12
0.6.11
0.6.10
0.6.1
0.6.0.dev2
0.6.0.dev1
0.6.0
0.5.0.dev1
0.5.0
0.4.0
0.3.1
0.3.0
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0rc1
0.12.0.dev3
0.12.0.dev2
0.12.0.dev1
0.12.0.dev0
0.12.0
0.11.6rc1
0.11.6.dev2
0.11.6.dev1
0.11.6.dev0
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0rc1
0.11.0rc0
0.11.0.dev0
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.17
0.10.16
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.1
0.10.0rc1
0.10.0.dev9
0.10.0.dev8
0.10.0.dev7
0.10.0.dev6
0.10.0.dev5
0.10.0.dev4
0.10.0.dev3
0.10.0.dev2
0.10.0.dev1
0.10.0.dev0
0.10.0
0.1.1
توضیحات
A shared API for binary quadratic model samplers.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | dimod-0.9.9 |
| نام | dimod |
| نسخه کتابخانه | 0.9.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | D-Wave Systems Inc. |
| ایمیل نویسنده | tools@dwavesys.com |
| آدرس صفحه اصلی | https://github.com/dwavesystems/dimod |
| آدرس اینترنتی | https://pypi.org/project/dimod/ |
| مجوز | Apache 2.0 |
.. image:: https://img.shields.io/pypi/v/dimod.svg
:target: https://pypi.org/project/dimod
.. image:: https://img.shields.io/pypi/pyversions/dimod.svg
:target: https://pypi.python.org/pypi/dimod
.. image:: https://circleci.com/gh/dwavesystems/dimod.svg?style=svg
:target: https://circleci.com/gh/dwavesystems/dimod
.. image:: https://codecov.io/gh/dwavesystems/dimod/branch/main/graph/badge.svg
:target: https://codecov.io/gh/dwavesystems/dimod
dimod
=====
.. index-start-marker1
`dimod` is a shared API for samplers. It provides:
* classes for quadratic models---such as the binary quadratic model (BQM) class that
contains Ising and QUBO models used by samplers such as the D-Wave system---and
higher-order (non-quadratic) models.
* reference examples of samplers and composed samplers.
* `abstract base classes <https://docs.python.org/3/library/abc.html>`_ for
constructing new samplers and composed samplers.
.. index-end-marker1
(For explanations of the terminology, see the
`Ocean glossary <https://docs.ocean.dwavesys.com/en/stable/concepts/index.html>`_.)
Example Usage
-------------
.. index-start-marker2
>>> import dimod
...
>>> # Construct a problem
>>> bqm = dimod.BinaryQuadraticModel({0: -1, 1: 1}, {(0, 1): 2}, 0.0, dimod.BINARY)
...
>>> # Use dimod's brute force solver to solve the problem
>>> sampleset = dimod.ExactSolver().sample(bqm)
>>> print(sampleset)
0 1 energy num_oc.
1 1 0 -1.0 1
0 0 0 0.0 1
3 0 1 1.0 1
2 1 1 2.0 1
['BINARY', 4 rows, 4 samples, 2 variables]
.. index-end-marker2
See the `documentation <https://docs.ocean.dwavesys.com/en/stable/docs_dimod/>`_
for more examples.
Installation
------------
.. installation-start-marker
Installation from `PyPI <https://pypi.org/project/dimod>`_:
.. code-block:: bash
pip install dimod
.. installation-end-marker
License
-------
Released under the Apache License 2.0. See LICENSE file.
Contributing
------------
Ocean's `contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>`_
has guidelines for contributing to Ocean packages.
dimod includes some formatting customization in the
`.clang-format <.clang-format>`_ and `setup.cfg <setup.cfg>`_ files.
Release Notes
~~~~~~~~~~~~~
dimod makes use of `reno <https://docs.openstack.org/reno/>`_ to manage its
release notes.
When making a contribution to dimod that will affect users, create a new
release note file by running
.. code-block:: bash
reno new your-short-descriptor-here
You can then edit the file created under ``releasenotes/notes/``.
Remove any sections not relevant to your changes.
Commit the file along with your changes.
See reno's `user guide <https://docs.openstack.org/reno/latest/user/usage.html>`_
for details.
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.17.3 | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dimod-0.9.9:
pip install dimod-0.9.9.whl
نصب پکیج tar.gz dimod-0.9.9:
pip install dimod-0.9.9.tar.gz