I was checking the book from Nielsen and Cheng and they mention in chapter 1, page 23, that quantum circuits don't have loops:
"There are a few features allowed in classical circuits that are not usually present in quantum circuits. First of all, we don’t allow ‘loops’, that is, feedback from one part of the quantum circuit to another; we say the circuit is acyclic."
But then, reading a paper about it, I found this:
"To help reasoning about the correctness of quantum programs, we extend the proof rules presented by Morgan for classical probabilistic loops to quantum loops. These rules are shown to be complete in the sense that any correct assertion about the quantum loops can be proved using them. Some illustrative examples are also given to demonstrate the practicality of our proof rules." Reference: https://www.sciencedirect.com/science/article/pii/S0304397507004926
So, can quantum algorithms have loops or not? the paper does not talk about quantum circuits, but more generally, it talks about quantum loops. Are the absence of loops in quantum computation a limitation of the circuit-based model?
thanks