Closed ryanhill1 closed 3 weeks ago
In OpenQASM 3 the let keyword allows declared quantum bits and registers to be referred to by another name as long as the alias is in scope:
let
qubit[5] q; // myreg[0] refers to the qubit q[1] let myreg = q[1:4];
See https://openqasm.com/language/types.html#aliasing
Add support for converting OpenQASM 3 programs that use aliasing to QIR.
https://github.com/qBraid/qbraid-qir/blob/08554ce4cb7937f33a09ee691f4e9bc865089aaa/qbraid_qir/qasm3/visitor.py#L775-L776
Placeholder test-cases in test_alias.py
Hi, I would like to work on this issue for unitaryhack.
In OpenQASM 3 the
let
keyword allows declared quantum bits and registers to be referred to by another name as long as the alias is in scope:See https://openqasm.com/language/types.html#aliasing
Add support for converting OpenQASM 3 programs that use aliasing to QIR.
https://github.com/qBraid/qbraid-qir/blob/08554ce4cb7937f33a09ee691f4e9bc865089aaa/qbraid_qir/qasm3/visitor.py#L775-L776
Placeholder test-cases in test_alias.py