Python objects

Objects

NetworkState(state_mode_extents, *[, dtype, ...])

Create an empty tensor network state.

NetworkOperator(state_mode_extents[, dtype, ...])

Create a tensor network operator object.

ContractDecomposeAlgorithm(qr_method, ...)

A data class for specifying the algorithm to use for the contract and decompose operations.

ContractDecomposeInfo(qr_method, svd_method)

A data class for capturing contract-decompose information.

MPSConfig([max_extent, canonical_center, ...])

A data class for MPS based tensor network simulation configuration that can be provided to the NetworkState object.

TNConfig([num_hyper_samples])

A data class for contraction based tensor network simulation configuration that can be provided to the NetworkState object.

Python functions

Tensor Network Decompose API

contract_decompose(subscripts, *operands[, ...])

Evaluate the compound expression for contraction and decomposition on the input operands.