Skip to content

Implement ArrayRefType in parser#284

Merged
jlapeyre merged 1 commit intoQiskit:mainfrom
jlapeyre:impl-array-ref-type
Dec 1, 2025
Merged

Implement ArrayRefType in parser#284
jlapeyre merged 1 commit intoQiskit:mainfrom
jlapeyre:impl-array-ref-type

Conversation

@jlapeyre
Copy link
Collaborator

@jlapeyre jlapeyre commented Dec 1, 2025

This implements the array reference type in the parser. This is the type for array parameters appearing in def subroutine definitions.

The reference parser allows in a defcal everything that is allowed in a def. This PR follows the reference in this. We can restrict the parameters accepted by defcal to agree with the intended specification. This will happen in a subsequent PR.

This PR includes a ToDo type stub in the semantic analyzer.

This implements the array reference type in the parser.
This is the type for array parameters appearing in `def` and `defcal` definitions.

This includes a ToDo type stub in the semantic analyzer.
@jlapeyre jlapeyre merged commit 5ea7994 into Qiskit:main Dec 1, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant