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

Add support for classical expressions to SwitchCaseOp, WhileLoopOp and IfElseOp #10224

Closed
Tracked by #10239
jakelishman opened this issue Jun 7, 2023 · 0 comments · Fixed by #10358
Closed
Tracked by #10239
Assignees
Labels
type: feature request New feature or request
Milestone

Comments

@jakelishman
Copy link
Member

jakelishman commented Jun 7, 2023

What should we add?

This tracks the work labelled "PR 2" in the initial classical-expression design document.

Depends on #10223.

Brief overview:

  • relax the type checking to permit WhileLoopOp.condition and IfElseOp.condition to be Expr values with type Bool, and SwitchCaseOp.target to be an Expr value with type Bool or Uint[n].

Closing this issue does not require adding support for the builder interface. That's tracked in a follow-up: #10228.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant