# 树张量网络

树张量网络（tree tensor network, TTN）是一种张量网络，其中的张量按照树状结构连接，用于高效表示高维量子态和数据。由于在平衡的TTN（如二叉树）中，任意两个叶节点之间的最短路径最多包含\( O(\log N) \)个张量，而矩阵乘积态（matrix product state, MPS）为\( O(N) \)，因此这种TTN可以通过远少于MPS的中间张量连接相距遥远的格点或像素，从而在给定键维度（连接张量的虚拟指标大小，控制精度）下捕获更长程的关联；任意TTN未必具有对数级的叶到叶距离。<sup>[1](https://arxiv.org/pdf/1905.01331)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/2206.01000)</sup> TTN被用于二维量子晶格的基态和实时动力学、<sup>[3](https://arxiv.org/html/2505.07612)</sup>量子化学、量子线路模拟、开放量子系统，以及机器学习分类和生成建模。<sup>[4](https://arxiv.org/html/2305.19440v2)</sup>

| 关键事实 | 数值 |
|---|---|
| 叶到叶距离 | 平衡TTN中为\( O(\log N) \)，MPS中为\( O(N) \) <sup>[2](https://arxiv.org/abs/2206.01000)</sup> |
| 一维收缩代价 | 键维度\( \chi \)下为\( O(\chi^{4}) \)，介于MPS的\( O(\chi^{3}) \)与MERA之间 <sup>[1](https://arxiv.org/pdf/1905.01331)</sup><sup> • </sup><sup>[5](https://ar5iv.labs.arxiv.org/html/1812.04011)</sup> |
| 含N个物理腿的二叉树TTNS | 时间\( O(N \cdot \log N \cdot \chi^{4}) \)，内存\( O(N \cdot \log N \cdot \chi^{3}) \) <sup>[3](https://arxiv.org/html/2505.07612)</sup><sup> • </sup><sup>[6](https://doi.org/10.21468/scipostphys.9.5.070)</sup> |
| 正则形式 | 除一个正交中心外，每个节点满足等距条件 <sup>[7](https://arxiv.org/pdf/2407.13249)</sup> |
| 可收缩性 | 精确可收缩，因为树图没有环路 <sup>[8](https://arxiv.org/pdf/1708.09213)</sup> |
| 机器学习基准 | 低秩TTN分类器：分支比为4时，Fashion-MNIST准确率90.3% <sup>[4](https://arxiv.org/html/2305.19440v2)</sup> |

## 工作原理

TTN将多体态存储为排列在树上的张量，物理指标位于叶节点（或所有格点），虚拟键携带内部维度χ。树的几何结构以层级方式编码纠缠：每个键持有嵌套二分划的[施密特分解](https://www.edgepedia.org/zh/schmidt-decomposition)。<sup>[9](https://ar5iv.labs.arxiv.org/html/0903.5017)</sup>由于树没有闭合环路，网络可精确收缩，每个键都可以通过施密特分解进行最优压缩，这也是TTN具有正则形式的原因。<sup>[8](https://arxiv.org/pdf/1708.09213)</sup><sup> • </sup><sup>[7](https://arxiv.org/pdf/2407.13249)</sup>

TTN与多尺度纠缠重整化拟设（multi-scale entanglement renormalization ansatz, MERA）密切相关，后者由[G. Vidal](https://www.edgepedia.org/zh/guifre-vidal)在《纠缠重整化》（*Entanglement Renormalization*，[物理评论快报](https://www.edgepedia.org/zh/physical-review-letters)，2007）中提出。<sup>[10](https://doi.org/10.1103/physrevlett.99.220405)</sup>去掉解缠张量的MERA即为TTN；早期二维工作中的TTN方法实际上是为设计MERA而开发的辅助工具。<sup>[9](https://ar5iv.labs.arxiv.org/html/0903.5017)</sup>

## 操作方法

实际工作分四个阶段进行。第一，选择树：一棵二叉树（或其他低度树），物理腿位于叶节点或每个格点。第二，将态化为正则形式，即除正交中心外的所有节点满足等距条件；这通过从叶向上进行QR张量拆分或未截断SVD实现，可快速评估局部性质，而对键的最优截断需要保留前导奇异值的SVD。<sup>[7](https://arxiv.org/pdf/2407.13249)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/2206.01000)</sup>第三，优化或演化。更新算法按环境分类：简单更新仅使用局部环境（效率最高，精度有限），全更新使用整个网络（精度高，代价大），团簇更新介于两者之间。<sup>[8](https://arxiv.org/pdf/1708.09213)</sup>基态搜索像DMRG那样逐格点扫描树；时间演化通过Suzuki-Trotter分解将演化算符展开为双量子比特门，推广了时间演化块消减算法，此外还有针对树张量网络的时间依赖变分原理（TDVP）。<sup>[11](https://doi.org/10.21468/scipostphys.8.2.024)</sup>算符表示为树张量网络算符（tree tensor network operator, TTNO），即每个节点有两个开放腿的TTN，近期算法通过二部图的最小顶点覆盖从和积算符自动构造精确TTNO。<sup>[12](https://arxiv.org/html/2407.13098)</sup><sup> • </sup><sup>[13](https://arxiv.org/pdf/2601.19650)</sup>网络结构本身也可以优化，通过对等距映射进行局部重连来抑制二部纠缠熵实现。<sup>[14](https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.5.013031)</sup>开源实现包括PyTreeNet，支持任意树结构、正则形式，以及推广到树的TEBD和TDVP时间演化。<sup>[7](https://arxiv.org/pdf/2407.13249)</sup>

## 起源

一个早期且有影响力的表述将时间演化块消减算法从一维晶格推广到树图，用树张量网络替代矩阵乘积态。<sup>[15](https://inspirehep.net/literature/1679044)</sup><sup> • </sup><sup>[16](https://export.arxiv.org/pdf/quant-ph/0511070v2.pdf)</sup>其正则形式可用\( O(n \cdot \chi^{4}) \)次操作对\( n \)个量子比特获得，成为标准做法。<sup>[16](https://export.arxiv.org/pdf/quant-ph/0511070v2.pdf)</sup>更早的基于DMRG的树尝试存在，但在[配位数](https://www.edgepedia.org/zh/coordination-number)上具有指数代价。<sup>[17](https://doi.org/10.1103/physrevb.82.205105)</sup>此后的里程碑各归功于其引入论文：V. Murg及其同事提出的任意配位数z的TTNS（[物理评论B](https://www.edgepedia.org/zh/physical-review-b)，2010）；<sup>[17](https://doi.org/10.1103/physrevb.82.205105)</sup>Naoki Nakatani和Garnet Kin-Lic Chan提出的半重整化量子化学TTNS（化学物理杂志，2013）；<sup>[18](https://doi.org/10.1063/1.4798639)</sup>Klaas Gunst及其同事提出的三腿T3NS（化学理论与[计算](https://www.edgepedia.org/zh/computation)杂志，2018）；<sup>[19](https://doi.org/10.1021/acs.jctc.8b00098)</sup>Song Cheng及其同事提出的用于生成建模的树张量网络（物理评论B，2019）；<sup>[20](https://doi.org/10.1103/physrevb.99.155131)</sup>Chase Roberts及其同事的TensorNetwork库（2019）；<sup>[21](https://doi.org/10.48550/arxiv.1905.01330)</sup>Daniel Bauernfeind和Markus Aichhorn提出的树张量网络TDVP（SciPost Physics，2020）；<sup>[11](https://doi.org/10.21468/scipostphys.8.2.024)</sup>以及Benedikt Kloss、David Reichman和Yevgeny Bar Lev的二维实时动力学（SciPost Physics，2020）。<sup>[6](https://doi.org/10.21468/scipostphys.9.5.070)</sup>Markov和Shi（2005）此前已证明，收缩线路张量网络的代价由其图的树宽决定。<sup>[22](https://doi.org/10.48550/arxiv.quant-ph/0511069)</sup>

## 变体

配位数是变异的主要轴。每个节点虚拟度至多为二的树是一条路径，给出一维MPS几何；而每个内部节点有两个子节点的有根二叉树是另一种TTN几何；Murg及其同事处理了任意z，在虚拟维度\( D = 4 \)下测试了z = 3和z = 4。<sup>[17](https://doi.org/10.1103/physrevb.82.205105)</sup>在所用的键维度下，二叉树在二维硬核玻色子动力学中通常比四叉树表现更稳健。<sup>[6](https://doi.org/10.21468/scipostphys.9.5.070)</sup>树在由哪些格点携带物理腿方面也有所不同：一种方法仅将物理格点放在边界格点上，而Murg等人的TTNS使所有格点均为物理格点并逐格点优化。<sup>[17](https://doi.org/10.1103/physrevb.82.205105)</sup>分支MERA推广了树，使纠缠熵可以任意标度，甚至达到体积律，同时保持高效收缩。<sup>[23](https://epjb.epj.org/images/stories/news/2014/10.1140--epjb--e2014-50502-9.pdf)</sup>近期新增包括增强树张量网络（augmented tree tensor network, aTTN），对TTN施加一层酉解缠器，是解缠层不完整的MERA的子类；<sup>[24](https://export.arxiv.org/pdf/2507.21236)</sup>混合TTN（hybrid TTN, hTTN），将量子处理器制备的张量嵌入经典树的顶部；<sup>[25](https://arxiv.org/html/2404.05784v2)</sup>以及作为算符对应物的TTNO。<sup>[7](https://arxiv.org/pdf/2407.13249)</sup>

## 应用

在二维量子晶格中，TTN变分拟设利用熵面积律将模拟L × L晶格的代价从\( \exp(L^{2}) \)向\( \exp(L) \)降低，<sup>[9](https://ar5iv.labs.arxiv.org/html/0903.5017)</sup>近期二维量子Ising模型的TTN模拟在高达16 × 16格点上重现了磁畴动力学。<sup>[3](https://arxiv.org/html/2505.07612)</sup>在量子化学中，半重整化TTNS在树枝状分子中关联了110个活性轨道中的110个电子，相同精度下所需重整化态少于MPS。<sup>[18](https://doi.org/10.1063/1.4798639)</sup>对于量子线路，有根树张量网络已模拟了多达3737个量子比特的线路。<sup>[2](https://arxiv.org/abs/2206.01000)</sup>在开放量子系统中，TTNS构成多层多组态时间依赖Hartree（ML-MCTDH）方法的基础，应用于自旋-玻色子弛豫和分子结电荷输运。<sup>[12](https://arxiv.org/html/2407.13098)</sup>在机器学习中，TTN生成模型在MNIST对数似然上优于MPS（\( D_{\max} = 100 \)时二维TTN测试NLL为94.25，MPS为101.45），<sup>[20](https://doi.org/10.1103/physrevb.99.155131)</sup>低秩TTN分类器在MNIST上达到98.3%，在[Fashion-MNIST](https://www.edgepedia.org/zh/fashion-mnist)上达到90.3%。<sup>[4](https://arxiv.org/html/2305.19440v2)</sup>

## 局限与替代方案

无环几何结构是核心局限：标准有限键维度树张量网络态可能难以高效表示一般的二维临界态，而MERA修改树以在不放弃精确可收缩性的情况下达到临界性；尽管如此，特定的标度不变树构造可以表现出幂律关联。<sup>[29](https://ar5iv.labs.arxiv.org/html/0912.0466)</sup><sup> • </sup><sup>[8](https://arxiv.org/pdf/1708.09213)</sup>MPS和TTNS都不匹配高维典型系统的面积律纠缠结构，而PEPS和MERA可以；PEPS没有正则形式，精确期望值计算是指数困难的。<sup>[23](https://epjb.epj.org/images/stories/news/2014/10.1140--epjb--e2014-50502-9.pdf)</sup><sup> • </sup><sup>[26](https://arxiv.org/pdf/2601.08132)</sup>已发表的比较在二维效率上存在分歧：一项研究发现TTN比MPS更有效地捕获二维纠缠模式，同时比PEPS更易于收缩，<sup>[27](https://pure.mpg.de/rest/items/item_3686682_1/component/file_3686683/content)</sup>而一项渐近分析得出结论：对于\( D > 1 \)维的大系统，低能面积律态的MPS模拟仍然比TTNS更高效，在系统尺寸上存在指数分离。<sup>[26](https://arxiv.org/pdf/2601.08132)</sup>与神经网络相比，卷积网络对应于TTN的特定情况，循环网络对应于MPS；<sup>[5](https://ar5iv.labs.arxiv.org/html/1812.04011)</sup>TTN提供比MPS更高的纠缠，MPS适合时间序列等一维数据，而对数TTN更适合图像。<sup>[28](https://royalsocietypublishing.org/doi/10.1098/rspa.2023.0218)</sup>在树状线路的线路模拟中，MPS无法达到低于\( 10^{-2} \)的误差，而T3NS方法在键维度50时收敛到数值误差。<sup>[13](https://arxiv.org/pdf/2601.19650)</sup>

## References

1. [TensorNetwork on TensorFlow: A spin chain application using tree tensor networks (Milsted et al. 2019)](https://arxiv.org/pdf/1905.01331)
2. [Simulating quantum circuits using tree tensor networks (Seitz, Medina, Cruz, Huang, Mendl, 2022)](https://arxiv.org/abs/2206.01000)
3. [Time evolution of the quantum Ising model in two dimensions using Tree Tensor Networks (2025)](https://arxiv.org/html/2505.07612)
4. [Machine learning with tree tensor networks, CP rank constraints, and tensor dropout](https://arxiv.org/html/2305.19440v2)
5. [Tensor networks for complex quantum systems (Orús et al., Nature Reviews Physics)](https://ar5iv.labs.arxiv.org/html/1812.04011)
6. [Benedikt Kloss, David Reichman, Yevgeny Bar Lev (2020). Studying dynamics in two-dimensional quantum lattices using tree tensor network states. SciPost Physics.](https://doi.org/10.21468/scipostphys.9.5.070)
7. [PyTreeNet: a Python library for tree tensor networks (tutorial/review, 2024)](https://arxiv.org/pdf/2407.13249)
8. [Lecture notes on tensor network contraction algorithms (TTNS chapter)](https://arxiv.org/pdf/1708.09213)
9. [Simulation of two-dimensional quantum systems using a tree tensor network that exploits the entropic area law (Tagliacozzo et al., PRB 80, 235127 (2009))](https://ar5iv.labs.arxiv.org/html/0903.5017)
10. [G. Vidal (2007). Entanglement Renormalization. Physical Review Letters.](https://doi.org/10.1103/physrevlett.99.220405)
11. [Daniel Bauernfeind, Markus Aichhorn (2020). Time dependent variational principle for tree Tensor Networks. SciPost Physics.](https://doi.org/10.21468/scipostphys.8.2.024)
12. [Optimal Tree Tensor Network Operators for Tensor Network Simulations: Applications to Open Quantum Systems (2024)](https://arxiv.org/html/2407.13098)
13. [Cholesky-Based Compression for applying tree tensor network operators to tree tensor network states](https://arxiv.org/pdf/2601.19650)
14. [Automatic structural optimization of tree tensor networks (Phys. Rev. Research 5, 013031 (2023))](https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.5.013031)
15. [INSPIRE record: Classical simulation of quantum many-body systems with a tree tensor network](https://inspirehep.net/literature/1679044)
16. [Classical simulation of quantum many-body systems with a tree tensor network (Shi, Duan, Vidal)](https://export.arxiv.org/pdf/quant-ph/0511070v2.pdf)
17. [V. Murg and colleagues (2010). Simulating strongly correlated quantum systems with tree tensor networks. Physical Review B.](https://doi.org/10.1103/physrevb.82.205105)
18. [Naoki Nakatani, Garnet Kin-Lic Chan (2013). Efficient tree tensor network states (TTNS) for quantum chemistry: Generalizations of the density matrix renormalization group algorithm. The Journal of Chemical Physics.](https://doi.org/10.1063/1.4798639)
19. [Klaas Gunst and colleagues (2018). T3NS: Three-Legged Tree Tensor Network States. Journal of Chemical Theory and Computation.](https://doi.org/10.1021/acs.jctc.8b00098)
20. [Song Cheng and colleagues (2019). Tree tensor networks for generative modeling. Physical review. B./Physical review. B.](https://doi.org/10.1103/physrevb.99.155131)
21. [Roberts, Chase and colleagues (2019). TensorNetwork: A Library for Physics and Machine Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1905.01330)
22. [Markov, Igor L., Shi, Yaoyun (2005). Simulating quantum computation by contracting tensor networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.quant-ph/0511069)
23. [Advances on tensor network theory: symmetries, fermions, entanglement, and holography (Orús, EPJ B)](https://epjb.epj.org/images/stories/news/2014/10.1140--epjb--e2014-50502-9.pdf)
24. [The Augmented Tree Tensor Network Cookbook (2025)](https://export.arxiv.org/pdf/2507.21236)
25. [Hybrid tree tensor networks for quantum simulation (2024)](https://arxiv.org/html/2404.05784v2)
26. [Cost scaling of MPS and TTNS simulations for 2D and 3D systems with area-law entanglement (Thomas Barthel)](https://arxiv.org/pdf/2601.08132)
27. [Tree tensor networks for many-body localization in two dimensions](https://pure.mpg.de/rest/items/item_3686682_1/component/file_3686683/content)
28. [Tensor networks for quantum machine learning (Proceedings of the Royal Society A, 2023/2024)](https://royalsocietypublishing.org/doi/10.1098/rspa.2023.0218)
29. [ar5iv.labs.arxiv.org](https://ar5iv.labs.arxiv.org/html/0912.0466)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 21, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/tree-tensor-network

English original: https://www.edgepedia.org/tree-tensor-network
