Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency quimb to v1.10.0 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 2, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
quimb (changelog) 1.4.0 -> 1.10.0 age adoption passing confidence

Release Notes

jcmgray/quimb (quimb)

v1.10.0

Compare Source

Enhancements

  • tensor network fitting: add method="tree" for when ansatz is a tree - tensor_network_fit_tree
  • tensor network fitting: fix method="als" for complex dtype networks
  • tensor network fitting: allow method="als" to use a iterative solver suited to much larger tensors, by default a custom conjugate gradient implementation.
  • tensor_network_distance and fitting: support hyper indices explicitly via output_inds kwarg
  • add tn.make_overlap and tn.overlap for computing the overlap between two tensor networks, $\langle O |T \rangle$, with explicit handling of outer indices to address hyper networks. Add output_inds to tn.norm and tn.make_norm also, as well as the squared kwarg.
  • replace all numba based paralellism (prange and parallel vectorize) with explicit thread pool based parallelism. Should be more reliable and no need to set NUMBA_NUM_THREADS anymore. Remove env var QUIMB_NUMBA_PAR.
  • Circuit: add dtype and convert_eager options. dtype specifies what the computation should be performed in. convert_eager specifies whether to apply this (and any to_backend calls) as soon as gates are applied (the default for MPS circuit simulation) or just prior to contraction (the default for exact contraction simulation).
  • tn.full_simplify: add check_zero (by default set of "auto") option which explicitly checks for zero tensor norms when equalizing norms to avoid log10(norm) resulting in -inf or nan. Since it creates a data dependency that breaks e.g. jax tracing, it is optional.
  • schematic.Drawing: add shorten kwarg to line drawing and curve drawing and examples to the docs.
  • TensorNetwork: add .backend and .dtype_name properties.

PRs:

Full Changelog: jcmgray/quimb@v1.9.0...v1.10.0

v1.9.0

Compare Source

Breaking Changes

  • renamed MatrixProductState.partial_trace and MatrixProductState.ptr to MatrixProductState.partial_trace_to_mpo to avoid confusion with other partial_trace methods that usually produce a dense matrix.

Enhancements:

v1.8.4

Compare Source

What's Changed

New Contributors

Full Changelog: jcmgray/quimb@v1.8.3...v1.8.4

v1.8.3

Compare Source

Enhancements:

Full Changelog: jcmgray/quimb@v1.8.2...v1.8.3

v1.8.2

Compare Source

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 https://github.com/jcmgray/quimb/pull/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: jcmgray/quimb@v1.8.1...v1.8.2

v1.8.1

Compare Source

Enhancements:

Bug fixes:

New Contributors

Full Changelog: jcmgray/quimb@v1.8.0...v1.8.1

v1.8.0

Compare Source

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: jcmgray/quimb@v1.7.3...v1.8.0

v1.7.3

Compare Source

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: jcmgray/quimb@v1.7.2...v1.7.3

v1.7.2

Compare Source

Bug fixes:

  • removed import of deprecated numba.generated_jit decorator.

Enhancements:

Full Changelog: jcmgray/quimb@v1.7.1...v1.7.2

v1.7.1

Compare Source

What's Changed

Enhancements:

Screenshot 2024-01-30 at 9 16 56 AM

Bug fixes:

New Contributors

Full Changelog: jcmgray/quimb@v1.7.0...v1.7.1

v1.7.0

Compare Source

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: jcmgray/quimb@v1.6.0...v1.7.0

v1.6.0

Compare Source

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: jcmgray/quimb@v1.5.1...v1.6.0

v1.5.1

Compare Source

  • add various MPO-MPS gate methods, including zip-up and density matrix, in the experimental submodule
  • some PTensor refactoring
  • Circuit: more robust parametrized gate generation
  • various new contraction convenience interfaces (incld. array_contract)
  • add Tensor.check() and TensorNetwork.check() for diagnostics
  • add TensorNetwork.isconnected(), TensorNetwork.istree()

Full Changelog: jcmgray/quimb@v1.5.0...v1.5.1

v1.5.0

Compare Source

