cuquantum.PathFinderOptions

class cuquantum.PathFinderOptions(num_partitions: Optional[int] = None, cutoff_size: Optional[int] = None, algorithm: Optional[int] = None, imbalance_factor: Optional[int] = None, num_iterations: Optional[int] = None, num_cuts: Optional[int] = None)

A data class for capturing the path finder options.

num_partitions

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_NUM_PARTITIONS.

Type

Optional[int]

cutoff_size

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_CUTOFF_SIZE.

Type

Optional[int]

algorithm

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_ALGORITHM.

Type

Optional[int]

imbalance_factor

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_IMBALANCE_FACTOR.

Type

Optional[int]

num_iterations

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_NUM_ITERATIONS.

Type

Optional[int]

num_cuts

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_NUM_CUTS.

Type

Optional[int]