EigenDecompositionApproachKrylovConfig#

class cuquantum.densitymat.EigenDecompositionApproachKrylovConfig(
max_dim: int | None = None,
max_restarts: int | None = None,
min_block_size: int | None = None,
)[source]#

A data class for the block-Krylov approach configuration of EigenDecomposition.

max_dim#

Maximum ratio of the total number of blocks in the Krylov subspace to the number of requested eigenvalues. If not specified, a default value will be chosen. Must be greater than 1. Defaults to 5.

Type:

int | None

max_restarts#

Maximum number of restart cycles allowed during the iterative eigenvalue computation. If not specified, a default value will be chosen. Defaults to 19.

Type:

int | None

min_block_size#

Minimum number of Krylov subspace vectors to use in the block iterative method. A larger value may improve convergence but increases memory usage and computational cost. If not specified, a default value will be chosen. Defaults to 1.

Type:

int | None