This is a Python module and Jupyter notebook for tensor scaling, computing entanglement polytopes, and solving the one-body quantum marginal problem. It based on the algorithm proposed in our recent paper.
@article{tensorscaling,
title={Efficient algorithms for tensor scaling, quantum marginals and moment polytopes}
author={Peter Bürgisser and Cole Franks and Ankit Garg and Rafael Oliveira and Michael Walter, Avi Wigderson},
journal={Proceedings of the 59th IEEE Symposium on Foundations of Computer Science (FOCS)},
pages={883--894},
year={2018},
eprint={1804.04739}
}
...
Run pytest
to run unit tests.
Run ruff format
to format source code.