Skip to content

Commit 9d87bfc

Browse files
committed
fixed formulas for purity RB
1 parent 1b0bb3f commit 9d87bfc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ignis/RB_advanced.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@
474474
"\n",
475475
"To calculate all $Z$ correlators we only need the on diagonal elements of $\\rho$ (i.e. what is measured in experiment). If we apply a $\\pi/2$ rotation to the density matrix and then measure the $Z$ correlator,\n",
476476
"$$\n",
477-
"\\rho^{'} = e^{i P_j \\pi/4} \\rho e^{-i P_j \\pi/4} \\\\\n",
477+
"\\rho^{'} = e^{i P_j \\pi/4} \\rho e^{-i P_j \\pi/4} \n",
478+
"$$\n",
479+
"$$\n",
478480
"Tr(Z \\rho^{'}) = Tr(Z e^{i P_j \\pi/4} \\rho e^{-i P_j \\pi/4}) \n",
479481
" = Tr(e^{-i P_j \\pi/4}Z e^{i P_j \\pi/4} \\rho)\n",
480482
"$$\n",

0 commit comments

Comments
 (0)