Releases: dwavesystems/dimod
Releases · dwavesystems/dimod
0.8.5
New Features
SampleSet.truncate
methodBinaryQuadraticModel.to_serializable
bias_dtype and bytes_type parameters
Fixes
BinaryQuadraticModel
s are now pickleable in python2.7- Some bug fixes in
BinaryQuadraticModel.to_serializable
0.8.4
New Features
assert_bqm_almost_equal
function for testingScaleComposite
sample_column
optional keyword argument forSampleSet.to_pandas_df
sample_dict_cast
optional keyword argument forSampleSet.data
Fixes
BQM.normalize
now ignores ignored variables/interactions when determining scale
0.8.3
New Features
- Faster
BQM.add_interaction
HigherOrderComposite
reverse
kwarg forSampleSet.data
BQM
alias forBinaryQuadraticModel
SampleSet.__str__
for nicer printing of samplesets
Fixes
- Fix empty
SampleSet
- Fix import warning for collections package in python 3.7
- Remove unnecessary type check in
BQM.scale
0.8.2
Bug Fixes
- Return dict from
BinaryQuadraticModel.to_ising
rather thanLinearView
/QuadraticView
0.8.1
New Features
concatenate
function for combining sample setsSampleSet.aggregate
method to aggregate repeated samplesSampleSet.from_samples_bqm
constructor to construct sample sets from raw samples and a binary quadratic model
0.8.0
Changes
- Removed
OrderedBinaryQuadraticModel
- Change the way the
BinaryQuadraticModel
stores the biases to speed up calculations and to save memory - Deprecated
Response
in favour ofSampleSet
.Response
is targeted to be removed in 0.9.0 release - Updated reference samples and composites to use
SampleSet
- Moved
dimod.io
namespace underdimod.serialization
- Removed
dimod.embedding
subpackage, it is now part of dwave-system underdwave.embedding
namespace.
New Features
BinaryQuadraticModel.normalize
method, thanks @wbernoudyBinaryQuadraticModel.fix_variables
methodBinaryQuadraticModel.energies
methodSampleSet.to_pandas
methodFixedVariableComposite
, thanks @conta877poly_energy
andpoly_energies
function for higher order polynomials, thanks @conta877- Parameter to ignore some variables/interactions in
BinaryQuadraticModel.normalize
andBinaryQuadraticModel.scale
methods, thanks @conta877 - Fix broken documentation link, thanks @schnorea
0.7.9
- Support empty
SampleSet
objects - Update assert
response_energies
to work withSampleSet
0.7.8
- Bugfixes
0.7.7
- New
SampleSet
class as a superclass forResponse
0.7.6
Allow failure of c++ extension install