ExtendedStim: tools for testing quantum circuits, quantum error-correction codes.
Project description
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的计算
📁 2 项目结构
├── extendedstim/ # 核心代码目录
│ ├── Circuit/ # 量子线路相关模块
│ │ ├── Circuit.py # 量子线路实现
│ │ └── __init__.py # 模块初始化文件
│ ├── Code/ # 量子码和线性码模块
│ │ ├── LinearCode/ # 线性码实现
│ │ │ ├── BicycleCode.py # 自行车码实现
│ │ │ ├── LinearCode.py # 线性码基类
│ │ │ └── __init__.py # 模块初始化文件
│ │ ├── QuantumCode/ # 量子码实现
│ │ │ ├── LatticeSurgery.py # 格点手术
│ │ │ ├── MajoranaCSSCode.py # Majorana CSS码
│ │ │ ├── MajoranaCode.py # Majorana码
│ │ │ ├── PauliCSSCode.py # Pauli CSS码
│ │ │ ├── PauliCode.py # Pauli码
│ │ │ ├── QuantumCSSCode.py # 量子CSS码
│ │ │ ├── QuantumCode.py # 量子码基类
│ │ │ └── __init__.py # 模块初始化文件
│ │ └── __init__.py # 模块初始化文件
│ ├── Math/ # 数学工具模块
│ │ ├── BinaryArray.py # 二进制数组操作
│ │ ├── Graph.py # 图论工具
│ │ └── __init__.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
extendedstim-0.2.1.tar.gz
(36.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file extendedstim-0.2.1.tar.gz.
File metadata
- Download URL: extendedstim-0.2.1.tar.gz
- Upload date:
- Size: 36.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
275a50b9b451a5e174791e09ce2ca43dd8d1d0ab2529f767080bcebced1107a6
|
|
| MD5 |
4570db51c99bb61cc3ce940d33269bc6
|
|
| BLAKE2b-256 |
7f0300b38b803d5df2d3e789a9231d3e36a80cee27f5aae59c0da82c2237ef71
|
File details
Details for the file extendedstim-0.2.1-py3-none-any.whl.
File metadata
- Download URL: extendedstim-0.2.1-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f26879e1a8d83ea0ee63309a94ff6d82a9c6e4daab196303dd36422d88b5b4b2
|
|
| MD5 |
1896f1ef51be3e5784dc04ec1b795a89
|
|
| BLAKE2b-256 |
f4bda35d6e24e57506f44c2076237644569c725f954d373ce3f525e5db733ce0
|