Skip to main content

WuYueSDK is an integrated development suite for developers, covering the full lifecycle of quantum algorithm programs—design, simulation, optimization, and verification. As one of the core entry points of the quantum operating system, it significantly reduces complexity, enables flexible quantum program construction, and delivers a quick start experience with easy usage.

Project description

WuYueSDK

一、介绍

WuYueSDK是一款基于量子逻辑门的开源量子计算编程框架,其核心由两个模块组成,分别是wuyue和qutorch。

wuyue可用于复杂量子线路的模拟以及量子程序的构建,是联接量子计算开发者与经典模拟器和真实量子计算硬件的高级语言,可协助使用者高效地进行量子算法设计和验证。

qutorch是一款量子人工智能编程框架,提供自动微分与向量化并行能力,支持高效的量子电路构建与训练,适用于量子机器学习、量子组合优化及量子化学模拟等应用场景。

二、安装

通过pip安装

本项目推荐python 3.11,需安装pytorch

通过下述命令编译安装WuYueSDK,可选下述两种方式

1、标准安装,其中所有依赖已经包含在安装包中

python setup.py bdist_wheel
pip install ./dist/wuyue-1.0-py3-none-any.whl

2、安装稳定测试验证版本,其中所有依赖已经包含在安装包中,且安装包版本经过测试验证

python setup.py bdist_wheel
pip install ./dist/wuyue-1.0-py3-none-any.whl
pip install -r requirements.txt

三、使用样例

WuYueSDK模块样例请参考demo/readme.md、doc/readme.md

四、测试

本项目使用pytest进行测试,通过下述命令安装测试环境

pip install pytest pytest-cov

进入项目根目录,执行下述命令进行测试

pytest test/ -v

五、许可证

WuYueSDK开源代码遵循MulanPSL-2.0开源协议。

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

ys0715test-1.0.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

ys0715test-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ys0715test-1.0.0.tar.gz
Algorithm Hash digest
SHA256 95b071f0560e8ced9a77dad7d66023846cf73c469ad90f1bd045caf66aa0f055
MD5 45ccfd645a90324e28a98e943a974f74
BLAKE2b-256 f7b041cfe02af85c17ba399048b265342e1675d6dbd3a21bab6f6d0308cca1ec

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ys0715test-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d18afee90561c797a72b94e89a6d8998db67138d3cc7497d89b9fc6a5c00604
MD5 3651e11b515e9d5108c58c11fb89a244
BLAKE2b-256 06c1a3379a1a17a92384278f01de1cef2d6e9bae159ed03a2844f097ad93b18b

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