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.dev2-cp312-cp312-win_arm64.whl (526.1 kB view details)

Uploaded CPython 3.12Windows ARM64

pysparq-0.0.2.dev2-cp312-cp312-win_amd64.whl (578.8 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

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

File metadata

File hashes

Hashes for pysparq-0.0.2.dev2-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 8534c284e644afb007db824b28359504ed4452736225985a725045bddec87f23
MD5 d5c4f398eaa22913bf237baf2ddeeea5
BLAKE2b-256 aaf819921b0408c322509ca58c5be3e4bea42636274a4288fb5ae728a8d0802e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pysparq-0.0.2.dev2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 57d22464715e3ef069a263fcc91711da60e9c2cd0c5f8fcdbfe5fc5b5e02ead0
MD5 799e20e3ecce56e92549c91bca5011ce
BLAKE2b-256 bcc6fdf6c38d0ca850124847faa77530f9e50e26cc5a75454c4f6d38b3ff9cdf

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