Skip to main content

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

License Python Documentation

本程序基于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

  1. 构造量子纠错码
  2. 计算量子纠错码的code parameters

3.2 计算logical error rate

  1. 构造量子线路
  2. 执行Monte-Carlo模拟,对比预测正确与否得到logical error rate

📄 4 许可证

本项目采用MIT许可证 - 查看 LICENSE 文件了解详情。

📞 5 联系方式

  • 作者: Moke
  • 邮箱: Moke2001@whu.edu.cn
  • 地址: 北京市海淀区清华大学蒙民伟科技楼S219
  • 电话: +86 130-3373-6868

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extendedstim-1.0.0.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

extendedstim-1.0.0-py3-none-any.whl (54.4 kB view details)

Uploaded Python 3

File details

Details for the file extendedstim-1.0.0.tar.gz.

File metadata

  • Download URL: extendedstim-1.0.0.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for extendedstim-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e1fd0e4da5be55d096d051dbfa686c8c53646332672759f6c85f828b15205b70
MD5 cbe7e5f617a2555c50a2355e4cfddd73
BLAKE2b-256 65e5c7c96041dfdf9d5874a50e461e1558e5805ee3e69f681ce16399d7fa2e3d

See more details on using hashes here.

File details

Details for the file extendedstim-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: extendedstim-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 54.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for extendedstim-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93b08e9c80c52c532946f31b9354b9b3a61a9ec0f46311c4a8f12f2aeaf91d5b
MD5 460cbdda2eddb6f1044590a686f7b35f
BLAKE2b-256 d82cd960c186c44e9f075ce971b27fbca49724062ecb8d6e9989e442f1f06bc1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page