TNO Quantum: Optimization - QUBO
TNO Quantum provides generic software components aimed at facilitating the development of quantum applications.
This package provides a comprehensive suite of tools for creating QUBO objects, defining QUBO solvers, and using them to solve QUBO problems. It also includes features for pre- and post-processing, as well as the ability to create pipelines that integrate all these components seamlessly
Documentation
Documentation of the tno.quantum.optimization.qubo package can be found here.
Install
Easily install the tno.quantum.optimization.qubo package using pip:
$ pip install tno.quantum.optimization.qubo
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:
$ pip install tno.quantum.optimization.qubo[all]
Usage
The following example shows how to construct a QUBO object.
from tno.quantum.optimization.qubo import QUBO
qubo = QUBO([
[ 1, -2, 3],
[-4, 5, -6],
[ 7, -8, 9]
])
from tno.quantum.optimization.qubo import SolverConfig
solver = SolverConfig(name='bf_solver').get_instance()
# Solve the QUBO
result = solver.solve(qubo)
result.best_bitvector # BitVector(000)
(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 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tno_quantum_optimization_qubo-1.0.4.tar.gz | 9.4 kB | Without provenance | Details for tno_quantum_optimization_qubo-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tno_quantum_optimization_qubo-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for tno_quantum_optimization_qubo-1.0.4-py3-none-any.whl |
Total release size: 18.3 kB
Release files / tno_quantum_optimization_qubo-1.0.4.tar.gz
| Download URL | tno_quantum_optimization_qubo-1.0.4.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
875ea53fed4b5b8c36594e3b69179703b9a291a58a0fa7e1ec6d5f6703797b76
|
|
BLAKE2b-256 checksum How to use checksums |
d781e90d67fd602eeea08f21022db40a924d4ab33c92bc8d29113e4e82d1402a
|
| 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-1.0.4-py3-none-any.whl
| Download URL | tno_quantum_optimization_qubo-1.0.4-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2896431d34382c04fe68c58ee1f6f948c6efa5def11b1de31e1924a8f24bafe5
|
|
BLAKE2b-256 checksum How to use checksums |
024766dbfaef18ebdfc40b402ef67e2283c2953781fb08c66484211fae515d89
|
| 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}
|
Security for tno.quantum.optimization.qubo 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.