Skip to main content

WuYueSDK

一、介绍

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

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

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

wuyue pulse是脉冲级量子编程框架,支持脉冲级精细调度与优化,实现脉冲级量子计算流程模拟。

二、安装

通过pip安装

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

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

1、标准安装

pip install wuyue

2、源码安装,以来如下所示

依赖 用途 是否必需
C++ 编译器 (g++/clang++/MSVC) 编译 C++ 扩展 必需
CMake (≥ 3.11) 构建系统 必需
Eigen3 线性代数运算 必需
pybind11 Python/C++ 绑定 必需
OpenMP 多线程并行加速 可选(强烈推荐)
注意:若无 C++ 编译器,安装时会自动跳过 C++ 扩展编译,仅安装 Python 部分。
构建安装命令如下
python setup.py bdist_wheel
pip install ./dist/wuyue-1.1.2-py3-none-any.whl

三、使用样例

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

四、测试(暂未完成)

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

pip install pytest pytest-cov

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

pytest test/ -v

五、许可证

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

Metadata

Release files for wuyue 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wuyue 1.1.3
File Size Uploaded
wuyue-1.1.3.tar.gz 478.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for wuyue 1.1.3
File
wuyue-1.1.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
wuyue-1.1.3-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
wuyue-1.1.3-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
wuyue-1.1.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
wuyue-1.1.3-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
wuyue-1.1.3-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
wuyue-1.1.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
wuyue-1.1.3-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
wuyue-1.1.3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 14.1 MB

Release files / wuyue-1.1.3.tar.gz

Download URL wuyue-1.1.3.tar.gz
Size 478.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d01fd04adec6b3102ec179d9bb79800abbb1f69a6715afdbeda536ed49bbe2a
BLAKE2b-256 checksum
How to use checksums
c30bf3d0f37338b644a9a8100449cce039f2cc89be0be0e266d5109ff35c58f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp313-cp313-win_amd64.whl

Download URL wuyue-1.1.3-cp313-cp313-win_amd64.whl
Size 1.5 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
009f0d2fca9edd4d649f42992c4fc5fb8201562c1324a8e6f973b9daefb02033
BLAKE2b-256 checksum
How to use checksums
75b9e875c2f82fde8a83f2110f8c6e524de70196e3d796a4215fccf47ce9d807
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL wuyue-1.1.3-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.9 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9cbc817b694f249a59b2c5b438918a25dbbe2bbeb4e6781854ee4a3ff449d6c7
BLAKE2b-256 checksum
How to use checksums
dd61c5a0d7ab91670222948f7e8d0b95929ae14e9e17dba4dc92e72fe7ed0d54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp313-cp313-macosx_11_0_arm64.whl

Download URL wuyue-1.1.3-cp313-cp313-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7f364e2a8599c2e827ae0498aca5af3f47303ca737b00de48a6c48f3e65a6708
BLAKE2b-256 checksum
How to use checksums
54452042bc03fb30369ef09c86cea86fc44a856ced80b66c7f07308a6b6000f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp312-cp312-win_amd64.whl

Download URL wuyue-1.1.3-cp312-cp312-win_amd64.whl
Size 1.5 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
da1a7abe940772a2f4e17b39d234d44f7742cea70b4bf4ef79f9c5e66b7b32dc
BLAKE2b-256 checksum
How to use checksums
66744374036c1139a77573562f732b0d4dae39c740d6374013fa2101c6fd7d77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL wuyue-1.1.3-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bbadb07e1c21d4af8b889f47a2cf54c9cbead5213fde90842d18ff8ab15dfc0a
BLAKE2b-256 checksum
How to use checksums
bc74e50b4f3ae4c7975c4df4f995c4f685f556a1328376e055ce03a4023db233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp312-cp312-macosx_11_0_arm64.whl

Download URL wuyue-1.1.3-cp312-cp312-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ee9c5f83829d87496606f67714e8e1602a79ad0283f9e1f23b31878dc754ccf2
BLAKE2b-256 checksum
How to use checksums
9384f6f79e24bfc6b57b4fa4cb801788d0d5c64068f9bc164ec22dd405a8aecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp311-cp311-win_amd64.whl

Download URL wuyue-1.1.3-cp311-cp311-win_amd64.whl
Size 1.5 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f57643e828b4715399074f934aa89548e2de6604706e0ca8ae9d7bee516064f0
BLAKE2b-256 checksum
How to use checksums
83493c3997c0240233917848f631c39b6766353c9ded266265017217e6f4fa7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL wuyue-1.1.3-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.9 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
addf8e470fff7cfd59dbe3da4b4c9af87d8424bac3870f0d537a8a59eb67f318
BLAKE2b-256 checksum
How to use checksums
b53c1b1ba77665000af87d4f31fbda33d25608c30dd936fa726c66659cff1a42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release files / wuyue-1.1.3-cp311-cp311-macosx_11_0_arm64.whl

Download URL wuyue-1.1.3-cp311-cp311-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f4691b49e224bda081b17f4fce311be8630475e8300eefce82de09a251d424bc
BLAKE2b-256 checksum
How to use checksums
dffcae177eeea3bf07ef2bdb3d4a7aacc9b888a79ed0f5eec269ad3a9341a855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.10

Release history Release notifications | RSS feed

This release

1.1.3 This release

10 release files

1.1.2

7 release files

1.1.1

7 release files

1.1.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page