{"title":"具有受限希尔伯特空间或U(1)对称的系统中计算纠缠熵的有效算法","authors":"Yu Li, Zhiyuan Yao","doi":"10.1016/j.cpc.2025.109729","DOIUrl":null,"url":null,"abstract":"<div><div>We present an efficient algorithm for computing entanglement entropies in systems with a restricted Hilbert space or <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetry. For the case of a restricted Hilbert space, the algorithm is straightforward in that only a map table from physical states to indices of an intermediate matrix is needed. In systems with a <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetry, the reduced density matrix can be put into a block-diagonal form by properly grouping matrix elements according to the total charge in the subsystem, leading to a significant boost in the efficiency of entanglement entropy calculation.</div></div><div><h3>Program summary</h3><div><em>Program title:</em> ResEE.jl</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/d8s5byx96r.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/top2group/ResEE.jl</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> MIT License</div><div><em>Programming language:</em> Julia</div><div><em>Nature of problem:</em> Computing the entanglement entropy of quantum many-body systems with restricted Hilbert space and/or <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetry.</div><div><em>Solution method:</em> The program constructs a map table to efficiently compute the reduced density matrix in systems with restricted Hilbert spaces. For <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetric systems, it exploits charge conservation to put the reduced density matrix in a block-diagonal form, further improving the efficiency.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"315 ","pages":"Article 109729"},"PeriodicalIF":7.2000,"publicationDate":"2025-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An efficient algorithm for computing entanglement entropy in systems with a restricted Hilbert space or U(1) symmetry\",\"authors\":\"Yu Li, Zhiyuan Yao\",\"doi\":\"10.1016/j.cpc.2025.109729\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>We present an efficient algorithm for computing entanglement entropies in systems with a restricted Hilbert space or <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetry. For the case of a restricted Hilbert space, the algorithm is straightforward in that only a map table from physical states to indices of an intermediate matrix is needed. In systems with a <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetry, the reduced density matrix can be put into a block-diagonal form by properly grouping matrix elements according to the total charge in the subsystem, leading to a significant boost in the efficiency of entanglement entropy calculation.</div></div><div><h3>Program summary</h3><div><em>Program title:</em> ResEE.jl</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/d8s5byx96r.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/top2group/ResEE.jl</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> MIT License</div><div><em>Programming language:</em> Julia</div><div><em>Nature of problem:</em> Computing the entanglement entropy of quantum many-body systems with restricted Hilbert space and/or <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetry.</div><div><em>Solution method:</em> The program constructs a map table to efficiently compute the reduced density matrix in systems with restricted Hilbert spaces. For <span><math><mi>U</mi><mo>(</mo><mn>1</mn><mo>)</mo></math></span> symmetric systems, it exploits charge conservation to put the reduced density matrix in a block-diagonal form, further improving the efficiency.</div></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":\"315 \",\"pages\":\"Article 109729\"},\"PeriodicalIF\":7.2000,\"publicationDate\":\"2025-06-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Physics Communications\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0010465525002310\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525002310","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
An efficient algorithm for computing entanglement entropy in systems with a restricted Hilbert space or U(1) symmetry
We present an efficient algorithm for computing entanglement entropies in systems with a restricted Hilbert space or symmetry. For the case of a restricted Hilbert space, the algorithm is straightforward in that only a map table from physical states to indices of an intermediate matrix is needed. In systems with a symmetry, the reduced density matrix can be put into a block-diagonal form by properly grouping matrix elements according to the total charge in the subsystem, leading to a significant boost in the efficiency of entanglement entropy calculation.
Program summary
Program title: ResEE.jl
CPC Library link to program files:https://doi.org/10.17632/d8s5byx96r.1
Nature of problem: Computing the entanglement entropy of quantum many-body systems with restricted Hilbert space and/or symmetry.
Solution method: The program constructs a map table to efficiently compute the reduced density matrix in systems with restricted Hilbert spaces. For symmetric systems, it exploits charge conservation to put the reduced density matrix in a block-diagonal form, further improving the efficiency.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.