{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/tensornetwork-on-tensorflow-a-spin-chain","title":"TensorNetwork on TensorFlow: A Spin Chain Application Using Tree Tensor Networks","arxiv_id":"1905.01331","date":"2019-05-03","proceeding":null,"authors":["Ashley Milsted","Martin Ganahl","Stefan Leichenauer","Jack Hidary","Guifre Vidal"],"abstract":"TensorNetwork is an open source library for implementing tensor network algorithms in TensorFlow. We describe a tree tensor network (TTN) algorithm for approximating the ground state of either a periodic quantum spin chain (1D) or a lattice model on a thin torus (2D), and implement the algorithm using TensorNetwork. We use a standard energy minimization procedure over a TTN ansatz with bond dimension $\\chi$, with a computational cost that scales as $O(\\chi^4)$. Using bond dimension $\\chi \\in [32,256]$ we compare the use of CPUs with GPUs and observe significant computational speed-ups, up to a factor of $100$, using a GPU and the TensorNetwork library.","url_abs":"https://arxiv.org/abs/1905.01331v1","url_pdf":"https://arxiv.org/pdf/1905.01331v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"tensornetwork-on-tensorflow-a-spin-chain","repo_url":"https://github.com/google/TensorNetwork","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"tensornetwork-on-tensorflow-a-spin-chain","repo_url":"https://github.com/amilsted/unitree","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"tensornetwork-on-tensorflow-a-spin-chain","repo_url":"https://github.com/amilsted/unitreet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null}],"tasks":[{"task_slug":null,"task_name":"GPU"},{"task_slug":"tensor-networks","task_name":"Tensor Networks"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}