Skip to main content
  _   _   ____     ___    ____           _                       
 | \ | | / ___|   / _ \  |  _ \   _ __  (_) __   __   ___   _ __ 
 |  \| | \___ \  | | | | | | | | | '__| | | \ \ / /  / _ \ | '__|
 | |\  |  ___) | | |_| | | |_| | | |    | |  \ V /  |  __/ | |   
 |_| \_| |____/   \__\_\ |____/  |_|    |_|   \_/    \___| |_|   

简介

NSQDriver为一套耐数®量子测控系列设备的Python通用驱动接口。可使用Python作为编程语言,基于此驱动接口可以实现对本公司测控设备的控制,进而完成各种超导量子芯片的表征实验和高保真门操作。

                              +------------------------+
                              |          Python        |
                              |     +------------------+
                              |     |      NSQDriver   |
                              +------------------------+
                                     :     :         :
                           +----------     :         -----+
                           :               :              :
                           V               V              V
                     +-----------+   +-----------+   +-----------+   
                     |  Device A |   |  Device B |   |   QSYNC   |    
                     +-----------+   +-----------+   +-----------+   

NSQDriver接口可用于统一控制耐数®生产的Q100、MC、QSYNC等一系列量子测控仪器,可详细控制每台仪器每个OUT、IN通道的播放与采集行为,以及查看设备的运行状态等。在一个多台测控设备组成的多量子比特测控系统中,可以有效的在软件层面实现对系统中每台设备的详细控制。

耐数®量子测控系列设备详细信息参考: 耐数


快速开始

  • 驱动接口的通用流程如下
from nsqdriver import MCIDriver, QSYNCDriver

# 实例化设备驱动接口
driver = MCIDriver('127.0.0.1')
qsync = QSYNCDriver('127.0.0.1')

# 连接设备
qsync.open()
driver.open()

# 初始化系统
qsync.sync_system()


# 相关参数,参数细节相关参考 8.可用参数列表
driver.set('Shot', 1024)
  • NSWave接口
    • NSWave是一种对于耐数®Sequence序列发生技术的控制接口,Sequence序列发生模式将量子测控所需的各种门的编辑由主控计算机直接生成波形转化成了设备实时计算
    • 提供了一套直观的时序编辑接口
    • 如下示例展示了使用nswave控制设备重复播放一段波形200次
from nsqdriver import InsChannel
import numpy as np

ch = InsChannel()                        # 生成参数化波形通道实例

frame_65e9 = ch.ins_frame(6.5e9)         # 生成一个frame
frame_67e9 = ch.ins_frame(6.7e9)         # 生成一个frame

gaussian = ch.evlp_gaussian(4500e-9)     # 生成一个高斯包络
square = ch.evlp_square(2500e-9)         # 生成一个方波包络

wave1 = gaussian * frame_67e9            # 生成一段高斯包络的波形
wave2 = square * frame_65e9              # 生成一段方波包络的波形

ch.ins_reset_frame('phase', frame_65e9)
ch.ins_reset_frame('phase', frame_67e9)
ch.wait_for_trigger()                    # 等待触发到来
# 循环播放200次 3μs延迟+ 7μs波形
with ch.ins_loop(times=200) as _loop:
    _loop.play_zero(3000e-9)
    _loop.inc_phase(frame_65e9, np.pi / 2)
    _loop.play_wave(wave2)
    _loop.play_wave(wave1)

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.

nsqdriver-0.13.0-cp314-cp314-win_amd64.whl (234.5 kB view details)

Uploaded CPython 3.14Windows x86-64

nsqdriver-0.13.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

