0.5.0
Summary
Add support for fast anneal protocol and improve performance.
New Features
- Add support for fast anneal protocol. Display the new solver parameter
fast_anneal
and the new solver propertyfast_anneal_time_range
in the visualizer. See #170
- Replace builtin JSON encoder with
orjson
, achieving 2-5x speed-up of problem and solver API endpoints.
- Replace
WSGIAsyncServer
withdwave.cloud.auth.server.BackgroundAppServer
, a more robust and stable multi-threaded server. By using a multi-threaded server we improve the visualizer app load time, as browsers can download static files and make API requests in parallel now. See #165.
Upgrade Notes
dwave.inspector.utils.NumpyJSONProvider
is removed and no longer available. Useorjson.dumps
withoption=orjson.OPT_SERIALIZE_NUMPY
instead.
Bug Fixes
- Omit legacy solver parameters, like
num_spin_reversal_transforms
and postprocessing params (postprocess
,beta
,chains
) from the visualizer. See #166 and #168.
- Improve performance of the inspector server by postprocessing solver data inplace, saving one deep copy of solver metadata (~600kB for Advantage) on each API request of solver data.