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
99 stars 44 forks source link

Support for control-flow feedback #384

Closed MiguelSMoreira closed 1 year ago

MiguelSMoreira commented 3 years ago

This issue shall serve to keep track of ideas, discussions and updates regarding the design and implementation of better constructs to describe control-flow feedback in both cQASM and the OpenQL API Interface.

jvanstraten commented 3 years ago

For cQASM, we now have cQASM 1.2 support in libqasm. The idea would be to implement that in OpenQL as well, while redesigning the IR to be more sane. Details for what was added in 1.2 can be read at https://github.com/QE-Lab/libqasm/pull/127.

MiguelSMoreira commented 2 years ago

The specific case of repeat-until-success circuits compiled using cqasm 1.2 should be tested

MiguelSMoreira commented 2 years ago

Firmware and software have been upgraded in the Lamborghini. For this test to be completed, a sequence of cqasm 1.2 shall be provided to replicate previous functionality with repeat-until-success circuits

wvlothuizen commented 1 year ago

Control-flow feedback now exists