Skip to content

Releases: jcmgray/quimb

v1.8.4

20 Jul 21:00
Compare
Choose a tag to compare

What's Changed

  • fix MPS sample handling of RNG seed by @kevinsung in #248
  • fix bug in applying MPO lazily to MPS (#246)

New Contributors

Full Changelog: v1.8.3...v1.8.4

v1.8.3

10 Jul 23:20
Compare
Choose a tag to compare

Enhancements:

Full Changelog: v1.8.2...v1.8.3

v1.8.2

12 Jun 21:42
Compare
Choose a tag to compare

Enhancements:

  • TNOptimizer can now accept an arbitrary pytree (nested combination of dicts, lists, tuples, etc. with TensorNetwork, Tensor or raw array_like objects as the leaves) as the target object to optimize.
  • TNOptimizer can now directly optimize Circuit 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

  • @mlxd made their first contribution in #238

Full Changelog: v1.8.1...v1.8.2

v1.8.1

07 May 06:13
Compare
Choose a tag to compare

Enhancements:

Bug fixes:

New Contributors

Full Changelog: v1.8.0...v1.8.1

v1.8.0

10 Apr 21:55
Compare
Choose a tag to compare

Breaking Changes

Enhancements:

Bug fixes:

  • fix scipy sparse monkey patch for scipy>=1.13 (#222)
  • fix autoblock bug where connected sectors were not being merged (#223)

Full Changelog: v1.7.3...v1.8.0

v1.7.3

08 Feb 23:27
Compare
Choose a tag to compare

Enhancements:

  • qu.randn: support dist="rademacher".
  • support dist and other randn options in various TN builders.

Bug fixes:

  • restore fallback (to scipy.linalg.svd with driver='gesvd') behavior for truncated SVD with numpy backend.

Full Changelog: v1.7.2...v1.7.3

v1.7.2

01 Feb 04:30
Compare
Choose a tag to compare

Bug fixes:

  • removed import of deprecated numba.generated_jit decorator.

Enhancements:

Full Changelog: v1.7.1...v1.7.2

v1.7.1

30 Jan 17:19
Compare
Choose a tag to compare

What's Changed

Enhancements:

Screenshot 2024-01-30 at 9 16 56 AM

Bug fixes:

  • fix bug in kruas_op when operator spanned multiple subsystems (#214)
  • fix bug in qr_stabilized when the diagonal of R has significant imaginary parts.
  • fix bug in quantum discord computation when the state was diagonal (#217)
  • Fix empty lines in dimacs by @jjcmoon in #215

New Contributors

Full Changelog: v1.7.0...v1.7.1

v1.7.0

08 Dec 21:35
Compare
Choose a tag to compare

Breaking Changes

  • Circuit : remove target_size in preparation for all contraction specifications to be encapsulated at the contract level (e.g. with cotengra)
  • some TN drawing options (mainly arrow options) have changed due to the backend change detailed below.

Enhancements:

Multi tag drawing support:

drawing-updates-banner

  • TensorNetwork.draw: use quimb.schematic for main backend="matplotlib" drawing. Enabling:
    1. multi tag coloring for single tensors
    2. arrows and labels on multi-edges
    3. better sizing of tensors using absolute units
    4. neater single tensor drawing, in 2D and 3D

Bug fixes:

  • fixed bug where an output index could be removed by squeezing when performing tensor network simplifications.

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

10 Sep 18:23
Compare
Choose a tag to compare

Breaking Changes

  • Quantum circuit RZZ definition corrected (angle changed by -1/2 to match qiskit).

Enhancements:

  • add OpenQASM 2.0 parsing support: :meth:Circuit.from_openqasm2_file
  • :class:Circuit: add RXX, RYY, CRX, CRY, CRZ, toffoli, fredkin, givens gates
  • truncate TN pretty html reprentation to 100 tensors for performance
  • add :meth:Tensor.sum_reduce and :meth:Tensor.vector_reduce
  • :meth:contract_compressed, default to 'virtual-tree' gauge
  • add :func:TN_rand_tree
  • experimental.operatorbuilder: fix parallel and heisenberg builder
  • make parametrized gate generation even more robost (ensure matching types so e.g. tensorflow can be used)

Bug fixes:

  • fix gauge size check for some backends

Full Changelog: v1.5.1...v1.6.0