seemps.analysis.comptree.mps_binary_tree#

seemps.analysis.comptree.mps_binary_tree(binary_tree: BinaryTree) SparseMPS[source]#

Compute the MPS representation of a multivariate function encoded as a BinaryTree.

Returns an SparseMPS, whose cores are highly sparse and represented as collections of CSR matrices. Source: https://arxiv.org/abs/2206.03832

Parameters:
binary_treeBinaryTree

Binary computation-tree representation of the target function.

Returns:
SparseMPS

Sparse MPS approximation of the target multivariate function.