QuTech-Delft / OpenQL

OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. https://dl.acm.org/doi/10.1145/3474222
https://openql.readthedocs.io
Other
100 stars 44 forks source link

Upstream DCL additions #321

Closed wvlothuizen closed 4 years ago

wvlothuizen commented 4 years ago

this is to upstream recent additions in the OpenQL setup in DiCarloLab pertaining to Quantum Inspire support

wvlothuizen commented 4 years ago

I'll first fix the build, some conflicts weren't resolved yet, will get back to you when that's done.

I'm aware of the discussion concerning wait/barrier en think we need something better, but then again we really needed to have something working for the Quantum Inspire release. All those changes are inside #define OPT_DECOMPOSE_WAIT_BARRIER, and thus easy to disable.

wvlothuizen commented 4 years ago

The cqasm_reader.cc update to put wait around each cnot/swap/cz, must go out or be put under an option.

is was already removed some time ago:

commit 5aaea50f1bd91a7ca3fd17f836695402f39ddac3
Author: QFer <f.j.grooteman@tudelft.nl>
Date:   Thu Apr 16 19:36:35 2020 +0200

    remove wait hack