.. _ocean_packages: ======================= Reference Documentation ======================= .. toctree:: :hidden: :maxdepth: 1 dimod — |dimod_version| dwave-cloud-client — |cloud_version| dwave-gate — |gate_version| dwave-graphs — |graphs_version| dwave-hybrid — |hybrid_version| dwave-inspector — |inspector_version| dwave-networkx — deprecated dwave-optimization — |optimization_version| dwave-preprocessing — |preprocessing_version| dwave-samplers — |samplers_version| dwave-system — |system_version| minorminer — |minorminer_version| penaltymodel — deprecated .. packages-start-marker .. dropdown:: :ref:`dimod ` (|dimod_version|): Quadratic models (BQM, CQM). Shared API for binary quadratic :term:`samplers `. Provides a binary quadratic model (:term:`BQM`) class, which contains :term:`Ising` and quadratic unconstrained binary optimization (:term:`QUBO`) models used by samplers such as |dwave_short| quantum computers, and a constrained quadratic model (:term:`CQM`) used by :term:`hybrid` samplers. Also provides utilities for constructing new samplers and :term:`composed samplers `. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-cloud-client ` (|cloud_version|): API client to the Leap service's solvers. Minimal implementation of the REST interface used to communicate with :term:`SAPI` servers. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-gate ` (|gate_version|): Package for quantum circuits. A software package for constructing, modifying and running quantum circuits. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-graphs ` (|graphs_version|): Package for QPU graphs. A package providing graphs and algorithms for working with D-Wave quantum computers. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-hybrid ` (|hybrid_version|): Framework for building hybrid solvers. A general, minimal Python framework for building :term:`hybrid` asynchronous decomposition samplers for quadratic unconstrained binary optimization (:term:`QUBO`) problems. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-inspector ` (|inspector_version|): Visualizer for problems submitted to quantum computers. A tool for visualizing problems submitted to, and answers received from, a |dwave_short| structured solver such as an :term:`Advantage` quantum computer. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-networkx ` (deprecated): NetworkX extension. See the :ref:`dwave-graphs ` documentation for details. .. dropdown:: :ref:`dwave-ocean-sdk ` (|version|): Ocean software development kit. Installer for D-Wave's Ocean Tools. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-optimization ` (|optimization_version|): Nonlinear models. API for :ref:`nonlinear models `. The package includes: * A class for nonlinear models used by the |cloud|_ service's :term:`hybrid` nonlinear-program solver. * Model generators for industrial optimization problems. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-preprocessing ` (|preprocessing_version|): Preprocessing tools for quadratic models. Library containing common preprocessing tools for quadratic models. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-samplers ` (|samplers_version|): Classical algorithms for solving binary quadratic models. A library that implements the following classical algorithms as :term:`samplers ` for solving binary quadratic models (:term:`BQM`): * Planar: an exact solver for planar Ising problems with no linear biases. * Random: a sampler that draws uniform random samples. * Simulated Annealing: a probabilistic heuristic for optimization and approximate Boltzmann sampling well suited to finding good solutions of large problems. * Steepest Descent: a discrete analogue of gradient descent, often used in machine learning, that quickly finds a local minimum. * Tabu: a heuristic that employs local search with methods to escape local minima. * Tree Decomposition: an exact solver for problems with low treewidth. :bdg-link-primary:`code ` .. dropdown:: :ref:`dwave-system ` (|system_version|): D-Wave samplers and composites. Basic API for easily incorporating the |dwave_short| quantum computer as a :term:`sampler` in the Ocean :ref:`software stack `. It includes the :class:`~dwave.system.samplers.DWaveSampler` sampler, a dimod sampler that accepts and passes system parameters such as system identification and authentication down the stack. It also includes several useful composites---layers of pre- and post-processing---that can be used with this sampler to handle :term:`minor-embedding`, optimize :term:`chain strength`, etc. :bdg-link-primary:`code ` .. dropdown:: :ref:`minorminer ` (|minorminer_version|): Minor-embeds graphs. A tool for finding graph :term:`minor-embedding`, developed to embed :term:`Ising` problems onto :term:`quantum annealing` (QA) quantum computers. While it can be used to find minors in arbitrary graphs, it is particularly geared towards the state of the art in QA: problem graphs of a few to a few hundred variables, and hardware graphs of a few thousand qubits. :bdg-link-primary:`code ` .. dropdown:: :ref:`penaltymodel ` (deprecated): Maps constraints to binary quadratic models. For solving problems with constraints, we recommend using the hybrid solvers in the Leap service. You can find documentation for the hybrid solvers at :ref:`opt_index_hybrid`. :bdg-link-primary:`code ` .. packages-end-marker