quimb.experimental.misc.misc¶
Miscellaneous experimental functions.
Attributes¶
Functions¶
|
Contract a random vector with |
|
|
|
Compute the local TN around |
|
Use the full environment to try and temporarily gauge and compress. |
|
|
|
|
|
|
|
|
Module Contents¶
- quimb.experimental.misc.misc.rand_reduce(self, ind, rand_fn=None, inplace=False)¶
Contract a random vector with
ind, removing it from this tensor.
- quimb.experimental.misc.misc.rand_reduce_¶
- quimb.experimental.misc.misc._compress_between_local_reflect(self, tid1, tid2, method='svd', absorb='both', max_bond=None, cutoff=1e-10, cutoff_mode='rel', renorm=None, max_distance=1, smudge=1e-06, power=0.5, optimize=None, info=None)¶
- quimb.experimental.misc.misc._compute_tensor_pair_env(self, tids, select_local_distance=None, select_local_opts=None, max_bond=None, cutoff=None, contract_around_distance=1, contract_around_opts=None, include=None, exclude=None)¶
Compute the local TN around
tid, maybe approximately.
- quimb.experimental.misc.misc._compress_between_full_gauge_tids(self, tid1, tid2, max_bond=None, cutoff=0.0, absorb='both', select_local_distance=None, select_local_opts=None, env_max_bond='max_bond', env_cutoff='cutoff', contract_around_distance=1, contract_around_opts=None, env_optimize='auto-hq', env_split_opts=None, smudge=1e-12, include=None, exclude=None, **compress_opts)¶
Use the full environment to try and temporarily gauge and compress.
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┗━━━━━●━━━━━●━━━━━━━━U━s━VH━┛ (1) form and split the env
┊ 1 ┊ 2 ┊ ┈┈┈┈┈┈ lix bix rix env
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┗Gi━G━●━━━━━●━━G━Gi━━U━s━VH━┛ (2) gauge the tensors using split
-> <-
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┗━Gi━━○━━━━━○━━Gi━━━━U━s━VH━┛ (3) compress the gauged tensors
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┗━Gi━━○─────○━━Gi━━━━U━s━VH━┛ (4) ungauge the compressed tensors
-> <-
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┗━━━━━●─────●━━━━━━━━U━s━VH━┛
┈┈┈┈┈┈ env unchanged
- quimb.experimental.misc.misc.gauge_product_boundary_vector(self, tags, which='all', max_bond=1, smudge=1e-06, canonize_distance=0, select_local_distance=None, select_local_opts=None, inplace=False, **contract_around_opts)¶
- quimb.experimental.misc.misc._compress_between_virtual_dense_tids(self, tidl, tidr, max_bond, cutoff, r, absorb='both', include=None, exclude=None, span_opts=None, contract_opts=None, optimize='auto-hq', **compress_opts)¶
- quimb.experimental.misc.misc._compress_between_virtual_duotree_tids(self, tidl, tidr, max_bond, cutoff, r, absorb='both', include=None, exclude=None, span_opts=None, duo_exclude='tensor', **compress_opts)¶
- quimb.experimental.misc.misc.contract_greedily(self, max_score=0, max_contractions=float('inf'), cands=None, inplace=False)¶
- quimb.experimental.misc.misc.contract_greedily_¶
- quimb.experimental.misc.misc.all_mode_renormalization()¶