Skip to content

Commit af7cba4

Browse files
committed
update deps + add default num_reads with dwave
1 parent 5c732b2 commit af7cba4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/hepqpr/qallse/cli/func.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def solve_dwave(Q, conf_file, **kwargs):
9696
sampler = DWaveSampler(config_file=conf_file, permissive_ssl=True)
9797
solver = EmbeddingComposite(sampler)
9898
logger.info(f'Using {sampler.solver} as the sub-QUBO solver.')
99+
if 'num_reads' not in kwargs: kwargs['num_reads'] = 10
100+
if 'num_repeats' not in kwargs: kwargs['num_repeats'] = 10
99101
return solve_qbsolv(Q, solver=solver, **kwargs)
100102

101103

src/setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@
3131
'filter_doublets = hepqpr.qallse.other.filter_input_doublets:cli'
3232
]
3333
},
34-
classifiers=(
34+
classifiers=[
3535
'Development Status :: 3 - Alpha',
3636
'Intended Audience :: Science/Research',
3737
'Topic :: Scientific/Engineering :: Information Analysis',
3838
'Topic :: Scientific/Engineering :: Physics',
3939
'Programming Language :: Python :: 3.6',
4040
'Programming Language :: Python :: 3.7',
4141
'Operating System :: OS Independent'
42-
),
42+
],
4343
install_requires=[
4444
'numpy>=1.14.0,<1.16.0',
4545
'pandas>=0.23,<0.24',
4646
'trackml',
47-
'dwave-qbsolv==0.2.9',
48-
'dwave-neal==0.4.4',
47+
'dwave-qbsolv==0.2.10',
48+
'dwave-neal==0.4.5',
4949
'click==7.0',
5050
'jsonschema<3.0.0',
5151
'plotly>=3.4,<3.5'

0 commit comments

Comments
 (0)