v1.8.2
Enhancements:
TNOptimizer
can now accept an arbitrary pytree (nested combination of dicts, lists, tuples, etc. withTensorNetwork
,Tensor
or rawarray_like
objects as the leaves) as the target object to optimize.TNOptimizer
can now directly optimizeCircuit
objects, returning a new optimized circuit with updated parameters.Circuit
: add.copy()
,.get_params()
and.set_params()
interface methods.- Update generic TN optimizer docs.
- add
tn.gen_inds_loops
for generating all loops of indices in a TN. - add
tn.gen_inds_connected
for generating all connected sets of indices in a TN. - make SVD fallback error catching more generic (by @mlxd in #238)
- fix some windows + numba CI issues.
approx_spectral_function
add plotting and tracking- add dispatching to various tensor primitives to allow overriding
New Contributors
Full Changelog: v1.8.1...v1.8.2