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: ```c 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](https://github.com/qBraid/qbraid-qir/blob/main/tests/qasm3_qir/converter/test_alias.py)
Activity
king-p3nguin commentedon Jun 4, 2024
Hi, I would like to work on this issue for unitaryhack.