Skip to content

Commit 5ec73b5

Browse files
Upgrade to v1.0.1
1 parent 08d4d59 commit 5ec73b5

File tree

5 files changed

+41
-29
lines changed

5 files changed

+41
-29
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.0.1 (2025 - 10 - 20)
2+
3+
Drop support for `python3.9`
4+
5+
* Rename `qaoa` install flag to `dqo`
6+
17
# 1.0.0 (2025 - 05 - 13)
28

39
Initial public release.

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ contact:
1818
repository-code: https://github.com/TNO-Quantum/optimization.qubo
1919
repository-artifact: https://pypi.org/project/tno.quantum.optimization.qubo
2020
title: TNO Quantum - Optimization - QUBO
21-
version: 1.0.0
22-
date-released: 2025-05-13
21+
version: 1.0.1
22+
date-released: 2025-10-20

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Easily install the `tno.quantum.optimization.qubo` package using pip:
1818
$ pip install tno.quantum.optimization.qubo
1919
```
2020

21-
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, qaoa]. Alternatively, you can install all solvers simultaneously using the [all] option:
21+
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:
2222

2323
```console
2424
$ pip install tno.quantum.optimization.qubo[all]

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ license = { text = "Apache License, Version 2.0" }
1313
classifiers = [
1414
"License :: OSI Approved :: Apache Software License",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.9",
1716
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
@@ -24,9 +23,9 @@ classifiers = [
2423
"Intended Audience :: Science/Research",
2524
"Typing :: Typed",
2625
]
27-
urls = { Homepage = "https://github.com/TNO-Quantum/", Documentation = "https://tno-quantum.github.io/documentation/", Source = "https://github.com/TNO-Quantum/optimization.qubo" }
26+
urls = { Homepage = "https://github.com/TNO-Quantum/", Documentation = "https://github.com/TNO-Quantum/", Source = "https://ci.tno.nl/gitlab/quantum/quantum-applications/quantum-toolbox/microlibs/optimization/microlibs/qubo/qubo" }
2827
dynamic = ["version"]
29-
requires-python = ">=3.9"
28+
requires-python = ">=3.10"
3029
dependencies = [
3130
"tno.quantum.optimization.qubo.components~=1.0",
3231
"tno.quantum.optimization.qubo.solvers~=1.0",
@@ -37,11 +36,11 @@ dependencies = [
3736
[project.optional-dependencies]
3837
dwave = ["tno.quantum.optimization.qubo.solvers[dwave]~=1.0"]
3938
qubovert = ["tno.quantum.optimization.qubo.solvers[qubovert]~=1.0"]
40-
qaoa = ["tno.quantum.optimization.qubo.solvers[qaoa]~=1.0"]
39+
dqo = ["tno.quantum.optimization.qubo.solvers[dqo]~=1.0"]
4140
# During development it is not recommended to use `pip install .[all]` as local changes
4241
# in the optionals are not reflected. Consider explicitly installing all dependencies via
43-
# `pip installl .[dwave,qubovert,qaoa]`.
44-
all = ["tno.quantum.optimization.qubo[dwave,qubovert,qaoa]"]
42+
# `pip installl .[dwave,qubovert,dqo]`.
43+
all = ["tno.quantum.optimization.qubo[dwave,qubovert,dqo]"]
4544
tests = [
4645
"pytest>=8.1.1",
4746
"pytest-cov>=4.1.0",
@@ -51,6 +50,7 @@ tests = [
5150
"tno.quantum.optimization.qubo.preprocessors[tests]",
5251
"tno.quantum.optimization.qubo.postprocessors[tests]",
5352
]
53+
dev = ["tno-dev-utils[default]>=3.3"]
5454

5555
[tool.setuptools]
5656
platforms = ["any"]

src/tno/quantum/optimization/qubo/__init__.py

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
1111
By default, the package is installed without external solver dependencies. You can
1212
specify which QUBO solvers you would like to install. Available options are
13-
``[dwave, qubovert, qaoa]``. Alternatively, you can install all solvers
14-
simultaneously using the ``[all]`` option::
13+
``[dwave, qubovert, dqo]``. Alternatively, you can install all solvers
14+
simultaneously using the ``'[all]'`` option::
1515
16-
pip install tno.quantum.optimization.qubo[all]
16+
pip install tno.quantum.optimization.qubo'[all]'
1717
1818
1919
**Example**
@@ -34,22 +34,28 @@
3434
>>> from tno.quantum.optimization.qubo import SolverConfig
3535
>>> list(SolverConfig.supported_items()) # doctest: +NORMALIZE_WHITESPACE
3636
['bf_solver',
37-
'custom_solver',
38-
'd_wave_clique_sampler_solver',
39-
'd_wave_sampler_solver',
40-
'exact_sampler_solver',
41-
'kerberos_sampler_solver',
42-
'leap_hybrid_solver',
43-
'neighborhood_solver',
44-
'pipeline_solver',
45-
'qaoa_solver',
46-
'rs_solver',
47-
'random_sampler_solver',
48-
'sa2_solver',
49-
'simulated_annealing_solver',
50-
'steepest_descent_solver',
51-
'tabu_solver',
52-
'tree_decomposition_solver']
37+
'custom_solver',
38+
'daqo_solver',
39+
'd_wave_clique_embedded_simulated_annealing_solver',
40+
'd_wave_clique_sampler_solver',
41+
'd_wave_embedded_simulated_annealing_solver',
42+
'd_wave_parallel_embedding_solver',
43+
'd_wave_sampler_solver',
44+
'd_wave_tiling_solver',
45+
'digital_adiabatic_quantum_optimization_solver',
46+
'exact_sampler_solver',
47+
'kerberos_sampler_solver',
48+
'leap_hybrid_solver',
49+
'neighborhood_solver',
50+
'pipeline_solver',
51+
'qaoa_solver',
52+
'rs_solver',
53+
'random_sampler_solver',
54+
'sa2_solver',
55+
'simulated_annealing_solver',
56+
'steepest_descent_solver',
57+
'tabu_solver',
58+
'tree_decomposition_solver']
5359
>>> solver = SolverConfig(name='bf_solver').get_instance()
5460
>>>
5561
>>> # Solve the QUBO
@@ -78,4 +84,4 @@
7884
"SolverConfig",
7985
]
8086

81-
__version__ = "1.0.0"
87+
__version__ = "1.0.1"

0 commit comments

Comments
 (0)