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

Handle operations and scopes in which classical and quantum types co-operates #12

Open
1 of 2 tasks
GabrieleMessina opened this issue Nov 12, 2023 · 1 comment
Open
1 of 2 tasks
Assignees
Labels
enhancement New feature or request

Comments

@GabrieleMessina
Copy link
Owner

GabrieleMessina commented Nov 12, 2023

  • Assignment of quantum variable to classical variable triggering a measurement
  • Operation between classical and quantum types: quint c = [true]q + 1;
@GabrieleMessina GabrieleMessina self-assigned this Nov 12, 2023
@GabrieleMessina GabrieleMessina converted this from a draft issue Nov 12, 2023
@GabrieleMessina GabrieleMessina added the enhancement New feature or request label Nov 12, 2023
@GabrieleMessina
Copy link
Owner Author

GabrieleMessina commented Dec 24, 2023

quint a = 10q;
quint b = 4q;
int c = a + b; //This should cause a measure operation to be pushed into the circuit and the circuit to run to get the result.

@GabrieleMessina GabrieleMessina moved this from Todo to In Progress in Qutes Lang Dec 27, 2023
@GabrieleMessina GabrieleMessina moved this from In Progress to Todo in Qutes Lang Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant