# 玻色子采样

玻色子采样是一种量子采样任务：全同光子通过线性光学网络，在输出端被计数，从而使该装置从一个据信经典计算机难以处理的概率分布中采样。[斯科特·阿伦森](https://www.edgepedia.org/zh/scott-aaronson)（Scott Aaronson）和亚历克斯·阿尔希波夫（Alex Arkhipov）在2010年发布到arXiv的《线性光学的计算复杂性》中提出了这一方案，作为用简陋硬件展示量子优势的一种途径。<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup><sup> • </sup><sup>[2](https://doi.org/10.48550/arxiv.1011.3245)</sup> 该模型严格是被动的：它只需要单光子源、分束器和移相器，以及光电探测，不需要量子存储器或前馈。<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup>

| 关键事实 | 详情 |
|---|---|
| 提出 | 阿伦森与阿尔希波夫，《线性光学的计算复杂性》，arXiv 2010<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup><sup> • </sup><sup>[2](https://doi.org/10.48550/arxiv.1011.3245)</sup> |
| 困难性主张 | 精确经典采样将蕴含 \( P^{\#P} = BPP^{NP} \)，并使多项式层级坍缩到第三层<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup> |
| 装置 | n个光子，\( m = O(n^{2}) \)个模式，哈尔随机干涉仪，每个输出端均有探测器<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup><sup> • </sup><sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> |
| 输出振幅 | 由矩阵积和式给出，计算积和式是#P完全问题<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup><sup> • </sup><sup>[5](https://doi.org/10.1016/0304-3975%2879%2990044-6)</sup> |
| 主要变体 | 使用压缩态的高斯玻色子采样，由汉密尔顿、克鲁泽、桑索尼、巴克霍芬、西尔伯霍恩和杰克斯（2017）提出<sup>[6](https://link.aps.org/doi/10.1103/PhysRevLett.119.170501)</sup> |
| 经典挑战 | 2024年的一种张量网络算法以少量资源模拟了最大的GBS实验<sup>[7](https://www.nature.com/articles/s41567-024-02535-8)</sup> |

## 工作原理

该装置在m个光学模式中制备n个单光子，每个占据模式至多一个光子，将它们送入由哈尔随机酉矩阵U描述的m模式干涉仪，并在每个输出端放置一个光子探测器。<sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> 模式数按 \( m = O(n^{2}) \) 缩放，这使得输出碰撞在统计上可以忽略（玻色子生日悖论），因此只记录模式是否被占据的简单桶探测器就足够了。<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup><sup> • </sup><sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> 任何m模式酉变换都可以分解为 \( O(m^{2}) \) 个分束器和移相器。<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup>

积和式是困难性的来源。每个无碰撞输出模式的振幅由U的一个n × n子矩阵的积和式给出，这一联系由斯特凡·舍尔（Stefan Scheel）于2004年为线性光学网络解释。<sup>[8](https://doi.org/10.48550/arxiv.quant-ph/0406127)</sup> 矩阵的积和式在1979年被L.G. 瓦利安特（L.G. Valiant）证明为#P困难的，因此它不太可能有多项式时间算法。<sup>[5](https://doi.org/10.1016/0304-3975%2879%2990044-6)</sup> 已知最好的精确积和式算法是指数级的；已发表的文献给出的运行时间为 \( O(2^{n} \cdot n^{2}) \)<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup>，或对n × n矩阵为 \( O(n \cdot 2^{n}) \) 步，<sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> 文献中存在差异。

阿伦森和阿尔希波夫的精确采样结果表明，对于理想分布的多项式时间经典采样器将蕴含 \( P^{\#P} = BPP^{NP} \)，从而使多项式层级坍缩到第三层。<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup> 他们的近似采样论证依赖于两个未经证明的猜想：高斯积和式猜想（独立同分布高斯矩阵积和式近似的#P困难性）和积和式反集中猜想，后者称在A上以高概率有 \( |\mathrm{Per}(A)| \ge \sqrt{n!}/\mathrm{poly}(n) \)。<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup> 布雷姆纳、乔扎和谢泼德独立证明了交换量子计算的类似坍缩结果。<sup>[9](https://doi.org/10.1098/rspa.2010.0301)</sup>

## 如何实现

实验者运行四个阶段。第一，光子源：早期实验通过非线性晶体中的自发参量下转换（SPDC）产生光子；后来具有主动解复用的量子点源使得五光子实验成为可能，事件率为4 Hz和0.78 kHz。<sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> 第二，干涉：光子进入由定向耦合器和移相器以三角形或矩形布局构建的集成导波干涉仪。<sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> 第三，探测：早期实验使用硅单光子雪崩光电二极管（SPAD），它们是桶探测器；大型高斯玻色子采样（GBS）实验使用超导纳米线单光子探测器（SNSPD），通常具有光子数分辨能力。<sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup><sup> • </sup><sup>[10](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.131.150601)</sup> 第四，验证：九章3.0使用贝叶斯检验和关联函数分析来排除热态、压缩态、贪婪、TAP、IPS和树宽经典模拟；三阶关联距离为实验D = 0.0054，而D = 0.0062（贪婪）和D = 0.0067（TAP）。<sup>[10](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.131.150601)</sup>

## 起源

直接的先驱是E. 尼尔（E. Knill）、R.拉弗拉姆（R. Laflamme）和G. J.米尔本（G. J. Milburn）2001年的结果，表明线性光学结合自适应测量对于量子计算是通用的。<sup>[11](https://doi.org/10.1038/35051009)</sup> 据提案作者所知，特罗扬斯基和蒂什比在1996年首次在印刷品中讨论了玻色子-积和式联系；他们试图在此基础上构建量子算法，但发现需要指数多的样本。<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup><sup> • </sup><sup>[4](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)</sup> 舍尔随后解释了积和式如何作为线性光学网络中的振幅出现。<sup>[8](https://doi.org/10.48550/arxiv.quant-ph/0406127)</sup> 阿伦森和阿尔希波夫在2010年将其转变为采样复杂性提案。<sup>[1](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)</sup><sup> • </sup><sup>[2](https://doi.org/10.48550/arxiv.1011.3245)</sup> 早期演示范围从3到6个光子，后来的工作达到多达14个输出光子；当精确经典采样算法于2017年发表时，实验记录是 \( m = 9 \) 个模式中的 \( n = 5 \) 个光子。<sup>[12](https://quantum-journal.org/views/qv-2021-04-28-53/)</sup><sup> • </sup><sup>[13](https://arxiv.org/pdf/1706.01260.pdf)</sup>

## 变体

**散弹玻色子采样**通过将许多SPDC光子对源的输出直接路由到干涉仪中来消除解复用器，因此n个输入端口是一个随机但被预报的集合；对于k个源且k ≫ n，这在n光子产生率上带来指数改进。<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup><sup> • </sup><sup>[14](https://www.science.org/doi/10.1126/sciadv.1400255)</sup>

**高斯玻色子采样**用压缩态代替单光子。它由汉密尔顿、克鲁泽、桑索尼、巴克霍芬、西尔伯霍恩和杰克斯在《[物理评论快报](https://www.edgepedia.org/zh/physical-review-letters)》119, 170501 (2017)中提出，该文将测量高斯态特定光子模式的概率与称为哈夫尼安（Hafnian）的矩阵函数联系起来，并指出在光子产生概率上相对于现有协议有显著优势。<sup>[6](https://link.aps.org/doi/10.1103/PhysRevLett.119.170501)</sup> 来自[高斯态](https://www.edgepedia.org/zh/gaussian-state)的玻色子采样已被展示。<sup>[15](https://doi.org/10.1103/physrevlett.113.100502)</sup>

**有损玻色子采样**在光子损失下保持困难性：如果n个光子中的k个丢失，从与理想分布 \( 1/n^{\Theta(k)} \) 接近的分布进行经典采样，将使 \( BPP^{NP} \) 机器在 \( n^{O(k)} \) 时间内估计高斯矩阵的积和式；对于常数k，有损玻色子采样在与无损情况完全相同的假设下是困难的。<sup>[16](https://doi.org/10.1103/physreva.93.012335)</sup>

## 应用

除了优势演示之外，GBS还与计算问题相关联：稠密子图问题和分子振动光谱，其中高斯态光子统计编码了所关注的量。<sup>[17](https://arxiv.org/abs/1905.00170)</sup> 已发表的文献提到了这些联系，但没有给出具体的问题实例，因此此类应用的实际规模尚未由已发表文献确定。

## 局限与替代方案

两个硬件要求是光子不可区分性和低损耗。如果光子完全可区分，输出分布由矩阵非模和式给出，改变其复杂性，而近似版本可通过杰鲁姆-辛克莱-维戈达算法高效经典模拟。<sup>[3](https://ar5iv.labs.arxiv.org/html/1406.6767)</sup> 一种利用损耗和部分可区分性的经典算法，最初由J. J.雷内马（J. J. Renema）、A.门森（A. Menssen）、W. R.克莱门茨（W. R. Clements）、G.特里吉纳（G. Triginer）、W. S.科尔特哈默（W. S. Kolthammer）和I. A.瓦姆斯利（I. A. Walmsley）（2018）提出，此后得到改进，可模拟实验，其运行时间仅对k个理想光子呈指数增长，其中k取决于不可区分性、传输率和目标精度，但不依赖于m或n。<sup>[12](https://quantum-journal.org/views/qv-2021-04-28-53/)</sup><sup> • </sup><sup>[18](https://doi.org/10.1103/physrevlett.120.220502)</sup> 大都会化独立采样提供了另一种经典方法，对近期实验具有良好性能。<sup>[19](https://doi.org/10.1038/nphys4270)</sup> 在精确方面，每个样本约需两次n × n矩阵积和式计算的算法是第一个可证明正确的玻色子采样精确经典采样器。<sup>[13](https://arxiv.org/pdf/1706.01260.pdf)</sup>

2023年后最尖锐的挑战来自张量网络：欧、刘、阿列克谢耶夫、费弗曼和江提出了一种矩阵乘积态算法，其复杂度在高光子损耗下下降，使得能够以少量资源模拟最大规模的GBS实验（九章3.0）；他们展示了证据表明其经典采样器能比实验本身更好地模拟理想分布，这对实验量子优势的主张提出了质疑。<sup>[7](https://www.nature.com/articles/s41567-024-02535-8)</sup> 相关工作表明交叉熵基准本身在玻色子采样中可以被欺骗。<sup>[20](https://doi.org/10.1103/physrevlett.131.010401)</sup> 在理论方面，布兰德、布罗德、达塔、费弗曼、格里尔、埃尔南德斯和奥什马涅茨（2023）为具有线性模式数的玻色子采样建立了复杂性理论基础，<sup>[21](https://doi.org/10.48550/arxiv.2312.00286)</sup> 后续工作确立了对数深度福克态玻色子采样在有损环境下的平均情况困难性，以及对数深度高斯玻色子采样的平均情况困难性，旨在实现更耐噪声的优势演示。<sup>[22](https://quantum-journal.org/papers/q-2026-03-13-2026/)</sup>

## References

1. [The Computational Complexity of Linear Optics (Aaronson & Arkhipov, Theory of Computing)](https://theoryofcomputing.org/articles/v009a004/v009a004.pdf)
2. [Aaronson, Scott, Arkhipov, Alex (2010). The Computational Complexity of Linear Optics. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1011.3245)
3. [An introduction to boson-sampling (arXiv:1406.6767)](https://ar5iv.labs.arxiv.org/html/1406.6767)
4. [Photonic implementation of boson sampling (Advanced Photonics review, Spagnolo et al.)](https://www.spiedigitallibrary.org/journalArticle/Download?fullDOI=10.1117%2F1.AP.1.3.034001)
5. [The Complexity of Computing the Permanent (Theoretical Computer Science, 1979)](https://doi.org/10.1016/0304-3975%2879%2990044-6)
6. [Gaussian Boson Sampling (Hamilton et al., PRL 119, 170501)](https://link.aps.org/doi/10.1103/PhysRevLett.119.170501)
7. [Classical algorithm for simulating experimental Gaussian boson sampling (Nature Physics, 2024)](https://www.nature.com/articles/s41567-024-02535-8)
8. [Scheel, Stefan (2004). Permanents in linear optical networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.quant-ph/0406127)
9. [Michael J. Bremner, Richard Jozsa, Dan J. Shepherd (2010). Classical simulation of commuting quantum computations implies collapse of the polynomial hierarchy. Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences.](https://doi.org/10.1098/rspa.2010.0301)
10. [Gaussian Boson Sampling with Pseudo-Photon-Number-Resolving Detectors and Quantum Computational Advantage (Jiuzhang 3.0)](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.131.150601)
11. [E. Knill, R. Laflamme, G. J. Milburn (2001). A scheme for efficient quantum computation with linear optics. Nature.](https://doi.org/10.1038/35051009)
12. [Spot the Difference: Distinguishing Boson Sampling Experiments from Classical Simulations (Quantum Views)](https://quantum-journal.org/views/qv-2021-04-28-53/)
13. [The Classical Complexity of Boson Sampling (Clifford & Clifford)](https://arxiv.org/pdf/1706.01260.pdf)
14. [Experimental scattershot boson sampling (Science Advances)](https://www.science.org/doi/10.1126/sciadv.1400255)
15. [A. P. Lund and colleagues (2014). Boson Sampling from a Gaussian State. Physical Review Letters.](https://doi.org/10.1103/physrevlett.113.100502)
16. [Scott Aaronson, Daniel J. Brod (2016). BosonSampling with lost photons. Physical Review A.](https://doi.org/10.1103/physreva.93.012335)
17. [Experimental Gaussian Boson Sampling](https://arxiv.org/abs/1905.00170)
18. [J. J. Renema and colleagues (2018). Efficient Classical Algorithm for Boson Sampling with Partially Distinguishable Photons. Physical Review Letters.](https://doi.org/10.1103/physrevlett.120.220502)
19. [Alex Neville and colleagues (2017). Classical boson sampling algorithms with superior performance to near-term experiments. Nature Physics.](https://doi.org/10.1038/nphys4270)
20. [Changhun Oh, Liang Jiang, Bill Fefferman (2023). Spoofing Cross-Entropy Measure in Boson Sampling. Physical Review Letters.](https://doi.org/10.1103/physrevlett.131.010401)
21. [Bouland, Adam and colleagues (2023). Complexity-theoretic foundations of BosonSampling with a linear number of modes. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2312.00286)
22. [On computational complexity and average-case hardness of shallow-depth boson sampling (Quantum, 2026)](https://quantum-journal.org/papers/q-2026-03-13-2026/)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Computational complexity › Randomized, counting, and interactive classes

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/boson-sampling

English original: https://www.edgepedia.org/boson-sampling
