Changelog
dwave-cloud-client 0.14.3 ➞ 0.14.4
Bug Fixes
- Correctly filter secrets from structured logs. See #739.
dwave-hybrid 0.6.14 ➞ 0.6.15
New Features
-
Add Python 3.14 support. See #308.
-
Add
origin_embeddingsas argument for LNLS reference example. See #309.
Bug Fixes
- Fix
exclude_dimsincorrect enumeration. See #309.
Upgrade Notes
- Drop support for Python 3.9. See #308.
dwave-optimization 0.6.9 ➞ 0.6.11
New Features
- Add the
MatrixMultiplicationsymbol and corresponding method
matmul. Thematmulmethod follows the behavior of NumPy's
matmul, meaning that it works with matrices, vectors, and higher
order arrays. - Add
Tanhsymbol to support hyperbolic tangent. See #445. - Add C++
TanhNodeto support hyperbolic tangent. - Add Python
broadcast_shapes()function. - Add
subtract()function. - Add
equal()function. - Add
less_equal()function. - Automatically broadcast when using binary operators with array
symbols. - Add
dwave.optimization.typingmodule. - Allow array symbols to have a state-dependent shape while not having
a state-dependent size. For example, an array with shape(n, 0)
will always have a size of0, but the shape is state-dependent.
Arrays with a state-dependent size always have a state-depenent
shape. - Add C++
is_contiguous()function. - Add
predict()function todwave.optimization.generators. The
predict()function accepts a fitted
sklearn.neural_network.MLPCLassifieror
sklearn.neural_network.MLPRegressorand a symbol representingX,
and returns a symbol encoding the prediction of the estimator.
Upgrade Notes
- Opt
ArraySymbolout of NumPy interoperability. This means that
trying to use anArraySymbolwith most NumPy functions/operators
will fail. Prefer to use the functions in
dwave.optimization.mathematical. - Rename C++
broadcast_shape()tobroadcast_shapes()for
consistency with NumPy. - Change the definition of
ArrayNode::dynamic()to returntrueif
ArrayNode::shape()[0] < 0. That is, if the shape is
state-dependent. PreviouslyArrayNode::dynamic()returned true if
the size was state-dependent. - Remove C++
Array::is_contiguous()protected method.
Bug Fixes
- Fix type promotion when using NumPy arrays as the left-hand-side of
operations withArraySymbol. - Fix the maximum possible value reported by
SetNode::max().
Previously it would erroneously return a value derived from the
maximum subset size. - Fix
BinaryOpNodeat C++ level so that it does not
accept predecessors that have different, broadcastable shape if they
have the same size. - Disallow broadcasting a fixed size array to a dynamic shape with
BroadcastTosymbol. - Support broadcasting arrays to a shape with a
0in one or more
dimensions with theBroadcastTosymbol. - Fix reductions over empty dynamic arrays.
- Fix basic indexing that results in empty dynamic arrays.
- Fix
BroadcastToNode::contiguous()method, previously it would
always report that the node was not contiguous. - Provide a meaningful error message when attempting to make a dynamic
ConstantNodeat the C++ level. - Provide a meaningful error message when attempting to make a dynamic
NumberNode at the C++ level.
Package versions
dimod==0.12.21
dwave-cloud-client==0.14.4
dwave-gate==0.3.5
dwave-hybrid==0.6.15
dwave-inspector==0.5.5
dwave-networkx==0.8.18
dwave-optimization==0.6.11
dwave-preprocessing==0.6.11
dwave-samplers==1.7.0
dwave-system==1.34.0
minorminer==0.2.21
penaltymodel==1.3.0