qalgora-Q Docs Hub量子文档 ✦ Ask AI✦ 问问文档

Jiuzhang — Photonic Quantum Computing (九章)

○ Planned · Not yet implemented
The capabilities described on this page are planned and not yet implemented or released. They explain future design directions and should not be interpreted as delivered features.

Jiuzhang is a photonic quantum computer built at the University of Science and Technology of China (USTC) by Pan Jianwei's team. It performs Gaussian Boson Sampling (GBS) and holds a landmark quantum-advantage result.

Generations

VersionYearDetected photons
Jiuzhang 1.0202076
Jiuzhang 2.02021113
Jiuzhang 3.02023255
Jiuzhang 4.020263050

Jiuzhang 3.0 solves a Gaussian Boson Sampling instance about 10 quadrillion times faster than the fastest classical supercomputer — a sample that would take Frontier over 20 billion years is produced in roughly one microsecond.

For Jiuzhang 4.0, published papers/reports indicate it uses 1,024 squeezed-state inputs across 8,176 modes and manipulates and detects up to 3,050 photons in specific GBS tasks, via a programmable time–space hybrid encoding; exact performance figures should follow the published papers.

Gaussian Boson Sampling with qalgora-Q

No local fallback for GBS
A CPU statevector simulator cannot reproduce real-scale GBS, so the open reference implementation cannot run this example at all. Running it needs the actual Jiuzhang hardware and the vendor's own SDK and credentials.
import qalgora

# Conceptual API only; not in the open reference implementation.
# Build a Gaussian Boson Sampling program and run it on the photonic device:
program = qalgora.photonic.GBSProgram(
    squeezing=...,           # per-mode squeezing parameters
    interferometer=...,      # mode-mixing unitary
    shots_count=10000,
)
samples = qalgora.photonic.run(program, target="jiuzhang")
Specification API — not in the open reference build yet
This example shows a qalgora-Q specification API (or a third-party library) that the open reference build does not bundle today. It documents the intended interface; to run code now, use the reference build’s supported core API.
Special-purpose · a sampling model, not gate-model
Jiuzhang-style GBS is a sampling model, not a universal gate-model backend, and the snippet above is a conceptual photonic API sketch (not a runnable gate circuit). Jiuzhang is optimized for boson sampling and related problems (graph theory, molecular vibronic spectra), not general gate-based circuits — qalgora-Q would expose it through a photonics API.

References

  • Y.-H. Deng et al., "Gaussian boson sampling with pseudo-photon-number-resolving detectors and quantum computational advantage," Phys. Rev. Lett. 131, 150601 (2023). arXiv:2304.12240

九章 光量子计算(Jiuzhang)

○ 规划中
本页所述能力属于规划功能,当前尚未发布或尚未实现。相关内容仅用于说明未来设计方向,不应理解为已交付能力。

九章是由中国科学技术大学(中国科大)潘建伟团队研制的光量子计算机。它执行高斯玻色采样(GBS),并取得了里程碑式的量子优势成果。

历代版本

版本年份探测光子数
九章一号202076
九章二号2021113
九章三号2023255
九章四号20263050

九章三号求解一个高斯玻色采样实例,比最快的经典超级计算机快约 1 亿亿倍——「前沿」(Frontier)需耗时逾 200 亿年才能产出的样本,它约一微秒即可生成。

关于九章四号,公开论文/报道显示,使用 1024 个压缩态输入、8176 模式,并在特定 GBS 任务中操纵和探测最多 3050 个光子;具体性能表述以论文为准。

用 qalgora-Q 做高斯玻色采样

GBS 无本地回退
CPU 态矢量模拟器无法重现真实规模 GBS,因此开源参考实现根本无法运行此示例。要真正运行需使用九章真机以及厂商自己的 SDK 与凭据。
import qalgora

# 仅为概念性接口;开源参考实现尚未包含。
# 构建高斯玻色采样程序,并在光量子设备上运行:
program = qalgora.photonic.GBSProgram(
    squeezing=...,           # 每个模式的压缩参数
    interferometer=...,      # 模式混合的幺正变换
    shots_count=10000,
)
samples = qalgora.photonic.run(program, target="jiuzhang")
规范接口 · 参考实现暂未包含
此示例展示的是 qalgora-Q 规范中的接口(或第三方库),开放参考实现目前尚未内置,仅用于说明预期用法;如需立即运行,请使用参考实现已支持的核心 API。
专用 · 采样模型而非门模型
九章式 GBS 属于采样模型,并非通用门模型后端;上方代码仅为概念性的光子 API 示意(并非可运行的门线路)。九章专为玻色采样及相关问题(图论、分子振动光谱)优化,并非通用的基于门的电路——qalgora-Q 会通过光子学接口对其开放。

参考文献

  • Y.-H. Deng et al., "Gaussian boson sampling with pseudo-photon-number-resolving detectors and quantum computational advantage," Phys. Rev. Lett. 131, 150601 (2023). arXiv:2304.12240