ExtendedStim: A Python Package Addressing both Fermionic and Bosonic Quantum Error-Correction Simultaneously
本程序基于Python 3.12+开发,主要用于量子纠错码和量子线路的构造与测试。
🔨 1 项目依赖
必选项:
- QuTiP - 量子工具包
- Stim - 量子纠错模拟器
- Stimbposd - 基于Stim的BPOSD译码器
- Galois - 提供$\mathbb{F}_2$上的代数计算
- NumPy - 数值计算库
- SciPy - 科学计算库
- Matplotlib - 绘图库
- Qiskit - 提供量子线路图的绘制
- Mip - 整数规划求解器,用于code distance的计算
可选项:
tesseract-decoder - Tesseract译码器,如果没有安装会用Stimbposd译码器替代。
📁 2 项目结构
├── extendedstim/ # 核心代码目录
│ ├── Circuit/ # 量子线路相关模块
│ │ └── Circuit.py # 量子线路实现
│ ├── Code/ # 量子码和线性码模块
│ │ ├── LinearCode/ # 线性码实现
│ │ │ ├── BicycleCode.py # 自行车码实现
│ │ │ └── LinearCode.py # 线性码基类
│ │ ├── QuantumCode/ # 量子码实现
│ │ │ ├── LatticeSurgery.py # 格点手术
│ │ │ ├── MajoranaCSSCode.py # Majorana CSS码
│ │ │ ├── MajoranaCode.py # Majorana码
│ │ │ ├── PauliCSSCode.py # Pauli CSS码
│ │ │ ├── PauliCode.py # Pauli码
│ │ │ ├── QuantumCSSCode.py # 量子CSS码
│ │ └── └── QuantumCode.py # 量子码基类
│ └── Physics/ # 物理操作模块
│ │ ├── MajoranaOperator.py # Majorana算符
│ │ ├── Operator.py # 算符基类
│ │ └── PauliOperator.py # Pauli算符
│ └── __init__.py # 模块初始化文件
├── .git/ # Git版本控制
├── .idea/ # IDE配置文件
└── README.md # 项目说明文档
📖 3 基本工作流
3.1 计算code parameters
- 构造量子纠错码
- 计算量子纠错码的code parameters
3.2 计算logical error rate
- 构造量子线路
- 执行Monte-Carlo模拟,对比预测正确与否得到logical error rate
📄 4 许可证
本项目采用MIT许可证 - 查看 LICENSE 文件了解详情。
📞 5 联系方式
- 作者: Moke
- 邮箱: Moke2001@whu.edu.cn
- 地址: 北京市海淀区清华大学蒙民伟科技楼S219
- 电话: +86 130-3373-6868
Metadata
Release files for extendedstim 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| extendedstim-1.2.5.tar.gz | 56.0 kB | Without provenance | Details for extendedstim-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| extendedstim-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for extendedstim-1.2.5-py3-none-any.whl |
Total release size: 127.9 kB
Release files / extendedstim-1.2.5.tar.gz
| Download URL | extendedstim-1.2.5.tar.gz |
|---|---|
| Size | 56.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
209a29852b1851187062f0b9ca22af0fcd8711a934bd6692ebe1be368743a143
|
|
BLAKE2b-256 checksum How to use checksums |
0c489ef28d854e5543c3d4b426057e4f0c3199ef0570d65d25ed8e387cb3806f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / extendedstim-1.2.5-py3-none-any.whl
| Download URL | extendedstim-1.2.5-py3-none-any.whl |
|---|---|
| Size | 71.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea44a88a1c1100c7159c3da60dee7172e2ac7fd9718b80181e89a84ee6000b10
|
|
BLAKE2b-256 checksum How to use checksums |
21847d250bac27762d6273600b5a82bc3cedc1fc490b0c092793fab0cf8cdaac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for extendedstim 1.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.