Expand description
Different methods to compute the computational and memory cost of contraction paths.
Functionsยง
- communication_
path_ cost - Returns Schroedinger contraction time and space complexity of fully contracting the input tensors assuming all operations occur in parallel.
- communication_
path_ op_ costs - Returns Schroedinger contraction time complexity using the critical path metric and using the sum metric. Additionally returns the space complexity.
- compute_
memory_ requirements - Computes the max memory requirements for contracting the tensor network using the
given path. Uses
memory_estimatorto compute the memory required to contract two tensors. - contract_
cost_ tensors - Returns Schroedinger contraction time complexity of contracting two
Tensorobjects. Considers cost of complex operations. - contract_
op_ cost_ tensors - Returns Schroedinger contraction time complexity of contracting two
Tensorobjects. Naive op cost, does not consider costs of multiplication. - contract_
path_ cost - Returns Schroedinger contraction time and space complexity of fully contracting the input tensors.
- contract_
size_ tensors - Returns Schroedinger contraction space complexity of contracting two
Tensorobjects. - contract_
size_ tensors_ exact - Returns a rather exact estimate of the memory requirements for
contracting tensors
iandj.