nsqdriver-0.13.0-cp314-cp314-macosx_10_15_universal2.whl (529.7 kB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

nsqdriver-0.13.0-cp313-cp313-win_amd64.whl (228.8 kB view details)

Uploaded CPython 3.13Windows x86-64

nsqdriver-0.13.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

nsqdriver-0.13.0-cp313-cp313-macosx_10_13_universal2.whl (526.1 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

nsqdriver-0.13.0-cp312-cp312-win_amd64.whl (229.5 kB view details)

Uploaded CPython 3.12Windows x86-64

nsqdriver-0.13.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

nsqdriver-0.13.0-cp312-cp312-macosx_10_13_universal2.whl (530.4 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

nsqdriver-0.13.0-cp311-cp311-win_amd64.whl (244.4 kB view details)

Uploaded CPython 3.11Windows x86-64

nsqdriver-0.13.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

nsqdriver-0.13.0-cp311-cp311-macosx_10_9_universal2.whl (530.3 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

nsqdriver-0.13.0-cp310-cp310-win_amd64.whl (245.1 kB view details)

Uploaded CPython 3.10Windows x86-64

nsqdriver-0.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

nsqdriver-0.13.0-cp310-cp310-macosx_10_9_universal2.whl (536.6 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file nsqdriver-0.13.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: nsqdriver-0.13.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 234.5 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for nsqdriver-0.13.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5102c8608f072e37e2fcf54ad903ecf885a09dbe28391d8ed6c637590a798116
MD5 cbff869d1f199f516541483ae690cba8
BLAKE2b-256 fafd4b13b1df7dfc7b8b92eddc105be0663911b03df2bbf57356dbfdc4b28232

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e2bc968ab7b82ead814840eeabff1dcc44e965d2d435dfdc18c41c68b5c501b9
MD5 2cc3499e360f5ae2652e002bcf42da33
BLAKE2b-256 a6fe25934871946078fe16f72ad293438838428ac339a10353bc3025af8a6abc

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 233b43bfe1661377fe8982b1182901ff5004c11d2d09324224e3cc71a45d79a7
MD5 3dfd137f6e125017a7ab820d4f8fe435
BLAKE2b-256 612e98f36303df4219bb219ff92b0677e921c8b7885bae447889d3e2366eed38

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: nsqdriver-0.13.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 228.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for nsqdriver-0.13.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8a2267f1dfe1aec830fbded6429ad7d7e80f15a69e8e0f8736f4a1a87614bc4f
MD5 770b8e43510a033bbeaa5c714556eb1f
BLAKE2b-256 3f19c16615cd3f74bf036180b1668ce5ce128556f1eaf3d5b20a42958b7fb155

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 11350e4ee6fa0d4f5cf687af402477197bf32491cb85ba05c0b75d0da2379d73
MD5 ee6959b21e2cbb9ff39a4d9f50da3ae5
BLAKE2b-256 9549315a9cc7ad8dd5058a348ae1e7a8d7b6e693ed84fd09a180df4b726daf60

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 6821f9fe766da21942f93ae5c782a8139b415df002f33392eeabac39705e72cb
MD5 60f346a5d8cab0990282b0a6efdf022f
BLAKE2b-256 8192d22b7f4498acab93c8347beebf72d1ba2d02d4183e3fe45aef45440956b9

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: nsqdriver-0.13.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 229.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for nsqdriver-0.13.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e0bd5cf0c82922a21f9c2df2f9ba1f548268b88ba889e86b65055e668f2c86ee
MD5 48a55f91641b3288b6bcc59ccb19ff3c
BLAKE2b-256 4353d2d4113fc6e332403532f0cb844661f65d328b8b79c8e02faa2c5f03fec5

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 cfa25d25fe8b086f2eaff2506c01f52000c800148cce0ca65a1ef27697ec4438
MD5 c4661c9c2100910ac05adc962bd4fbcb
BLAKE2b-256 3c110f6fbced3e3234d6fb1c277600ddeeda06c84e06a755d2692149a50e8ce5

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 c93726785ce2191968c51bf5383b15d361788e5536f9bcb811ddf7ace3dabfb5
MD5 024ba7800103d61d2ad6da7638584439
BLAKE2b-256 6bee6204cb2bc77f9e714d35b5434f7d55d744e7330ce5ea2b94566f07784d6f

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: nsqdriver-0.13.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 244.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for nsqdriver-0.13.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 740df62901683782839ff7f381bd91ec5e73855c40aad3eeaf1b715fd3a78f86
MD5 5555457cf1cab364f13b9f76e81b4ec0
BLAKE2b-256 3bc8c18ceb4c0a0bfc7f544b702372175343340e4bc08a3fbe2e1a4c76b58325

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dfbac36b22bc97940442f5ea92d17b2d9febf82902eb4112d1eb11dbab228ff3
MD5 fba17ce231e0da69bb3bc0fdae8d5f52
BLAKE2b-256 41272375f3ff14e2ec77d70831d2f5944ab281ab9ead8f76fc5128f3f8c09ca1

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d44dc417e4a6420a6033704d97d43d4b306e311928de2fd43cc3555949875c2c
MD5 0833275920890a83e968c1700564a2f9
BLAKE2b-256 4233e73749419a8ee6f444b808e396ae8139dd687481e705669a01415c75435a

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: nsqdriver-0.13.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 245.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.11

File hashes

Hashes for nsqdriver-0.13.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c387886466b55b78ddc96fff090875964244053f8497f22bf3421c589bd3186f
MD5 5d7d82f5d378c361cdd59c3f9fbbcd1b
BLAKE2b-256 210c3fee1d60ef4abee0449bf543d4130ca10b4daa863eefd25ec18fa2529646

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c2a510c989bf46c6d7a39867e78282ce3258d98ce6107cdfc3fc800ce8ca1100
MD5 ebdf5e53f493121fb2c286d25aebcb7d
BLAKE2b-256 b2b3d45f8e4e815f7c5495478f689e77c5b58758267fb6b3fb6387552cabfceb

See more details on using hashes here.

File details

Details for the file nsqdriver-0.13.0-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for nsqdriver-0.13.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 47327daaee6c1b469b2e1b023f5ac7a4733024af232c6171d67d344665afd976
MD5 b41e38bc9f71490aa50af33faf53bbad
BLAKE2b-256 bb1d7aeea6c9c40bc9ae0b26ee0325cb64b21fd3a92e91f27e52652f390c57b4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.13.0 This release

15 files

0.12.61

15 files

0.12.20

15 files

0.12.19

15 files

0.12.18

15 files

0.12.17

15 files

0.12.16

12 files

0.12.15

15 files

0.12.14

15 files

0.12.13

15 files

0.12.12

15 files

0.12.11

17 files

0.12.10

15 files

0.12.9

15 files

0.12.8

15 files

0.12.7

15 files

0.12.6

15 files

0.12.5

15 files

0.12.4

15 files

0.12.3

15 files

0.12.2

15 files

0.12.1

15 files

0.12.0

15 files

0.11.0

15 files

0.10.4

15 files

0.10.3

15 files

0.10.2

15 files

0.10.1

15 files

0.10.0

15 files

0.9.2

15 files

0.9.1

15 files

0.9.0

15 files

0.8.1

15 files

0.8.0

15 files

0.7.7

15 files

0.7.6

15 files

0.7.5

15 files

0.7.4

15 files

0.7.3

15 files

0.7.2

15 files

0.7.1

15 files

0.7.0

15 files

0.6.1

15 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.0

2 files

0.0.404

15 files

0.0.403

15 files

0.0.402

15 files

0.0.401

15 files

0.0.400

15 files

0.0.310

15 files

0.0.302

1 file

0.0.301

9 files

0.0.300

9 files

0.0.243

15 files

0.0.242

15 files

0.0.241

15 files

0.0.240

15 files

0.0.239

15 files

0.0.238

12 files

0.0.237

13 files

0.0.236

16 files

0.0.235

15 files

0.0.234

15 files

0.0.233

16 files

0.0.232

16 files

0.0.231

15 files

0.0.230

17 files

0.0.221

15 files

0.0.220

15 files

0.0.219

16 files

0.0.218

16 files

0.0.217

16 files

0.0.216

15 files

0.0.214

16 files

0.0.203

13 files

0.0.202

12 files

0.0.201

15 files

0.0.104

15 files

0.0.103

15 files

0.0.102

15 files

0.0.101

15 files

0.0.100

15 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