Enhancements

  • refactor 'isometrize' methods including new "cayley", "householder" and
    "torch_householder" methods. See :func:quimb.tensor.decomp.isometrize.
  • add :meth:~quimb.tensor.tensor_core.TensorNetwork.compute_reduced_factor
    and :meth:~quimb.tensor.tensor_core.TensorNetwork.insert_compressor_between_regions
    methos, for some RG style algorithms.
  • add the mode="projector" option for 2D tensor network contractions
  • add HOTRG style coarse graining and contraction in 2D and 3D. See
    :meth:~quimb.tensor.tensor_2d.TensorNetwork2D.coarse_grain_hotrg,
    :meth:~quimb.tensor.tensor_2d.TensorNetwork2D.contract_hotrg,
    :meth:~quimb.tensor.tensor_3d.TensorNetwork3D.coarse_grain_hotrg, and
    :meth:~quimb.tensor.tensor_3d.TensorNetwork3D.contract_hotrg,
  • add CTMRG style contraction for 2D tensor networks:
    :meth:~quimb.tensor.tensor_2d.TensorNetwork2D.contract_ctmrg
  • add 2D tensor network 'corner double line' (CDL) builders:
    :func:~quimb.tensor.tensor_builder.TN2D_corner_double_line
  • update the docs to use the furo <https://pradyunsg.me/furo/>_ theme,
    myst_nb <https://myst-nb.readthedocs.io/en/latest/>_ for notebooks, and
    several other sphinx extensions.
  • add the 'adabelief' optimizer to
    :class:~quimb.tensor.optimize.TNOptimizer as well as a quick plotter:
    :meth:~quimb.tensor.optimize.TNOptimizer.plot
  • add initial 3D plotting methods for tensors networks (
    TensorNetwork.draw(dim=3, backend='matplotlib3d') or
    TensorNetwork.draw(dim=3, backend='plotly')
    ). The new backend='plotly' can also be used for 2D interactive plots.
  • Update :func:~quimb.tensor.tensor_builder.HTN_from_cnf to handle more
    weighted model counting formats.
  • Add :func:~quimb.tensor.tensor_builder.cnf_file_parse
  • Add :func:~quimb.tensor.tensor_builder.random_ksat_instance
  • Add :func:~quimb.tensor.tensor_builder.TN_from_strings
  • Add :func:~quimb.tensor.tensor_builder.convert_to_2d
  • Add :func:~quimb.tensor.tensor_builder.TN2D_rand_hidden_loop
  • Add :func:~quimb.tensor.tensor_builder.convert_to_3d
  • Add :func:~quimb.tensor.tensor_builder.TN3D_corner_double_line
  • Add :func:~quimb.tensor.tensor_builder.TN3D_rand_hidden_loop
  • various optimizations for minimizing computational graph size and
    construction time.
  • add 'lu', 'polar_left' and 'polar_right' methods to
    :func:~quimb.tensor.tensor_core.tensor_split.
  • add experimental arbitrary hamilotonian MPO building
  • :class:~quimb.tensor.tensor_core.TensorNetwork: allow empty constructor
    (i.e. no tensors representing simply the scalar 1)
  • :meth:~quimb.tensor.tensor_core.TensorNetwork.drop_tags: allow all tags to
    be dropped
  • tweaks to compressed contraction and gauging
  • add jax, flax and optax example
  • add 3D and interactive plotting of tensors networks with via plotly.
  • add pygraphiviz layout options
  • add :meth:~quimb.tensor.tensor_core.TensorNetwork.combine for unified
    handling of combining
    tensor networks potentially with structure
  • add HTML colored pretty printing of tensor networks for notebooks
  • add quimb.experimental.cluster_update.py

Bug fixes:

  • fix :func:~quimb.tensor.decomp.qr_stabilized bug for strictly upper
    triangular R factors.

Full Changelog: jcmgray/quimb@1.4.2...v1.5.0

v1.4.2

Compare Source

Add automatic building and publishing of quimb to pypi.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/quimb-1.x branch from af22496 to c95617a Compare March 15, 2023 17:03
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.4.2 fix(deps): update dependency quimb to v1.5.0 May 4, 2023
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from c95617a to e44a4f8 Compare May 4, 2023 05:35
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.5.0 fix(deps): update dependency quimb to v1.5.1 Jul 28, 2023
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from e44a4f8 to fa48cf8 Compare July 28, 2023 16:56
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.5.1 fix(deps): update dependency quimb to v1.6.0 Sep 10, 2023
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from fa48cf8 to a9782e6 Compare September 10, 2023 20:24
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.6.0 fix(deps): update dependency quimb to v1.7.0 Dec 8, 2023
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from a9782e6 to 6b9ed7e Compare December 8, 2023 22:03
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.7.0 fix(deps): update dependency quimb to v1.7.1 Jan 30, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from 6b9ed7e to abef9a9 Compare January 30, 2024 20:08
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.7.1 fix(deps): update dependency quimb to v1.7.2 Feb 2, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch 2 times, most recently from 014e942 to 944c8a9 Compare February 9, 2024 00:26
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.7.2 fix(deps): update dependency quimb to v1.7.3 Feb 9, 2024
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.7.3 fix(deps): update dependency quimb to v1.8.0 Apr 11, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from 944c8a9 to c072bde Compare April 11, 2024 02:08
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.8.0 fix(deps): update dependency quimb to v1.8.1 May 7, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from c072bde to a640922 Compare May 7, 2024 07:45
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.8.1 fix(deps): update dependency quimb to v1.8.2 Jun 12, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from a640922 to ee743f4 Compare June 12, 2024 23:43
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.8.2 fix(deps): update dependency quimb to v1.8.3 Jul 11, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from ee743f4 to 3b58448 Compare July 11, 2024 00:36
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.8.3 fix(deps): update dependency quimb to v1.8.4 Jul 20, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from 3b58448 to 82edcfd Compare July 20, 2024 22:44
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from 82edcfd to c4fa401 Compare November 20, 2024 04:28
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.8.4 fix(deps): update dependency quimb to v1.9.0 Nov 20, 2024
@renovate renovate bot force-pushed the renovate/quimb-1.x branch from c4fa401 to c108c6a Compare December 19, 2024 00:58
@renovate renovate bot changed the title fix(deps): update dependency quimb to v1.9.0 fix(deps): update dependency quimb to v1.10.0 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants