cuquantum.cutensornet.experimental.MPSConfig¶
- class cuquantum.cutensornet.experimental.MPSConfig(max_extent: Optional[int] = None, canonical_center: Optional[int] = None, abs_cutoff: Optional[float] = None, rel_cutoff: Optional[float] = None, normalization: Optional[str] = None, discarded_weight_cutoff: Optional[float] = None, algorithm: Optional[str] = None, mpo_application: Optional[str] = None, gesvdj_tol: Optional[float] = 0, gesvdj_max_sweeps: Optional[int] = 0, gesvdr_oversampling: Optional[int] = 0, gesvdr_niters: Optional[int] = 0)[source]¶
A data class for MPS based tensor network simulation configuration that can be provided to the
NetworkState
object.- max_extent¶
The maximal extent for truncation. If not provided, no extent truncation will be performed.
- Type
- canonical_center¶
The canonical center for the final MPS. If not provided, no canonicalization will be performed.
- Type
- abs_cutoff¶
The absolute value cutoff for MPS SVD truncation. If not provided, no truncation will be performed.
- Type
- rel_cutoff¶
The relative value cutoff for MPS SVD truncation. If not provided, no truncation will be performed.
- Type
- normalization¶
The normalization option for MPS SVD operations. If not provided, no normalization will be performed.
- Type
- discarded_weight_cutoff¶
The discarded weight cutoff for MPS SVD truncation. If not provided, no truncation will be performed.
- Type
- algorithm¶
The SVD algorithm for the MPS SVD computation. It can be
"gesvd"
(default),"gesvdj"
,"gesvdp"
or"gesvdr"
.- Type
- mpo_application¶
The option for MPS-MPO operations. It can be
"approximate"
(default) or"exact"
.- Type