-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/quimb-1.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/quimb-1.x
branch
from
March 15, 2023 17:03
af22496
to
c95617a
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
May 4, 2023 05:35
c95617a
to
e44a4f8
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
July 28, 2023 16:56
e44a4f8
to
fa48cf8
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
September 10, 2023 20:24
fa48cf8
to
a9782e6
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
December 8, 2023 22:03
a9782e6
to
6b9ed7e
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
January 30, 2024 20:08
6b9ed7e
to
abef9a9
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
2 times, most recently
from
February 9, 2024 00:26
014e942
to
944c8a9
Compare
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
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
April 11, 2024 02:08
944c8a9
to
c072bde
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
May 7, 2024 07:45
c072bde
to
a640922
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
June 12, 2024 23:43
a640922
to
ee743f4
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
July 11, 2024 00:36
ee743f4
to
3b58448
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
July 20, 2024 22:44
3b58448
to
82edcfd
Compare
renovate
bot
force-pushed
the
renovate/quimb-1.x
branch
from
November 20, 2024 04:28
82edcfd
to
c4fa401
Compare
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
bot
force-pushed
the
renovate/quimb-1.x
branch
from
December 19, 2024 00:58
c4fa401
to
c108c6a
Compare
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
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.4.0
->1.10.0
Release Notes
jcmgray/quimb (quimb)
v1.10.0
Compare Source
Enhancements
method="tree"
for when ansatz is a tree -tensor_network_fit_tree
method="als"
for complex dtype networksmethod="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 viaoutput_inds
kwargtn.make_overlap
andtn.overlap
for computing the overlap between two tensor networks,output_inds
totn.norm
andtn.make_norm
also, as well as thesquared
kwarg.numba
based paralellism (prange
and parallel vectorize) with explicit thread pool based parallelism. Should be more reliable and no need to setNUMBA_NUM_THREADS
anymore. Remove env varQUIMB_NUMBA_PAR
.Circuit
: adddtype
andconvert_eager
options.dtype
specifies what the computation should be performed in.convert_eager
specifies whether to apply this (and anyto_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
: addcheck_zero
(by default set of"auto"
) option which explicitly checks for zero tensor norms when equalizing norms to avoidlog10(norm)
resulting in -inf or nan. Since it creates a data dependency that breaks e.g.jax
tracing, it is optional.schematic.Drawing
: addshorten
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
MatrixProductState.partial_trace
andMatrixProductState.ptr
to MatrixProductState.partial_trace_to_mpo to avoid confusion with otherpartial_trace
methods that usually produce a dense matrix.Enhancements:
Circuit.sample_gate_by_gate
and related methodsCircuitMPS.reordered_gates_dfs_clustered
andCircuitMPS.get_qubit_distances
for sampling a circuit using the 'gate by gate' method introduced in https://arxiv.org/abs/2112.08499.Circuit.draw
for drawing a very simple circuit schematic.Circuit
: by default turn onsimplify_equalize_norms
and use agroup_size=10
for sampling. This should result in faster and more stable sampling.Circuit
: usenumpy.random.default_rng
for random number generation.qtn.circ_a2a_rand
for generating random all-to-all circuits.qtn.edge_coloring
as top level function and allow layers to be returned grouped.tn.contract_compressed
and by default pick up important settings from the supplied contraction path optimizer (max_bond
andcompress_late
)Tensor.rand_reduce
for randomly removing a tensor index by contracting a random vector into it. One can also supply the value"r"
toisel
selectors to use this.fit-zipup
andfit-projector
shorthand methods to the general 1d tensor network compression functionMatrixProductState.compute_local_expectation
for computing many local expectations for a MPS at once, to match the interface for this method elsewhere. These can either be computed via canonicalization (method="canonical"
), or via explicit left and right environment contraction (method="envs"
)CircuitMPS.local_expectation
to make use of the MPS form.PEPS.product_state
for constructing a PEPS representing a product state.PEPS.vacuum
for constructing a PEPS representing the vacuum statePEPS.zeros
for constructing a PEPS whose entries are all zero.tn.gauge_all_simple
: improve scheduling and adddamping
andtouched_tids
options.qtn.SimpleUpdateGen
: add gauge difference update checking andtol
andequilibrate
settings. Update.plot()
method. Default to a smallcutoff
.psi.sample_configuration_cluster
for sampling a tensor network using the simple update or cluster style environment approximation.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:
MatrixProductState.sample_configuration
andMatrixProductState.sample
(generating multiple samples) and use these forCircuitMPS.sample
andCircuitPermMPS.sample
.SimpleUpdate
] classesedges_1d_chain
for generating 1D chain edgesFull 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. 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.tn.gen_inds_loops
for generating all loops of indices in a TN.tn.gen_inds_connected
for generating all connected sets of indices in a TN.approx_spectral_function
add plotting and trackingNew Contributors
Full Changelog: jcmgray/quimb@v1.8.1...v1.8.2
v1.8.1
Compare Source
Enhancements:
CircuitMPS
now supports multi qubit gates, including arbitrary multi-controls (which are treated in a low-rank manner), and faster simulation via better orthogonality center tracking.CircuitPermMPS
, more docs here: https://quimb.readthedocs.io/en/latest/tensor-circuit-mps.htmlMatrixProductState.gate_nonlocal
for applying a gate, supplied as a raw matrix, to a non-local and arbitrary number of sites. The kwargcontract="nonlocal"
can be used to force this method, or the new option"auto-mps"
will select this method if the gate is non-local (https://github.com/jcmgray/quimb/issues/230)MatrixProductState.gate_with_mpo
for applying an MPO to an MPS, and immediately compressing back to MPS form usingtensor_network_1d_compress
MatrixProductState.gate_with_submpo
for applying an MPO acting only of a subset of sites to an MPSMatrixProductOperator.from_dense
for constructing MPOs from dense matrices, including an only subset of sitesMatrixProductOperator.fill_empty_sites
for 'completing' an MPO which only has tensors on a subset of sites with (by default) identitiesMatrixProductState
andMatrixProductOperator
, now support thesites
kwarg in common constructors, enabling the TN to act on a subset of the fullL
sites.TensorNetwork.drape_bond_between
for 'draping' an existing bond between two tensors through a thirdTensor.new_ind_pair_with_identity
TN_classical_partition_function_from_edges
) now all supportoutputs=
kwarg specifying non-marginalized variablesD1BP
qtn.enforce_1d_like
for checking whether a tensor network is 1D-like, including automatically adding strings of identities between non-local bonds, expanding applicability oftensor_network_1d_compress
MatrixProductState.canonicalize
as (by default non-inplace) version ofcanonize
, to follow the pattern of other tensor network methods.canonize
is now an alias forcanonicalize_
[note trailing underscore].MatrixProductState.left_canonicalize
as (by default non-inplace) version ofleft_canonize
, to follow the pattern of other tensor network methods.left_canonize
is now an alias forleft_canonicalize_
[note trailing underscore].MatrixProductState.right_canonicalize
as (by default non-inplace) version ofright_canonize
, to follow the pattern of other tensor network methods.right_canonize
is now an alias forright_canonicalize_
[note trailing underscore].Bug fixes:
Circuit.apply_gate_raw
: fix kwarg bug (https://github.com/jcmgray/quimb/pull/226) by @juliendrapeauopt_einsum.PathInfo
for single scalar contraction (https://github.com/jcmgray/quimb/issues/231).New Contributors
Full Changelog: jcmgray/quimb@v1.8.0...v1.8.1
v1.8.0
Compare Source
Breaking Changes
TensorNetwork.compress_all
now defaults to using some local gaugingEnhancements:
add
quimb.tensor.tensor_1d_compress.py
with functions for compressing generic 1D tensor networks (with arbitrary local structure) using various methods. The methods are:tensor_network_1d_compress_direct
tensor_network_1d_compress_dm
tensor_network_1d_compress_zipup
tensor_network_1d_compress_zipup_first
tensor_network_1d_compress_fit
And can be accessed via the unified function
tensor_network_1d_compress
. Boundary contraction in 2D can now utilize any of these methods.add
quimb.tensor.tensor_arbgeom_compress.py
with functions for compressing arbitrary geometry tensor networks using various methods. The methods are:tensor_network_ag_compress_local_early
tensor_network_ag_compress_local_late
tensor_network_ag_compress_projector
tensor_network_ag_compress_superorthogonal
tensor_network_ag_compress_l2bp
And can be accessed via the unified function
tensor_network_ag_compress
. 1D compression can also fall back to these methods.support PBC in
tn2d.contract_hotrg
,tn2d.contract_ctmrg
,tn3d.contract_hotrg
and the new functiontn3d.contract_ctmrg
.support PBC in
gen_2d_bonds
andgen_3d_bonds
, withcyclic
kwarg.support PBC in
TN2D_rand_hidden_loop
andTN3D_rand_hidden_loop
, withcyclic
kwarg.support PBC in the various base PEPS and PEPO construction methods.
add
tensor_network_apply_op_op
for applying 'operator' TNs to 'operator' TNs.tweak
tensor_network_apply_op_vec
for applying 'operator' TNs to 'vector' or 'state' TNs.add$x \rightarrow A x$ .
tnvec.gate_with_op_lazy
method for applying 'operator' TNs to 'vector' or 'state' TNs likeadd$B \rightarrow A B$ .
tnop.gate_upper_with_op_lazy
method for applying 'operator' TNs to the upper indices of 'operator' TNs likeadd$B \rightarrow B A$ .
tnop.gate_lower_with_op_lazy
method for applying 'operator' TNs to the lower indices of 'operator' TNs likeadd$B \rightarrow A B A^\dagger$ .
tnop.gate_sandwich_with_op_lazy
method for applying 'operator' TNs to the upper and lower indices of 'operator' TNs likeunify all TN summing routines into
tensor_network_ag_sum
, which allows summing any two tensor networks with matching site tags and outer indices, replacing specific MPS, MPO, PEPS, PEPO, etc. summing routines.add
rand_symmetric_array
,rand_tensor_symmetric
TN2D_rand_symmetric
for generating random symmetric arrays, tensors and 2D tensor networks.Bug fixes:
Full Changelog: jcmgray/quimb@v1.7.3...v1.8.0
v1.7.3
Compare Source
Enhancements:
dist="rademacher"
.dist
and otherrandn
options in various TN builders.Bug fixes:
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:
numba.generated_jit
decorator.Enhancements:
normalized=True
option totensor_network_distance
for computing the normalized distance between tensor networks:Tensor.distance_normalized
andTensorNetwork.distance_normalized
added as aliases.TensorNetwork.cut_bond
for cutting a bond indexFull Changelog: jcmgray/quimb@v1.7.1...v1.7.2
v1.7.1
Compare Source
What's Changed
Enhancements:
TensorNetwork.visualize_tensors
for visualizing the actual data entries of an entire tensor network.ham.build_mpo_propagator_trotterized
for building a trotterized propagator from a local 1D hamiltonian. This also includes updates for creating 'empty' tensor networks usingTensorNetwork.new
, and building up gates from empty tensor networks usingTensorNetwork.gate_inds_with_tn
.Tensor.expand_ind
andTensor.new_ind
: repeat tiling mode and random padding mode.eigh_truncated
backend agnostic.tensor_compress_bond
: addreduced="left"
andreduced="right"
modes for when the pair of tensors is already in a canonical form.qtn.TN2D_embedded_classical_ising_partition_function
for constructing 2D (triangular) tensor networks representing all-to-all classical ising partition functions.Bug fixes:
kruas_op
when operator spanned multiple subsystems (#214)qr_stabilized
when the diagonal ofR
has significant imaginary parts.New Contributors
Full Changelog: jcmgray/quimb@v1.7.0...v1.7.1
v1.7.0
Compare Source
Breaking Changes
Circuit
: removetarget_size
in preparation for all contraction specifications to be encapsulated at the contract level (e.g. withcotengra
)Enhancements:
Multi tag drawing support:
quimb.schematic
for mainbackend="matplotlib"
drawing. Enabling:schematic
. Add methodstext_between
,wedge
,line_offset
and other tweaks for future use by main TN drawing.cotengra
as the backendCircuit
: allow any gate to be controlled by any number of qubits.Circuit
: support for parsingopenqasm2
specifications now with custom and nested gate definitions etc.is_cyclic_x
,is_cyclic_y
) andis_cyclic_z
to TensorNetwork2D and TensorNetwork3D.quimb.experimental.belief_propagation
: add various 1-norm/2-norm dense/lazy BP algorithms.Bug fixes:
New Contributors
Full Changelog: jcmgray/quimb@v1.6.0...v1.7.0
v1.6.0
Compare Source
Breaking Changes
Enhancements:
Circuit.from_openqasm2_file
Circuit
: add RXX, RYY, CRX, CRY, CRZ, toffoli, fredkin, givens gatesTensor.sum_reduce
and :meth:Tensor.vector_reduce
contract_compressed
, default to 'virtual-tree' gaugeTN_rand_tree
experimental.operatorbuilder
: fix parallel and heisenberg builderBug fixes:
Full Changelog: jcmgray/quimb@v1.5.1...v1.6.0
v1.5.1
Compare Source
Tensor.check()
andTensorNetwork.check()
for diagnosticsTensorNetwork.isconnected()
,TensorNetwork.istree()
Full Changelog: jcmgray/quimb@v1.5.0...v1.5.1
v1.5.0
Compare Source
Enhancements
"torch_householder" methods. See :func:
quimb.tensor.decomp.isometrize
.~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.
mode="projector"
option for 2D tensor network contractions: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
,:meth:
~quimb.tensor.tensor_2d.TensorNetwork2D.contract_ctmrg
:func:
~quimb.tensor.tensor_builder.TN2D_corner_double_line
furo <https://pradyunsg.me/furo/>
_ theme,myst_nb <https://myst-nb.readthedocs.io/en/latest/>
_ for notebooks, andseveral other
sphinx
extensions.'adabelief'
optimizer to:class:
~quimb.tensor.optimize.TNOptimizer
as well as a quick plotter::meth:
~quimb.tensor.optimize.TNOptimizer.plot
TensorNetwork.draw(dim=3, backend='matplotlib3d')
orTensorNetwork.draw(dim=3, backend='plotly')
). The new
backend='plotly'
can also be used for 2D interactive plots.~quimb.tensor.tensor_builder.HTN_from_cnf
to handle moreweighted model counting formats.
~quimb.tensor.tensor_builder.cnf_file_parse
~quimb.tensor.tensor_builder.random_ksat_instance
~quimb.tensor.tensor_builder.TN_from_strings
~quimb.tensor.tensor_builder.convert_to_2d
~quimb.tensor.tensor_builder.TN2D_rand_hidden_loop
~quimb.tensor.tensor_builder.convert_to_3d
~quimb.tensor.tensor_builder.TN3D_corner_double_line
~quimb.tensor.tensor_builder.TN3D_rand_hidden_loop
construction time.
'lu'
,'polar_left'
and'polar_right'
methods to:func:
~quimb.tensor.tensor_core.tensor_split
.~quimb.tensor.tensor_core.TensorNetwork
: allow empty constructor(i.e. no tensors representing simply the scalar 1)
~quimb.tensor.tensor_core.TensorNetwork.drop_tags
: allow all tags tobe dropped
~quimb.tensor.tensor_core.TensorNetwork.combine
for unifiedhandling of combining
tensor networks potentially with structure
quimb.experimental.cluster_update.py
Bug fixes:
~quimb.tensor.decomp.qr_stabilized
bug for strictly uppertriangular R factors.
Full Changelog: jcmgray/quimb@1.4.2...v1.5.0
v1.4.2
Compare Source
Add automatic building and publishing of
quimb
topypi
.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.
This PR was generated by Mend Renovate. View the repository job log.