C++ API 参考¶
SparQ C++ 框架的 API 参考。本节内容抽取自源码头文件中的中文 Doxygen 注释, 由 Doxygen 生成 XML 后经 Breathe 渲染,与源码保持同步。
- 核心组件与量子门
- 测量与读出
- QRAM 操作
- 量子算术与状态整理
- 寄存器/系统操作与调试
- 算法库(顶层)
- Grover 搜索(
SparQ_Algorithm/include/grover.h) - Shor 因数分解(
SparQ_Algorithm/include/shor.h) - 态制备(
SparQ_Algorithm/include/state_preparation.h) - 块编码总览(
SparQ_Algorithm/include/block_encoding.h) - 哈密顿量模拟(
SparQ_Algorithm/include/hamiltonian_simulation.h) - 无 QRAM 三对角 CKS 行走(
SparQ_Algorithm/include/hamiltonian_simulation_tridiagonal.h)
- Grover 搜索(
- 块编码(BlockEncoding/)
- 离散绝热(DiscreteAdiabatic/)
- CUDA 后端
- Python 绑定层(C++ 侧)