cuquantum.tensornet.SlicerOptions

class cuquantum.tensornet.SlicerOptions(disable_slicing: int | None = None, memory_model: int | None = None, memory_factor: int | None = None, min_slices: int | None = None, slice_factor: int | None = None)

A data class for capturing the slicer options.

disable_slicing

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_SLICER_DISABLE_SLICING.

Type

int | None

memory_model

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_SLICER_MEMORY_MODEL.

Type

int | None

memory_factor

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_SLICER_MEMORY_FACTOR.

Type

int | None

min_slices

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_SLICER_MIN_SLICES.

Type

int | None

slice_factor

See CUTENSORNET_CONTRACTION_OPTIMIZER_CONFIG_SLICER_SLICE_FACTOR.

Type

int | None