qhyper 0.3.2__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qhyper-0.3.2 → qhyper-0.3.4}/LICENSE.txt +1 -1
- {qhyper-0.3.2/qhyper.egg-info → qhyper-0.3.4}/PKG-INFO +3 -3
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/quantum_annealing/dwave/advantage.py +5 -13
- {qhyper-0.3.2 → qhyper-0.3.4/qhyper.egg-info}/PKG-INFO +3 -3
- {qhyper-0.3.2 → qhyper-0.3.4}/setup.py +3 -3
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/constraint.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/converter.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/base.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/basinhopping.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/cem.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/dummy.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/grid_search.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/qml_gradient_descent.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/random.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/scipy_minimizer.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/optimizers/util.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/parser.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/polynomial.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/base.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/community_detection.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/knapsack.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/maxcut.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/tsp.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/problems/workflow_scheduling.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/base.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/classical/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/classical/gurobi/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/classical/gurobi/gurobi.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/gate_based/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/gate_based/pennylane/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/gate_based/pennylane/h_qaoa.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/gate_based/pennylane/qaoa.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/gate_based/pennylane/qml_qaoa.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/gate_based/pennylane/wf_qaoa.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/hyper_optimizer.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/quantum_annealing/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/quantum_annealing/dwave/__init__.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/quantum_annealing/dwave/cqm.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/solvers/quantum_annealing/dwave/dqm.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/QHyper/util.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/README.md +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/qhyper.egg-info/SOURCES.txt +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/qhyper.egg-info/dependency_links.txt +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/qhyper.egg-info/requires.txt +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/qhyper.egg-info/top_level.txt +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/setup.cfg +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/tests/test_converter.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/tests/test_optimizers.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/tests/test_optimizers_full.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/tests/test_problems.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/tests/test_util.py +0 -0
- {qhyper-0.3.2 → qhyper-0.3.4}/tests/test_vqa.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qhyper
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Quantum and classical problem solvers
|
|
5
|
-
Author:
|
|
6
|
-
Author-email:
|
|
5
|
+
Author: ACC Cyfronet AGH
|
|
6
|
+
Author-email: jzawalska@agh.edu.pl
|
|
7
7
|
License: MIT
|
|
8
8
|
Keywords: python,qhyper,quantum,solver,experiment
|
|
9
9
|
Classifier: Development Status :: 1 - Planning
|
|
@@ -28,10 +28,6 @@ class Advantage(Solver):
|
|
|
28
28
|
----------
|
|
29
29
|
problem : Problem
|
|
30
30
|
The problem to be solved.
|
|
31
|
-
version: str, default 'Advantage_system5.4'
|
|
32
|
-
The version of the D-Wave Advantage system.
|
|
33
|
-
region : str, default 'eu-central-1'
|
|
34
|
-
The region in which D-Wave Advantage is available.
|
|
35
31
|
num_reads: int, default 1
|
|
36
32
|
The number of times the solver is run.
|
|
37
33
|
chain_strength: float or None, default None
|
|
@@ -42,12 +38,12 @@ class Advantage(Solver):
|
|
|
42
38
|
The initial parameter settings.
|
|
43
39
|
use_clique_embedding: bool, default False
|
|
44
40
|
Find clique for the embedding
|
|
41
|
+
**config: Any
|
|
42
|
+
Config for the D-Wave solver. Documentation available at https://docs.dwavequantum.com
|
|
45
43
|
"""
|
|
46
44
|
|
|
47
45
|
problem: Problem
|
|
48
46
|
penalty_weights: list[float] | None = None
|
|
49
|
-
version: str = "Advantage_system5.4"
|
|
50
|
-
region: str = "eu-central-1"
|
|
51
47
|
num_reads: int = 1
|
|
52
48
|
chain_strength: float | None = None
|
|
53
49
|
token: str | None = None
|
|
@@ -55,22 +51,18 @@ class Advantage(Solver):
|
|
|
55
51
|
def __init__(self,
|
|
56
52
|
problem: Problem,
|
|
57
53
|
penalty_weights: list[float] | None = None,
|
|
58
|
-
version: str = "Advantage_system5.4",
|
|
59
|
-
region: str = "eu-central-1",
|
|
60
54
|
num_reads: int = 1,
|
|
61
55
|
chain_strength: float | None = None,
|
|
62
56
|
use_clique_embedding: bool = False,
|
|
63
|
-
token: str | None = None
|
|
57
|
+
token: str | None = None,
|
|
58
|
+
**config: Any) -> None:
|
|
64
59
|
self.problem = problem
|
|
65
60
|
self.penalty_weights = penalty_weights
|
|
66
|
-
self.version = version
|
|
67
|
-
self.region = region
|
|
68
61
|
self.num_reads = num_reads
|
|
69
62
|
self.chain_strength = chain_strength
|
|
70
63
|
self.use_clique_embedding = use_clique_embedding
|
|
71
64
|
self.sampler = DWaveSampler(
|
|
72
|
-
|
|
73
|
-
token=token or DWAVE_API_TOKEN)
|
|
65
|
+
token=token or DWAVE_API_TOKEN, **config)
|
|
74
66
|
self.token = token
|
|
75
67
|
|
|
76
68
|
if use_clique_embedding:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qhyper
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Quantum and classical problem solvers
|
|
5
|
-
Author:
|
|
6
|
-
Author-email:
|
|
5
|
+
Author: ACC Cyfronet AGH
|
|
6
|
+
Author-email: jzawalska@agh.edu.pl
|
|
7
7
|
License: MIT
|
|
8
8
|
Keywords: python,qhyper,quantum,solver,experiment
|
|
9
9
|
Classifier: Development Status :: 1 - Planning
|
|
@@ -8,9 +8,9 @@ LONG_DESCRIPTION = 'A package that allows to build and solve quantum and classic
|
|
|
8
8
|
# Setting up
|
|
9
9
|
setup(
|
|
10
10
|
name="qhyper",
|
|
11
|
-
version='0.3.
|
|
12
|
-
author="
|
|
13
|
-
author_email="
|
|
11
|
+
version='0.3.4',
|
|
12
|
+
author="ACC Cyfronet AGH",
|
|
13
|
+
author_email="jzawalska@agh.edu.pl",
|
|
14
14
|
description=DESCRIPTION,
|
|
15
15
|
long_description_content_type="text/markdown",
|
|
16
16
|
long_description=LONG_DESCRIPTION,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|