Write, autoreview, editor, reviewer
3,129
edits
Line 91: | Line 91: | ||
<math>|0\rangle_1\otimes H(a\rangle 0\rangle _2+b\rangle 1\rangle _2)+|1\rangle _1\otimes XH(a|0\rangle _2+b|1\rangle _2)</math> | <math>|0\rangle_1\otimes H(a\rangle 0\rangle _2+b\rangle 1\rangle _2)+|1\rangle _1\otimes XH(a|0\rangle _2+b|1\rangle _2)</math> | ||
<math>|0\rangle _1\otimes H|\psi\rangle _2+|1\rangle _1\otimes X|\psi\rangle _2</math> | <math>|0\rangle _1\otimes H|\psi\rangle _2+|1\rangle _1\otimes X|\psi\rangle _2</math> | ||
<math>|m\rangle \otimes X^mH|\psi\rangle</math> | <math>|m\rangle \otimes X^mH|\psi\rangle</math></br> | ||
Similarly if we have the input state rotated by a Z(θ) gate the circuit would look like [[Supplementary Information#2a|Figure 2a]]. As the rotation gate Z(θ) commutes with Controlled-Phase gate. Hence, [[Supplementary Information#2b|Figure 2b]] is justified.<br/> | Similarly if we have the input state rotated by a Z(θ) gate the circuit would look like [[Supplementary Information#2a|Figure 2a]]. As the rotation gate Z(θ) commutes with Controlled-Phase gate. Hence, [[Supplementary Information#2b|Figure 2b]] is justified.<br/> | ||
<div id="2"><div id="2a"><div id="2b"><ul> | <div id="2"><div id="2a"><div id="2b"><ul> |