5.4.0
Changelog
dimod 0.11.3 ➞ 0.11.5
New Features
-
Add
ConstrainedQuadraticModel.__str__()method. See #1188. -
Speed up the construction of Variables objects from a range or another Variables.
-
Add optional keyword argument
labels_typeto theas_samples()function. -
Speed up
BinaryQuadraticModel.energies()andQuadraticModel.energies()in cases where the model has a small subset of the variables in the samples. -
Speed up
SampleSet.from_samples_cqm()in cases where there are constraints with a small number of variables relative to the objective. -
Add
ConstrainedQuadraticModel.is_linear()method. -
Add
ConstrainedQuadraticModel.spin_to_binary()method. -
Add
Variables._clear()method for use by classes that haveVariablesas an attribute. -
Add C++
dimod::QuadraticModel::clear()method. -
Add C++
dimod::BinaryQuadraticModel::clear()method. -
Add
QuadraticModel.clear()method. -
Add
BinaryQuadraticModel.clear()method. -
Add typing support for the
dimod.variables.Variablesclass. See #1221.
Bug Fixes
-
Fix
as_samples()when given aSampleSetand using thelabels_typekeyword argument. Previously it would raise aTypeError. This fix allows constructions likebqm.energies(sampleset)to function correctly. -
Refactor
dimod.typing.SamplesLikeanddimod.typing.SampleLike.SampleLikenow correctly includes constructions like([0, 1], 'ab'). -
Make
Vartype.INTEGERandVartype.REALpickleable. This fixes the pickling of many downstream objects likeQuadraticModelandSampleSet.
dwave-cloud-client 0.10.1 ➞ 0.10.2
New Features
- Add
estimate_qpu_access_timemethod todwave.cloud.solver.StructuredSolverto estimate quantum processing unit (QPU) access time for a submission to the selected solver.
dwave-hybrid 0.6.8 ➞ 0.6.9
New Features
-
Add
LatticeLNLSreference workflow for larger-than-QPU lattice-structured problems. See #263. -
Add
LatticeLNLSSampler, a dimod-compatible hybrid decomposition sampler for problems of lattice structure. -
Add
make_origin_embeddingsdecomposer that creates optimal embeddings for a QPU or cubic lattice.
Bug Fixes
- Support unorderable variables in energy based decomposer (fixes #273).
Package versions
dimod==0.11.5
dwave-cloud-client==0.10.2
dwave-greedy==0.2.5
dwave-hybrid==0.6.9
dwave-inspector==0.3.0
dwave-neal==0.5.9
dwave-networkx==0.8.12
dwave-preprocessing==0.4.0
dwave-system==1.15.0
dwave-tabu==0.4.5
dwavebinarycsp==0.2.0
minorminer==0.2.9
penaltymodel==1.0.2
# pyqubo==1.2.0