<p>I agree with Artem, but perhaps <a href="http://ics.org.ru/doc?pdf=1254&amp;dir=e" rel="nofollow">this paper</a> on a quantum circuit model for constructing conditional statements may be of some relevance to what you are trying to figure out. </p>

CC BY-SA 3.0
2017-08-07T19:17:11.640Z
Can you please add the title of the paper, or update the link? It's broken, and without the name, the answer is basically void. Thank you.
Petr
CC BY-SA 3.0
2011-07-11T14:08:11.980Z
2011-07-11T14:08:11.980Z
Vincent Russo
<p>Are there any good examples of branching efficiency / prediction in quantum algorihms? Specifically suppose I have a set of CNOT gates one after the other that have the control line on the same line as the output of the CNOT gate?</p>

CC BY-SA 3.0
2011-07-04T15:02:11.750Z
I am not sure if this question makes sense in a circuit model. In particular, in quantum computing it is not always obvious what the control line and output line of something like a CNOT gate is. Throw a couple of Hadamards before and after the CNOT and suddenly the control and output have swapped. The only related concept I can think of is looking at the amount of entanglement generated by your circuit... but maybe others know more on this.
Artem Kaznatcheev
<reference-request><quantum-computing>
Branch prediction in quantum algorithms
Joshua Herman
# Branch prediction in quantum algorithms

(Asked by: username_0 on 2011-07-04)

Are there any good examples of branching efficiency / prediction in quantum algorihms? Specifically suppose I have a set of CNOT gates one after the other that have the control line on the same line as the output of the CNOT gate?

**Tags:** reference-request, quantum-computing

> **Comments:**
> **username_1**: I am not sure if this question makes sense in a circuit model. In particular, in quantum computing it is not always obvious what the control line and output line of something like a CNOT gate is. Throw a couple of Hadamards before and after the CNOT and suddenly the control and output have swapped. The only related concept I can think of is looking at the amount of entanglement generated by your circuit... but maybe others know more on this.  

---

## 1 answers

### Answer by username_2 on 2011-07-11. Score: 1 | Accepted answer

I agree with Artem, but perhaps [this paper](http://ics.org.ru/doc?pdf=1254&dir=e) on a quantum circuit model for constructing conditional statements may be of some relevance to what you are trying to figure out.

> **Comments:**
> **username_3**: Can you please add the title of the paper, or update the link? It's broken, and without the name, the answer is basically void. Thank you.  

---

