PathFinderOptions#

class cuquantum.tensornet.PathFinderOptions(
num_partitions: int | None = None,
cutoff_size: int | None = None,
algorithm: int | None = None,
imbalance_factor: int | None = None,
num_iterations: int | None = None,
num_cuts: int | None = None,
)#

A data class for capturing the path finder options.

num_partitions#

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_NUM_PARTITIONS.

Type:

int | None

cutoff_size#

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_CUTOFF_SIZE.

Type:

int | None

algorithm#

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_ALGORITHM.

Type:

int | None

imbalance_factor#

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_IMBALANCE_FACTOR.

Type:

int | None

num_iterations#

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_NUM_ITERATIONS.

Type:

int | None

num_cuts#

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_GRAPH_NUM_CUTS.

Type:

int | None