Skip to content

9.3.0

Latest

Choose a tag to compare

@randomir randomir released this 22 Jan 20:39
· 24 commits to master since this release
db86901

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_embeddings as argument for LNLS reference example. See #309.

Bug Fixes

  • Fix exclude_dims incorrect 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 MatrixMultiplication symbol and corresponding method
    matmul. The matmul method follows the behavior of NumPy's
    matmul, meaning that it works with matrices, vectors, and higher
    order arrays.
  • Add Tanh symbol to support hyperbolic tangent. See #445.
  • Add C++ TanhNode to 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.typing module.
  • 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 of 0, 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 to dwave.optimization.generators. The
    predict() function accepts a fitted
    sklearn.neural_network.MLPCLassifier or
    sklearn.neural_network.MLPRegressor and a symbol representing X,
    and returns a symbol encoding the prediction of the estimator.

Upgrade Notes

  • Opt ArraySymbol out of NumPy interoperability. This means that
    trying to use an ArraySymbol with most NumPy functions/operators
    will fail. Prefer to use the functions in
    dwave.optimization.mathematical.
  • Rename C++ broadcast_shape() to broadcast_shapes() for
    consistency with NumPy.
  • Change the definition of ArrayNode::dynamic() to return true if
    ArrayNode::shape()[0] < 0. That is, if the shape is
    state-dependent. Previously ArrayNode::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 with ArraySymbol.
  • Fix the maximum possible value reported by SetNode::max().
    Previously it would erroneously return a value derived from the
    maximum subset size.
  • Fix BinaryOpNode at 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
    BroadcastTo symbol.
  • Support broadcasting arrays to a shape with a 0 in one or more
    dimensions with the BroadcastTo symbol.
  • 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
    ConstantNode at 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