Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.0.3 instead.
Reason given by maintainers: Invalid pyproject.toml

TNO Quantum: Optimization - QUBO - Solvers

TNO Quantum provides generic software components aimed at facilitating the development of quantum applications.

This package contains implementations of QUBO solvers.

Documentation

Documentation of the tno.quantum.optimization.qubo.solvers package can be found here.

Install

Easily install the tno.quantum.optimization.qubo.solvers package using pip:

$ python -m pip install tno.quantum.optimization.qubo.solvers

By default, the package is installed without external solver dependencies. You can specify which QUBO solvers you would like to install. Available options are [dwave, qubovert, dqo]. Alternatively, you can install all solvers simultaneously using the [all] option

$ python -m pip install tno.quantum.optimization.qubo.solvers[all]

Usage

The following example shows how to list the available solvers and how to instantiate them.

from tno.quantum.optimization.qubo.components import SolverConfig

supported_solvers = list(SolverConfig.supported_items())
solver = SolverConfig(name='bf_solver').get_instance()

Once a solver is instantiated, it can be used to solve a QUBO as follows.

from tno.quantum.optimization.qubo.components import QUBO

# Construct QUBO
qubo = QUBO([
     [1,   2, 3],
     [4, -50, 6],
     [7,   8, 9]
 ])

# Solve QUBO
result = solver.solve(qubo)
result.best_bitvector # BitVector(010)
result.best_value # -50.0

(End)use limitations

The content of this software may solely be used for applications that comply with international export control laws.

Metadata

Release files for tno.quantum.optimization.qubo.solvers 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tno.quantum.optimization.qubo.solvers 2.0.2
File Size Uploaded
tno_quantum_optimization_qubo_solvers-2.0.2.tar.gz 53.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tno.quantum.optimization.qubo.solvers 2.0.2
File Interpreter ABI Platform
tno_quantum_optimization_qubo_solvers-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 147.9 kB

Release files / tno_quantum_optimization_qubo_solvers-2.0.2.tar.gz

Download URL tno_quantum_optimization_qubo_solvers-2.0.2.tar.gz
Size 53.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aab3be99f91679a541f71b0ce50ede6b22fc7468a06fcc41d7fabfdf56f41eae
BLAKE2b-256 checksum
How to use checksums
66040d41d136ac2d37e8ab9ed4cd435447bfcfa57d17f61bd87f351849010a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / tno_quantum_optimization_qubo_solvers-2.0.2-py3-none-any.whl

Download URL tno_quantum_optimization_qubo_solvers-2.0.2-py3-none-any.whl
Size 94.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94d75354584d5825153c1ad8889e89eb173c298119b05253f08a05498f6b3e89
BLAKE2b-256 checksum
How to use checksums
d198c0c7d14d6c6d856c8c07d4edcbde0846ad0d70d45168ebef13e6c86799ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

2.0.3

2 release files

This release

2.0.2 This release

2 release files

1.5.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page