Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement complex type specification (and declaration) #193

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

jlapeyre
Copy link
Collaborator

The following are now parsed correctly and construct the correct type in oq3_semantics:
complex w;
complex[float] w;
complex[float[32]] w;

Note that this does not yet implement complex literals. Nor any other behavior peculiar to complex numbers.

Closes #191

The following are now parsed correctly and construct the correct type
in `oq3_semantics`:
`complex w;`
`complex[float] w;`
`complex[float[32]] w;`

Note that this does not yet implement complex literals. Nor any other
behavior peculiar to complex numbers.
@jlapeyre jlapeyre merged commit 5ccf7af into Qiskit:main Mar 25, 2024
7 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.

Support complex type annotation (declaration)
1 participant