Write
262
edits
Line 50: | Line 50: | ||
== | ==Pseudocode== | ||
Two single qubit quantum states <math>\psi(0) = c|0\rangle + s|1\rangle</math> and <math>\psi(1) = c|0\rangle - s|1\rangle</math>, where <math>c,s \in \mathbb{R}</math> are defined such that the angle between them is <math>\theta</math>. | Two single qubit quantum states <math>\psi(0) = c|0\rangle + s|1\rangle</math> and <math>\psi(1) = c|0\rangle - s|1\rangle</math>, where <math>c,s \in \mathbb{R}</math> are defined such that the angle between them is <math>\theta</math>. | ||
Line 82: | Line 82: | ||
The final bit of the first party is <math>A\oplus\tilde{B}</math> where <math>A=\oplus_ja_j</math> and <math>\tilde{B}=\oplus_j\tilde{b}_j</math>. | The final bit of the first party is <math>A\oplus\tilde{B}</math> where <math>A=\oplus_ja_j</math> and <math>\tilde{B}=\oplus_j\tilde{b}_j</math>. | ||
The second party’s final bit is <math>\tilde{A}\oplus B</math> where <math>\tilde{A}=\oplus_j\tilde{a}_j</math> and <math>B=\oplus_jb_j</math>. | The second party’s final bit is <math>\tilde{A}\oplus B</math> where <math>\tilde{A}=\oplus_j\tilde{a}_j</math> and <math>B=\oplus_jb_j</math>. | ||
==Further Information== | ==Further Information== | ||
<div style='text-align: right;'>''*contributed by Natansh Mathur''</div> | <div style='text-align: right;'>''*contributed by Natansh Mathur''</div> |