Skip to content

Commit

Permalink
update deps + add default num_reads with dwave
Browse files Browse the repository at this point in the history
  • Loading branch information
derlin committed Feb 5, 2019
1 parent 5c732b2 commit af7cba4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/hepqpr/qallse/cli/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def solve_dwave(Q, conf_file, **kwargs):
sampler = DWaveSampler(config_file=conf_file, permissive_ssl=True)
solver = EmbeddingComposite(sampler)
logger.info(f'Using {sampler.solver} as the sub-QUBO solver.')
if 'num_reads' not in kwargs: kwargs['num_reads'] = 10
if 'num_repeats' not in kwargs: kwargs['num_repeats'] = 10
return solve_qbsolv(Q, solver=solver, **kwargs)


Expand Down
8 changes: 4 additions & 4 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@
'filter_doublets = hepqpr.qallse.other.filter_input_doublets:cli'
]
},
classifiers=(
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Physics',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent'
),
],
install_requires=[
'numpy>=1.14.0,<1.16.0',
'pandas>=0.23,<0.24',
'trackml',
'dwave-qbsolv==0.2.9',
'dwave-neal==0.4.4',
'dwave-qbsolv==0.2.10',
'dwave-neal==0.4.5',
'click==7.0',
'jsonschema<3.0.0',
'plotly>=3.4,<3.5'
Expand Down

0 comments on commit af7cba4

Please sign in to comment.