FTCircuitBench
收藏资源简介:
FTCircuitBench是由太平洋西北国家实验室等机构联合开发的量子计算基准套件,旨在为容错量子编译研究提供标准化评估工具。该数据集包含量子算法在Clifford+T和Pauli基计算模型中的预编译实例,支持模块化端到端流程,允许用户针对不同容错架构进行编译优化。数据集通过GitHub开源,提供算法性能的详细数值分析,主要应用于量子误差校正、逻辑门优化及量子架构设计等领域,为量子计算资源估算和编译策略比较提供关键基准。
FTCircuitBench is a quantum computing benchmark suite jointly developed by the Pacific Northwest National Laboratory and other institutions, aiming to provide standardized evaluation tools for fault-tolerant quantum compilation research. This dataset contains pre-compiled instances of quantum algorithms under the Clifford+T and Pauli-based computational models, supports modular end-to-end workflows, and allows users to perform compilation optimizations targeting different fault-tolerant architectures. The dataset is open-sourced via GitHub, providing detailed numerical analysis of algorithm performance. It is mainly applied in fields such as quantum error correction, logic gate optimization, and quantum architecture design, serving as a key benchmark for quantum computing resource estimation and compilation strategy comparison.
FTCircuitBench 数据集概述
数据集名称
FTCircuitBench
核心用途
用于容错电路基准测试,支持基于Clifford+T的综合与基于泡利的计算(PBC)。
数据集内容与结构
- 输入电路:位于
qasm/目录中。 - 基准测试输出:位于
circuit_benchmarks/目录中。 - 统计数据输出:位于
circuit_stats_output/目录中,格式为JSON。 - Clifford+T电路输出:位于
clifford_t_output/目录中,格式为QASM。 - PBC相关输出:位于
pbc_output/目录中。
工具与接口
- 命令行接口(单电路分析):通过
analyze_circuit.py脚本实现。 - 命令行接口(批量基准测试):通过
generate_benchmarks.py脚本实现。 - 交互式演示:通过
FTCircuitBench_Pipeline_Demo.ipynbJupyter Notebook 提供。
主要功能与参数
- 支持的分析流程:
--pipeline参数可选gs、sk或both。 - Gridsynth精度控制:通过
--gridsynth-precision N参数设置。 - PBC优化:通过
--optimize-pbc参数启用。 - 其他参数包括
--sk-recursion N、--layering-max-checks K、--optimize-t-maxiter N、--skip-fidelity、--max-workers N。
使用示例
-
分析单个电路(启用GS流程和PBC): bash python analyze_circuit.py qasm/qft/qft_18q.qasm --pipeline gs --gridsynth-precision 5
-
生成批量基准测试: bash python generate_benchmarks.py
技术依赖
- Python 3.8 或更高版本。
nwqec库(用于快速的Gridsynth/PBC,使用fuse_t)。- 可选的
gridsynth二进制文件(置于PATH中,供Python回退方案使用)。




