cuquantum.cutensornet.tensor.SVDInfo¶
- class cuquantum.cutensornet.tensor.SVDInfo(reduced_extent: int, full_extent: int, discarded_weight: float, algorithm: str, gesvdj_residual: Optional[float] = None, gesvdj_sweeps: Optional[int] = None, gesvdp_err_sigma: Optional[float] = None)[source]¶
A data class for holding information regarding SVD truncation at runtime.
Note
When the SVD algorithm is set to
"gesvdr"
with fixed extent truncation enabled incuquantum.cutensornet.tensor.SVDMethod
, the discarded weight will not be computed.