Skip to main content

A sparse state quantum circuit simulator

Project description

SparQ

简介

SparQ是一个基于稀疏量子态的量子线路编程工具和模拟器。

  • 稀疏量子态:SparQ只处理量子态中振幅非0的部分
  • 寄存器级:SparQ对量子态的处理以寄存器为单位,从而允许在量子比特层面上进行扩展,在算术量子线路的计算上具有极高的便捷性。
  • 可扩展性:SparQ的架构设计上的自由度极高,可以根本性地优化特殊的量子线路的模拟。例如可以直接用FFT算法模拟QFT线路,从而取得比直接模拟QFT线路高得多的效率;或者直接利用算术运算来模拟量子算术运算线路,避免了将其拆解为基本门的繁琐过程。

安装

Requirements

  • Python 3.9-3.13 (recommended, for Python API)
  • NumPy

Optional

  • CUDA 12.0+ (recommended, for GPU acceleration)

Command

pip install pysparq

About

Contributors

本项目由USTC-IAI量子计算团队开发。

开发者:

关联项目

  • QPanda-lite 一个第三方的NISQ量子计算工具,涵盖量子线路编程、量子线路模拟、QASM解析器、OriginIR解析器、量子线路编译与量子云平台执行

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pysparq-0.0.2.dev1-cp312-cp312-win_arm64.whl (519.0 kB view details)

Uploaded CPython 3.12Windows ARM64

pysparq-0.0.2.dev1-cp312-cp312-win_amd64.whl (567.4 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file pysparq-0.0.2.dev1-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for pysparq-0.0.2.dev1-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 6a6b974e0ca1d9faa44bcbc52977e035f499592f35fe6b97067aa321142fee4e
MD5 01a6639017442f08ea959ae80720013f
BLAKE2b-256 898bc9f87a7959160947222d4d726c5f2b794b169a1f802886453e00a5a9e7a0

See more details on using hashes here.

File details

Details for the file pysparq-0.0.2.dev1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pysparq-0.0.2.dev1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 980ec034aecaa5cc7621935eafa042e1bdbe2a054998ef2ee1caf4e81a5750b9
MD5 26d3f32a302eebb1a65b8462588d1740
BLAKE2b-256 e0072e965e746e9df295369c20a6b0bb069f828873580a672a84215c52f2f127

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