qilimanjaro-tech / qililab

Qililab is a generic and scalable quantum control library used for fast characterization and calibration of quantum chips. Qililab also offers the ability to execute high-level quantum algorithms with your quantum hardware.
Apache License 2.0
32 stars 3 forks source link

[BUG] QProgram wait instructions have a maximum value #671

Closed 4dri8 closed 9 months ago

4dri8 commented 9 months ago

Expected behavior

When doing a long wait (>65532ns) it should do a loop in the Q1ASM, or use two successive wait instructions.

Actual behavior

One cannot do a wait longer than 65532ns, it just gives an error. Could be resolved by, in the qblox_compyler.py in the qprogram folder in qililab change the QPyInstructions.Wait by a qpysequence.library.longwait().

Additional information

Just do a QProgram().wait(bus='readout_bus',duration=200_000) for example.

Source code

No response

Tracebacks

No response

System Information

Name: qililab
Version: 0.22.0
Summary: Fundamental package for fast characterization and calibration of quantum chips.
Home-page: https://github.com/qilimanjaro-tech/qililab
Author: Qilimanjaro Quantum Tech
Author-email: info@qilimanjaro.tech
License: Apache License 2.0
Location: /home/anavarro/miniconda3/envs/qililab-main/lib/python3.10/site-packages
Editable project location: /home/anavarro/qililab
Requires: h5py, lmfit, networkx, pandas, papermill, PyVISA-py, PyYAML, qblox-instruments, qcodes, qcodes-contrib-drivers, qibo, qiboconnection, qm-qua, qpysequence, qualang-tools, ruamel.yaml, rustworkx, submitit, tqdm, urllib3
Required-by: 

Platform info:             Linux-5.15.0-91-generic-x86_64-with-glibc2.35
Python version:            3.10.11
PyVISA version:            0.7.1
QCodes version:            0.42.0
QCodes Contrib version:    0.18.0
Qblox Instrument version:  0.11.2
Qpysequence version:       0.10.0
Quantum Machines version:  1.1.5.1
Qibo version:              0.1.12.dev0

Existing GitHub issues

linear[bot] commented 9 months ago

QHC-188 [BUG] QProgram wait instructions have a maximum value