Skip to content

RIFLA: Support iteration over arrays of qubits#3103

Draft
swernli wants to merge 1 commit intoswernli/rifla-arraysfrom
swernli/rifla-arrays2
Draft

RIFLA: Support iteration over arrays of qubits#3103
swernli wants to merge 1 commit intoswernli/rifla-arraysfrom
swernli/rifla-arrays2

Conversation

@swernli
Copy link
Copy Markdown
Collaborator

@swernli swernli commented Apr 7, 2026

This continues extending the looping support by allowing for iteration over arrays of qubits. For some of the checked in samples, this slightly increases code size because looping over a qubit register with only two qubits is not more efficient in instruction count than just operating on each qubit directly, but for large qubit registers this ends up being a net savings.

This continues extending the looping support by allowing for iteration over arrays of qubits. For some of the checked in samples, this slightly increases code size because looping over a qubit register with only two qubits is not more efficient in instruction count than just operating on each qubit directly, but for large qubit registers this ends up being a net savings.
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