{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Drift detection and characterization\n", "\n", "The drift code is currently part way through a major update. The core function works (see below), but the functions are either not documented or incorrectly documented, and most of this tutorial is commented out as it currently doesn't work.\n", "\n", "This tutorial shows how to implement drift detection, and a limited characterization, on time-stamped data. This data can be from almost any quantum circuit based experiment on one or more qubits, as long as the data is taken using a suitable time-ordering of the experiments, and the data is recorded as a time series. For example, possible experiments include suitably time-ordered GST, RPE, Ramsey or RB experiments.\n", "\n", "This notebook is an introduction to these tools, and it will be either augmented with further notebooks, or updated to be more comprehensive, at a later date." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [], "source": [ "from __future__ import print_function\n", "\n", "# Importing the drift module is essential\n", "from pygsti.extras import drift\n", "\n", "# Importing all of pyGSTi is optional, but often useful.\n", "import pygsti" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## A quick overview\n", "We now give a quick overview of the drift detection and characterization methods in the `drift` module. Further details are given later in this tutorial. As we demonstrate below, the analysis can be implemented with only two steps:\n", "\n", "1. Import some timestamped data, into a `pyGSTi` dataset.\n", "2. Pass this data to a single analysis function, `drift.do_drift_characterization()`.\n", "\n", "Here we demonstrate this with time series GST data, on the $G_i$, $G_x$, $G_y$ model, generated from a simulation (the code required to run these simulations is not currently available in `pyGSTi`). In this simulation the $G_i$ gate has low-frequency drift, the $G_x$ has high-frequency drift, and the $G_y$ gate is drift-free (where \"low\" and \"high\" frequency are with respect to the sample rate). More details on the input data format are given later." ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Loading ../tutorial_files/timeseries_data.txt: 100%\n" ] } ], "source": [ "ds = pygsti.io.load_tddataset(\"../tutorial_files/timeseries_data.txt\")" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " - Formatting the data...complete.\n", " - Calculating power spectra...complete.\n", " - Implementing statistical tests for drift detection...complete.\n", " - Estimating the probability trajectories...complete.\n" ] } ], "source": [ "# This takes 5 - 10 minutes\n", "results_gst = drift.do_drift_characterization(ds)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Thats it!**\n", "\n", "Everything has been calculated, and we can now look at the results. \n", "\n", "**Is there any detectable drift?**\n", "\n", "One useful result is printed below: a yes/no outcome for whether or not drift is detected. This is calculated using multiple statistical tests on the data at a specified global confidence level (which defaults to 0.95 when no user-specified value is passed to `drift.do_basic_drift_characterization`). That is, here there is a probability of at most 0.05 that this function will report drift when there is none." ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": false }, "outputs": [], "source": [ "#results_gst.any_drift_detect()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**We can plot power spectra**\n", "\n", "These spectra *should* be flat - up to statistical flucations, due to finite-sampling noise, around the mean noise level - if there is no drift. There are a range of power spectra that we can plot, but the most useful for an overview of the data is the \"global power spectrum\", obtained from averaging power spectra calculated from the individual data for each of the different operation sequences (again, details on exactly what this is are given later). This is plotted below. If there are peaks above the significance threshold, this power spectra provides statistically significant evidence of drift." ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "results_gst.plot_spectrum()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**We can extract the drift frequencies**\n", "\n", "If we have detected drift, we would probably likely like to know the frequencies of the drift. This information can be extracted from the results object as shown below. All frequencies will be in Hz if the timestamps have been provided in seconds (again, details later). Note that these are the frequencies in the drifting outcome probabilities -- they are *not* directly the frequencies of drift in, say, a Hamiltonian parameter. However, they are closely related to those frequencies." ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[0.4 0.011 0.016 0.001 0.008 0.005 0.003 0.2 ]\n" ] } ], "source": [ "print(results_gst.get_drift_frequencies())" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Is there drift for a particular sequence?**\n", "\n", "There are individual power spectra for all of the sequences. E.g., if we are interested in whether the $G_xG_i^{128}G_y$ sequence shows signs of drift, we can plot the power spectrum:" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "collapsed": false }, "outputs": [ { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAABCwAAADMCAYAAAC4GTIBAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4wLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvqOYd8AAAIABJREFUeJzs3WlgVOX59/HvLFkJJGRjVyCyqSgoIApWBRVUZBW3KlpbecS2tFYqiJZNENmqgiJSrfy1ooKgFESxgtYKguJKgIAEAgQCIQmB7JOZM8+LyZxMSIDsk+X3eZPMzJlzrtnPuc51X7fF7Xa7ERERERERERGpQ6z+DkBERERERERE5ExKWIiIiIiIiIhInaOEhYiIiIiIiIjUOUpYiIiIiIiIiEido4SFiIiIiIiIiNQ5SliIiIiIiIiISJ2jhIWIiIiIiIiI1DlKWIiIiIiIiIhInaOEhYiIiIiIiIjUOUpYiIiIiIiIiEido4SFiIiIiIiIiNQ5dn8HUBX5+fnEx8cTExODzWbzdzgiIiIiIiIicgaXy8WJEye49NJLCQ4OLvf96nXCIj4+nl//+tf+DkNEREREREREzuPtt9+mV69e5V6+1hIWAwYMIDAwkKCgIAAmTJjAtddey48//siUKVMoKCigTZs2zJs3j6ioqHKtMyYmBvA86JYtW9ZY7CIiIiIiIiJSOceOHePXv/61eQxfXrVaYbFw4UI6d+5sXjYMg7/+9a/Mnj2bXr16sXjxYubPn8/s2bPLtT7vMJCWLVvStm3bGolZRERERERERKquoq0c/Np0Mz4+nqCgILMk5O677+aTTz7xZ0giIiIiIiIiUgfUaoXFhAkTcLvdXHnllfzlL38hJSWF1q1bm7dHRkZiGAaZmZlERETUZmh+k5CUwY7ENLrHRdO1faS/wxERERERERGpE2otYfH222/TqlUrHA4Hs2bNYsaMGdx00021tfk6KSEpg6eWbKbQaRBgtzLrkX5KWoiIiIhIg1FYWEhycjL5+fn+DkVEaklwcDBt27YlICCgyuuqtYRFq1atAAgMDOTee+9l3LhxjBkzhqNHj5rLZGRkYLVaG011xY7ENByFBgBOp8GOxDQlLERERESkwUhOTqZp06a0b98ei8Xi73BEpIa53W7S09NJTk6mQ4cOVV5frfSwyM3NJSsrC/A8gPXr19OtWzcuvfRS8vPz2b59OwDvvvsugwcPro2Q6oTucdFYrZ4vbrvdSve4aD9HJCIiIiJSffLz84mKilKyQqSRsFgsREVFVVtVVa1UWKSnp/PHP/4Rl8uFYRjExcUxdepUrFYrc+fOZerUqSWmNW0suraPpHe3FnyXcFzDQURERESkQVKyQqRxqc7PfK0kLNq1a8eHH35Y5m1XXHEFa9eurY0w6qSmoYFYLBYlK0RERERERER81OosIVKa4XZjGG5/hyEiIiIi0uANGDCAwMBAAgMDycvL46KLLuLhhx/miiuuOO99V69eTc+ePatlXH5N2L17NwcOHODWW2/1dygi1aZWeljI2blcblxKWIiIiIiI1IqFCxfy73//m//85z+MGDGCsWPH8tNPP533fh988AFJSUk1H2Al7d69m08++eSstzudzlqMRqR6qMLCzwy3J1lhGG6zAaeIiIiISGOWkJTBjsQ0usdF1+jQ6Ztvvpmff/6Z119/nYULF/L111/zwgsvUFBQgMvl4pFHHuG2225j1apVxMfHM3PmTF544QUmTpxIVFQU06dPJy8vj4KCAu68804efPDBUttIT0/n8ccfJz09HYCrr76ayZMns3r1atauXUtQUBCHDh0iOjqaefPm0aJFCwCWLl3Kp59+isvlokWLFjzzzDPExMTgcDh4/vnn+d///ofVaqVdu3bMnDmThQsXkp2dzbBhw+jduzdPP/00Xbp04Q9/+ANffPEF1157LTabjdzcXCZOnAjAokWLzMuLFi1i//79ZGdnk5SUxCWXXMLYsWN57rnnOHr0KDfddJN5P5HaooSFn7kMo+ivEhYiIiIi0nBt2n6I/3xz6LzL5eYXcuDoadxusFigQ+tmhAYHnPM+N/W5gAG9LqhUXJdffjmbNm0C4OKLL2b58uXYbDbS0tIYOXIk/fv3Z9SoUXz44Yc89NBD3HDDDQBkZ2ezbNkyAgMDycnJYfTo0Vx77bXExcWVWP/atWu54IILWLZsGQCnTp0yb/vuu+/48MMP6dixIy+99BKzZs1i4cKFrFmzhsOHD7NixQqsVivLly/nueeeY8GCBSxdupTDhw+zevVqAgMDycjIoHnz5owfP54vvviChQsXlth+UFAQq1atAjwJinPZuXMnq1atIjQ0lBEjRrBgwQJee+01nE4nAwcO5K677qJ9+/aVep5FKkMJCz/z9q/wVlqIiIiIiDRmOXlOvLvGbrfn8vkSFlXh9tkPz8jIYPLkyRw8eBCbzcapU6c4cOAAPXr0KHW//Px8pk2bxp49e7BYLKSmppKQkFAqYXH55ZezbNky5syZQ58+fejfv79525VXXknHjh0BGD16NLfffjsAmzZtIj4+nhEjRgDgcrkICwsD4PPPP2fSpEkEBgYCEBl57goU7zrKo3///jRt2hSALl260LVrV7PnR4cOHTh06JASFlKrlLDwM2//CpfLgACbn6MREREREakZA3qVrwoiISmDp5Zsxuk0sNutTPj1lTU6LGTHjh106tQJgGnTpjFgwABeeuklLBYLgwYNoqCgoMz7/f3vfycmJobnnnsOu93OQw89VOayPXv25IMPPmDLli2sWbOGpUuX8s4775wzJrfbzbhx47jjjjuq/PhCQ0PN/202G0ZRhTdQKt6goKASy5552eVyVTkekYpQ000/Myss1HhTRERERISu7SOZ9Ug/7rulG7Me6VejyYrPPvuMd955h4ceegiArKws2rRpg8ViYfPmzRw8eNBctkmTJmRlZZmXs7KyaNmyJXa7nb1797J9+/Yyt3H48GHCwsK47bbbePLJJ9m5c6eZNPj+++/NRp6rVq2ib9++gGc2k+XLl5vDRxwOBwkJCQDccMMN/N///R8OhwPwVIUAhIWFlYivLBdeeKG5/ezsbL744ouKPF0itU4VFn5mVlgoYSEiIiIiAniSFjWVqBg/frw5r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JgLLriAF198kZCQEHJycpg5cyY7duwAYNiwYTz88MMA3H///Tz00EPccMMNvPfeeyxbtozAwEAMw+CFF14gLi6O/fv38+yzz3Ly5EkKCwt54IEHGDVq1Hlfw6VLl/Lpp5/icrlo0aIFzzzzDGFhYZV6DaVuq/WExUsvvcSiRYtYu3YtnTt35scff2TKlCkUFBTQpk0b5s2bR1RU+b5sGgJVWIiIiIiI1I6EhAQyMzPp27cvJ06cYNWqVdxyyy2EhIRw4403sm7dOsaMGYPT6WTt2rW8++67nD59mqlTp7J06VJiY2NJTU3ljjvuYN26dQBkZmbSvXt3Jk6cCHiGnCxfvhybzUZaWhojR46kf//+hIeH88QTT/DAAw8wbNgwduzYwZ133mnGNnHiRB599FF69+6Nw+HgwQcfpHv37vTr16/EY/jHP/7Bb3/7W4YMGYLb7SYrK8u87ZdffmHZsmVYLBZGjBjBli1b6NevHzNnzqRTp068/PLLpKamMnLkSC6++GLGjRvHypUrWbhwIZ07dz7r8xYfH8/7779P06ZN+e1vf8vatWu58847Wbx4MYZhsHbtWnJycrjrrrvo3Lkz1113XYn7z507l48//pjY2FgcDgculwun08mECROYN28ecXFxZGdnM2rUKHr06EFcXNxZY1mzZg2HDx9mxYoVWK1Wli9fznPPPceCBQsq/RpK3VWrCYudO3fy448/0qZNGwAMw+Cvf/0rs2fPplevXixevJj58+cze/bs2gzLr1RhISIiIiKNwTUVqIKoKe+//z7Dhg3DYrFw8803M3PmTI4fP06LFi0YMWIEs2bNYsyYMXz55Zd07NiRtm3b8t///pfk5GSzcgDAYrFw8OBBmjdvTlBQELfccot5W0ZGBpMnT+bgwYPYbDZOnTrFgQMHuOiii9i7dy+33347AN27d6dLly4A5Obm8s0335CRkWGuJycnh8TExFIJi6uuuopXXnmFQ4cO0a9fPy6//HLzthtvvJGgoCAALr74YnOZr7/+mkmTJgEQGxvLddddx7Zt286ZpPDVv39/mjVrBsBll11mVmp8/fXXTJ48GYvFQlhYGLfddhtff/11qYRF3759mTRpEjfccAPXX3897dq1Y9++fSQmJvKXv/zFXK6wsJD9+/efM2GxadMm4uPjGTFiBAAul4uwsDCASr+GUnfVWsLC4XAwY8YMFixYwJgxYwBPpi4oKMgc23T33XczcODARpWwUIWFiIiIiEjNczgcrFu3jsDAQNasWQN4DpBXr17NuHHj6NWrFzk5OezZs4cPPviAkSNHAuB2u+nSpQtvv/12qXUmJycTEhKCxWIxr5s2bRoDBgzgpZdewmKxMGjQIAoKCszbfZf1MgwDi8XC+++/T0BAwDkfx4MPPsiAAQPYsmULzzzzDP369eOxxx4DMJMVADabDZfLVYFnyGP06NE4HA6aNGnC8uXLy1yv7+Mpj5deeokdO3awdetWxowZw7Rp02jdujXNmzc3X4vycrvdjBs3jjvuuKPUbZV9DaXuqrWmmy+++CJDhw6lbdu25nUpKSm0bt3avBwZGYlhGGRmZtZWWH6nCgsRERERkZq3ceNGOnTowJdffsmmTZvYtGkT//znP/nggw/MZYYPH84bb7zBt99+y6BBgwDo2bMnBw8eZOvWreZyP//8M+6zzPKXlZVFmzZtsFgsbN68mYMHDwIQFhZGp06dzGEIO3fuZO/eveZtV155JUuXLjXXk5KSwokTJ0qt/8CBA1xwwQXcfffdjBkzxuwfcS5XX301K1asAODEiRP897//pW/fvgA0adKkxLCSlStXsmbNGjNZcb71rlq1CrfbTXZ2NuvXr+eaa64psYzT6eTw4cNcdtlljB07ln79+rF79246dOhAcHAwH374oblsYmIi2dnZ59zmgAEDWL58OadOnQI8iaiEhATz9up4DaXuqJUKix9++IH4+HgmTJhQG5urV1xKWIiIiIiI1LhVq1aZwzG8evbsiWEYfPPNN/Tp04fhw4czcOBARo4cSUhICADh4eEsXryYefPm8eyzz1JYWEi7du1YsmRJmdt5/PHHmT59OosWLSox7AM8TSAnT57M0qVL6dy5M507d6Zp06YA5tB4b4xNmjRh1qxZxMTElFj/W2+9xbZt2wgICCAwMJCnn376vI/96aefZsqUKea6J0yYQKdOnQAYM2YMkydPJjg4uMymm+fy6KOP8swzz5jrHTp0KL/61a9KLGMYBpMmTSIrKwuLxUKrVq14/PHHsdvtLFmyhGeffZbXX38dwzCIiorihRdeOOc2hw8fTmZmJvfddx/gqZ6455576Nq1q3l7VV9DqTss7lpIKy1dupQ333yTwMBAAI4dO0ZUVBT3338///73v80sY0ZGBgMHDuSHH34o13qTk5MZOHAgGzduLFG5UZ/c8eQ6ChwuJj/Ym6u7tz7/HURERERE6ondu3fTrVs3f4dRZ+Tk5BAaGorFYmHfvn3cf//9fPLJJ4SHh/s7NJFqdeZnv7LH7rVSYTF27FjGjh1rXh4wYABLlizhoosuYsWKFWzfvp1evXrx7rvvMnjw4NoIqc5wubwVFn4OREREREREatQPP/zA3LlzzaEIzzzzjJIVIudQ69Oa+rJarcydO5epU6eWmNa0MTHc3qabyliIiIiIiDRk/fv3p3///v4OQ6Te8EvCYtOmTeb/V1xxBWvXrvVHGH7ndrvVdFNERERERESkDLU2S4iU5puj0LSmIiIiIiIiIsWUsPAjw2cYiCosRERERERERIopYeFHvlUVqrAQERERERERKaaEhR8ZSliIiIiIiNSaAwcOcNdddzFo0CDuuusukpKSylzO5XIxffp0brzxRm666SZWrlxp3rZo0SKuvvpqhg0bxrBhw5g+fXqF49i2bRsjR44873KrV69m/PjxFV7/pEmT+Ne//lXu5ZOTk3nvvffKtezp06f5xz/+UeGYfB0/fpz777+/SusAGDZsGPn5+QB8//33DBkyhOHDh7N161YefvhhDh06VOVt1ITdu3ezfv36Etd16dKFnJycGtvm/fffz+eff17h+50rrgEDBrB3796qhnZOSlj4kW+SQkNCRERERERq1tSpU7n33nvZsGED9957L1OmTClzubVr13Lo0CE+/fRT3nvvPRYtWkRycrJ5+/Dhw1mzZg1r1qxh6tSptRV+jTly5EiFEhavvfZalbbXokUL3nrrrSqtA2DNmjUEBweb/w8fPpwPP/yQvn378o9//IMLLrigytuoCbt37+aTTz6p1H2dTmc1R1O3KWHhR6qwEBERERGpHenp6ezatYshQ4YAMGTIEHbt2kVGRkapZdevX8/o0aOxWq1ERkZy4403VuoA8/nnn+emm25i9OjRzJs376xVFR9++CG33347t99+O7///e9JT083b8vKyuKRRx7h1ltvZcyYMRw/fhyAPXv2cO+99zJixAhuvfVWli1bdt548vLyGD9+PLfeeitDhw7lT3/6EwAzZswgMTGRYcOGmRUdc+bMYdSoUQwdOpQHHniAI0eOmMtmZWUxbNgw7r777nNuzzAMpk2bxuDBgxk6dKi5fHJyMldddZW53IYNGxg8eDDDhw9nyZIlJc7qd+nShSVLljBq1CgGDhzIhg0bzPt5l3vttdf4+OOPefPNN82qC9+z/8ePH+ePf/yj+Ry/+uqrgCcxNXr0aIYPH87w4cP5+uuvzXUPGDCAF198kbvuuosBAwaUqFhJTEzkoYceMtf3wQcfAJCamsr48eO54447uP3221myZEmp5+TkyZMsXLiQLVu2MGzYMGbOnGne9tZbb531cS5atIhRo0bx0ksvAbB06VLuuOMORowYwSOPPMKJEycA+Oyzz7j99tsZNmwYQ4YMYdu2beZ6vvnmG+655x4GDhzI/PnzzesPHjzIAw88wO23386IESP48ssvy3w9t2/fbj7mGTNm4HbX/DGsX6Y1FQ9VWIiIiIhIY5G66QuOb9xUI+tuMXAAsQOuP+cyKSkptGjRApvNBoDNZiM2NpaUlBQiIyNLLdu6dWvzcqtWrTh27Jh5+aOPPuKrr74iJiaGP/7xj/Ts2bPU9jZt2sTnn39uVgGcbWjH3r17mT9/PqtXryY2NpYXXniBZ555hhdeeAGA7777jg8//JCOHTvy0ksvMWvWLBYuXEibNm1YtmwZgYGB5OTkMHr0aK699lri4uLO+hx89dVX5OTkmMMRTp06BcCUKVOYM2cOq1evNpd9+OGHmThxIgArV65k/vz5PP/880yZMoVRo0axZs2asz/ZRRISEti2bRvr16/HarWa2/OVlpbGlClTeO+992jfvn2ZiZewsDBWrVrFd999x5///GcGDRpU4vbf/e537Nu3j0svvZT77ruv1P0nTJjAddddx6JFiwDMJFX//v0ZMmQIFouF/fv38+CDD5Y4WM/Pz+e9994jOTnZPJgPCgri0Ucf5c9//jO33HIL4ElCAEycOJFHH32U3r1743A4ePDBB+nevTv9+vUz19m8eXPGjx/PF198wcKFC8v9OIOCgli1ahXgqSY5fPgwK1aswGq1snz5cp577jkWLFjAwoULmTFjBj179sTlcpGXl2euIyUlhbfffpucnBxuvPFG7rjjDtq3b8+ECRO48847GT16NPv27ePXv/41H3/8cYnPhcPh4LHHHmP+/PlcddVVrF+/nrfffrvUc13dlLDwo5IVFsY5lhQRERERkbrg7rvv5pFHHiEgIIDNmzfz6KOPsn79epo3b15iuW3btnHLLbcQGhoKeIaRLF68uNT6tm3bxnXXXUdsbKy5/mHDhpm3X3nllXTs2BGA0aNHc/vttwOeg+lp06axZ88eLBYLqampJCQknDNh0bVrVxITE5k+fTp9+vTh+uuvP+uyX375JcuXLyc3N7fSwxDatWuH0+nkqaee4qqrruKGG24otcxPP/3ExRdfTPv27QEYNWoUs2fPLrHMrbfeCkCPHj1ITU2loKCAoKCgcsWQk5PDDz/8wBtvvGFe5z0QP3z4MI8//jjHjx/HbreTlpbGiRMniImJKbHdtm3b0qxZM44dO4ZhGDidTjNZAZ4kRG5uLt98802Jip2cnBwSExNLJCzO5VyPc8SIEeZymzZtIj4+3rzO5XIRFhYGQN++fZk9ezY333wzv/rVr+jcubN5v8GDB2O1WmnatClxcXEcOnSI6Ohodu/ezahRowC46KKL6NatGz/++CMDBgww77t//35CQkLMyphbb731rEOqqpMSFn5UosKiFsppRERERET8JXbA9eetgqhJrVq14vjx47hcLmw2Gy6Xi9TUVFq1alXmskePHuWyyy4DSlZceA9mAfr160erVq345Zdf6NOnT+08kCJ///vfiYmJ4bnnnsNut/PQQw9RUFBwzvu0a9eOdevWsXXrVr788kuef/551q5dW2q5I0eOMHv2bN5//33atWvH999/z4QJEyocY9OmTfnoo4/Ytm0bW7ZsYf78+ebwiYrwHrR7q2OcTme5Exbn8pe//IVJkyZx4403YhgGl19+eYnn0Hcb3veMxWIpc12GYWCxWHj//fcJCAioVDznepzexBeA2+1m3Lhx3HHHHaXWMXnyZPbs2cPWrVv505/+xG9+8xvuvPPO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VxYsWMDBgwex2Ww0a9aMWbNmlev5mTJlCsuWLcNutzN37txSibzAwEDCBscMAAAgAElEQVT+/ve/m9P49u7du0Sfl5picddGa88akpyczMCBA9m4caOZGatPDh07ze/neebCHT2wE2NuvdjPEYmIiIiIVJ/du3fTrVs3f4fhN9nZ2YSFhWEYBk899RSxsbE89thj/g6rzvE+T+CpdHj//fd55513/ByVVMWZn/3KHrurwsKPfHtYuDQkRERERESkQZk4cSJHjhwhPz+fSy65hIcfftjfIdVJb731Fp988gkul4vw8PASU31K46aEhR8ZaropIiIiItJgvfzyy/4OoV4YN24c48aN83cYUgep6aYflaiwMJSwEBEREREREfFqEBUWe+Y/z8kmTfwdRoXl5hdyb7Kn8U7k+mB2fBvm54hERERERKqPcdtgcpKTa2X6QxGpG9xuN46TJ9nx1BTzutScnEqtSxUWfqRRICIiIiLSoJ06TWZODvW4z7+IVIDb7SYzJwdOVc+Upw2iwqLLhMfq5SwhOxLTWL54MwA3X3Uhg+7scZ57iIiIiIjUH4WFhSQnJ3MoK8vfoYhILQkODubiGwcScMtg87rk5GT4eF2F11VrCYtHH32U5ORkrFYroaGh/O1vf6Nbt24cOHCASZMmkZmZSUREBHPmzKF9+/a1FZZfGS7fHhaGHyMREREREal+AQEBdOjQwd9hiEg9VWsJizlz5tC0aVMAPvvsMyZPnswHH3zA1KlTuffeexk2bBhr1qxhypQpvPnmm7UVll+5fErjDDXdFBERERERETGVq4eFy+Vi4sSJOByOSm/Im6wAyM7OxmKxkJ6ezq5duxgyZAgAQ4YMYdeuXWRkZFR6O/WJoVlCRERERERERMpUrgoLm83G5s2bq9zd96mnnmLz5s243W5ee+01UlJSaNGiBTabzdxObGwsKSkpREZGVmlb9YESFiIiIiIiIiJlK/csIQ888ACLFi2isLCw0hubNWsWX3zxBY899hhz586t9HoaCt++FRoSIiIiIiIiIlKs3D0s/vWvf5GWlsYbb7xBZGRkiWqLL774okIbHT58OFOmTKFly5YcP34cl8uFzWbD5XKRmppKq1atKrS++sqbr7BZLUpYiIiIiIiIiPgod8Ji3rx5ld5ITk4Op0+fNhMRmzZtIjw8nKioKLp168a6desYNmwY69ato1u3bo1iOAgUV1gE2K0aEiIiIiIiIiLio9wJiz59+lR6I3l5efzpT38iLy8Pq9VKeHg4S5YswWKxMG3aNCZNmsTixYtp1qwZc+bMqfR26htvVUWA3aoKCxEREREREREf5U5YOBwOXn75ZdatW0dmZibfffcdX331FUlJSdx3333nvG90dDQrVqwo87a4uDhWrlxZsagbCJcSFiIiIiIiIiJlKnfTzWeffZa9e/cyf/58s39Fp06deOedd2osuIbOm6Sw220aEiIiIiIiIiLio9wVFp999hmffvopoaGhWK2ePEeLFi04fvx4jQXX0JkVFjZriRlDRERERERERBq7cldYBAQE4HK5SlyXkZFBREREtQfVWBhuDQkRERERERERKUu5ExaDBw9m4sSJHD58GIDU1FRmzJjBbbfdVmPBNXQuV3HCQkNCRERERERERIqVO2Hx2GOP0bZtW4YOHcrp06cZNGgQsbGx/P73v6/J+Bq0EhUWbiUsRERERERERLzK3cMiMDCQyZMnM3nyZDIyMmjevLnZfFMqx7fCIjff6edoREREREREROqOcldYzJ49m40bN3L69GkiIyOVrKgGxRUWNlVYiIiIiIiIiPgod4VFaGgob7zxBn/5y1+48MIL6dOnD71796Z3795ERkbWZIwNlndmkAC71ay2EBEREREREZEKJCz+9Kc/AeBwOPjxxx/573//y+TJk8nNzWX37t01FmBD5p3JNMCmHhYiIiIiIiIivsqdsMjJyeH777/n22+/5ZtvvuHo0aP079+fPn361GR8DZq3wsKuWUJERERERERESih3wqJPnz60adOG+++/n1mzZhEXF1eTcTUKhuHGZrVgtVgwXIa/wxERERERERGpM8qdsPjDH/7A9u3befXVV/niiy/M/hWXXXYZAQEBNRljg2UYbqxWCzabxRwSkpCUwY7ENLrHRdO1vXqDiIiIiIiISONU7oTFuHHjAHC5XOzcuZPPPvuMsWPHYhgGP/zwQ40F2JC5fCosXIabhKQMJr+yGZfLwG63MuuRfkpaiIiIiIiISKNU7oRFZmam2b9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q1BEARBEAQFLAiCIAjiO0NJSQneeOMN/OlPf8KsWbMwZ84cvPXWW4hGowCA1157DYcPH8aMGTOwdu1a3HXXXdK92dnZeP755/GrX/0KN954I8xms2K7yQMPPIB58+bh4YcfxrRp03DPPfegpqYmLbkeeughLFy4EA8//DC+973v4bnnnkMwGERWVhbeeustbNmyBTfccAOuv/56vPrqq4pAiZybbroJ9fX16OrqOm9losUDDzyATz/9FNOnT8eLL76ITz75BH19ffj+978vnRTym9/8BgBQU1MDi8WCKVOmpC0TQRAEQRACDD/YA8UJgiAIgvhOsGbNGjQ1NeHVV18dalHS5v3338eZM2fw3HPPDbUoAISkp3fffbciCSdBEARBEOlBOSwIgiAIgrhsWL58+VCLoGDNmjVDLQJBEARBXLLQlhCCIAiCIAiCIAiCIIYdtCWEIAiCIAiCIAiCIIhhB62wIAiCIAiCIAiCIAhi2EEBC4IgCIIgCIIgCIIghh0UsCAIgiAIgiAIgiAIYthBAQuCIAiCIAiCIAiCIIYdFLAgCIIgCIIgCIIgCGLYQQELgiAIgiAIgiAIgiCGHf8fBkQL3kmAX9AAAAAASUVORK5CYII=\n", "text/plain": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "# The circuit we are interested\n", "opstr = pygsti.objects.Circuit(None, stringrep='Gx(Gi)^128Gy')\n", "# We hand the circuit to the plotting function\n", "results_gst.plot_spectrum(sequence=opstr,loc='upper right')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Box-plots for GST data**\n", "\n", "If the data is from GST experiments, or anything with a GST-like structure of germs and fudicials, we can create a box-plot which shows the maximum power in the spectrum for each sequence. This maximum power is a reasonable proxy for comparing how \"drifty\" the data from the different sequences appears to be. But note that the maximum power should *not* be used to directly compare the level of drift in two different datasets with different parameters, particularly if the number of timestamps is different - because this maximum power will increase with more data, for a fixed level of drift. More on this at a later date.\n", "\n", "In the plot below we see that the amount of drift appears to be increasing with sequence length, as would be expected with gate drift. Without performing a detailed analysis, by eye it is clear that the $G_i$ gate is the most drifty, that the $G_x$ gate has some drift, and that the data looks consistent with a drift-free $G_y$ gate." ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# This box constructs some GST objects, needed to create any sort of boxplot with GST data\n", "from pygsti.construction import std1Q_XYI # The model used with the GST data we imported\n", "\n", "# This manually specifies the germ and fiducial structure for the imported data.\n", "fiducial_strs = ['{}','Gx','Gy','GxGx','GxGxGx','GyGyGy']\n", "germ_strs = ['Gi','Gx','Gy','GxGy','GxGyGi','GxGiGy','GxGiGi','GyGiGi','GxGxGiGy','GxGyGyGi','GxGxGyGxGyGy']\n", "log2maxL = 9 # log2 of the maximum germ power\n", "\n", "# Below we use the maxlength, germ and fuducial lists to create the GST structures needed for box plots.\n", "fiducials = [pygsti.objects.Circuit(None,stringrep=fs) for fs in fiducial_strs]\n", "germs = [pygsti.objects.Circuit(None,stringrep=mdl) for mdl in germ_strs]\n", "max_lengths = [2**i for i in range(0,log2maxL)]\n", "gssList = pygsti.construction.make_lsgst_structs(std1Q_XYI.gates, fiducials, fiducials, germs, max_lengths) " ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "
Loading...
\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "# Create a workspace to show the boxplot\n", "w = pygsti.report.Workspace()\n", "w.init_notebook_mode(connected=False, autodisplay=True) " ] }, { "cell_type": "code", "execution_count": 10, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "
\n", "
\n", "
\n", "
\n", "\n", "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "" ] }, "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Create a boxplot of the maximum power in the power spectra for each sequence.\n", "w.ColorBoxPlot('driftpwr', gssList[-1], None, None, driftresults = (results_gst,None))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# NOTHING BELOW HERE WORKS" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Constructing estimates of the drifting probabilities**\n", "\n", "The analysis creates estimates of the time-dependent probability, $p(t)$, to obtain a given outcome, for each sequence. Below, we will explain how to access and plot all of these estimates. Here, we demonstrate how to plot the estimated $p(t)$ that the analysis concludes is \"the most drifty\" (the $p(t)$ where the estimated drift has the highest power). Obviously, the more this function oscillates, the more drifty the data for this sequence appears to be." ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#results_gst.plot_most_drifty_probability(plot_data=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "It can also be informative to display multiple reconstructions on a single plot. Below we plot the reconstructions for the $G_i$ and $G_x$ germs, both with varying germ power and fixed fudicials." ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# Pick a list of sequence labels (here circuits) or indices to plot the estimated p(t) for\n", "gstrs = [pygsti.objects.Circuit(None,stringrep='Gx(Gi)^'+str(2**l)+'Gy') for l in range(4,10)]\n", "# Hand this list to the plotting function\n", "#results_gst.plot_probability_trajectory_estimates(gstrs)" ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# Pick a list of sequence labels (here circuits) or indices to plot the estimated p(t) for\n", "gstrs = [pygsti.objects.Circuit(None,stringrep='(Gx)^'+str(2**l)) for l in range(4,10)]\n", "# Hand this list to the plotting function\n", "#results_gst.plot_multi_estimated_probabilities(gstrs,loc='upper right')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**More details please?**\n", "\n", "Having provided an overview of the tools in the `drift` module, we now give a more detailed introduction to:\n", "1. The types of data that can be analyzed, and the format they must be imported in to use the `drift` module.\n", "2. The analysis methods that are used inside the `drift.do_basic_drift_characterization()`.\n", "3. How to access the various outputs returned by the analysis, and some details on how to interpret them. " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Input data types and formats\n", "#### What types of data can be analyzed?\n", "\n", " The methods in this notebook can be used on data from any experiment that satisfies the following criteria: \n", "\n", "- The experiments consist of $S \\geq 1$ different circuits, or sequences, each with $M \\geq 2$ possible outcomes with $M$ the same for all $S$ circuits.\n", "\n", "\n", "- Sequence $s$ is repeated, and one of the $M$ outcomes is recorded, $N$ times during each of $T$ different time-intervals, with $N$ and $T$ the same for all sequences $s$. Let $\\tau_{s,1},\\tau_{s,2},\\dots,\\tau_{s,T}$ denote times associated with these time-intervals (e.g., the start time or mid-point of each interval).\n", "\n", "\n", "- The time-gap between consecutive sets of $N$ repeats of a sequence is approximately constant, and approximately independent of sequence. That is $t_{s,gap} \\approx \\tau_{s,t+1} - \\tau_{s,t}$ for all $s,t$ and some constant $t_{s,gap}$ (the time gap is constant for each sequence), and $t_{gap} \\equiv t_{s,gap} \\approx t_{s',gap}$ for all $s,s'$ (the time gap is the same for every sequence).\n", "\n", "#### What type of circuits can the data come from?\n", "\n", "Many characterization routines, including GST, RPE, restricted sets of GST sequences (e.g., Ramsey sequences) or RB, satisfy the above criteria *if* a suitable time-ordering for the repeats of all of the sequences is chosen.\n", "\n", "An example is a full set of GST sequences, with sequence 1 repeated $N=5$ times, then sequence 2 repeated $N=5$ times, etc, with this entire procedure looped through $T = 500$ times. As long as each circuit follows on from the following circuit with a roughly constant time gap, then -- even if the different circuits take varying times to implement -- the time-gaps between consecutive sets of $N$ repeats of each circuit are all the same.\n", "\n", "To obtain best performance, it is preferable to minimize $N$ and maximize $T$ for the same fixed $N \\times T$ (this will provide better detection for high frequency drift).\n", "\n", "\n", "#### What input formats can be used?\n", "\n", "Data can be provided to the analysis function in a `pyGSTi` dataset, which can be imported using the `pygsti.io.load_tddataset()` function, demostrated above. The automated input for this currently has limited functionality, and the analysis is much slower when using this form of input. However, this method has the advantage of simplicity: minimal user specification is required when the analysis uses such a dataset.\n", "\n", "2. Data can be provided to the analysis function as an ordinary numpy array. The analysis is faster when using this format. The array can have a range of different dimensions, but the most flexible format is when the array is 4 dimensional. \n", "\n", "Here we will explain the format when the array is 4 dimensional, below we will demonstrate the method with lower dimensional arrays. When the input array is 4 dimensional, the input data format is a numpy array $A$ of dimension $(S \\times E \\times M_{\\rm marg} \\times T)$, where\n", "1. $S$ is the number of sequences,\n", "2. $E$ is the number of \"entities\" (often 1; and more on this below),\n", "3. $M$ is the number of possible measurement outcomes for each circuit,\n", "4. $T$ is the number of timesteps.\n", "\n", "The matrix element $A[s,e,m,t]$ should record the number of counts (a value in $0,1,\\dots,N-1$) for measurement outcome $m$, on entity $e$, for sequence $s$, with the $t^{\\rm th}$ set of repeats for that sequence.\n", "\n", "The aspect of this array that is perhaps least inuitive is the \"entities\" concept. This allows the storing of independent data for the same circuits, timestamps, and the same possible measurement outcomes for more than one \"entity\". For example, if multiple single-qubit experiments are implemented in parallel, and any correlations between measurement outcomes are discarded, the data from each qubit can be stored with different entity indexes. This then allows for two things:\n", "\n", "1. The analysis function independently looks for drift in each entity.\n", "2. The analysis function combines the data from all entities, to see if that has evidence for drift which was not evident in the analysis of each entity independently. For example, weak evidence for drift in each entity can combine to convincing evidence for drift in the device as a whole.\n", "\n", "Later we will discuss further how to use this \"entities\" concept to optimize data analysis, via examples.\n", "\n", "As shown below, the input data is stored in the results object as an $(S \\times E \\times M \\times T)$ array, \n", "which is the same format as can be used for the input. In our GST example there are 3121 sequences ($S = 3121$), a single entity ($E = 1$), two-outcome measurements ($M=2)$, and 500 timesteps ($T=500$)." ] }, { "cell_type": "code", "execution_count": 14, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# import numpy as np\n", "# np.shape(results_gst.data)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## The analysis methods\n", "\n", "#### What is the aim of the methods in this tutorial?\n", "\n", "The analysis presented in this tutorial has two purposes: to detect and characterize drift. To explain this further, we need to define what we mean by drift.\n", "\n", "There is an underlying probability for circuit $s$ to output the measurement outcome $m$ at time $t$. Denote this by $p_{s,m,t}$, and assume these probabilities satisfy $\\sum_m p_{s,m,t} = 1$ for all $s$ and $t$ (i.e., one of the $M$ measurement outcomes is always observed). By definition, there is no drift if $p_{s,m,t} = p_{s,m,t'}$ for all $s,m,t,t'$. Otherwise there is drift. \n", "\n", "In the experiments considered herein, we are essentially taking $N$ samples from a multinomial probability distribution with probability vector $(p_{s,0,t},p_{s,1,t},\\dots)$ for each $s$ and $m$, at a set of equally-spaced times. As such, the data allows us to estimate properties of the vectors:\n", "\n", "$$ \\boldsymbol{p}_{s,m} = (p_{s,m,t_1},p_{s,m,t_2},\\dots,p_{s,m,t_3}).$$\n", "\n", "The aim of our analysis is:\n", "\n", "1. **Drift Detection:** Starting from the assumption that there is no drift, decide whether there is statistically significant evidence in the data that $p_{s,m,t}$ is *not* independent of $t$.\n", "2. **Drift characterization:** Estimate $p_{s,m,t}$ for all sample times $t$.\n", "\n", "The drift detection and characterization works via spectral analysis, by implement a type of discrete Fourier transform on the data and looking for peaks in the power spectrum that are larger than would be expected if there was no drift.\n", "\n", "Specifically, consider a data vector $\\boldsymbol{x}=(x_0,x_1,\\dots,x_{T-1})$, of the number of counts observed for measurement outcome $m$ with sequence $s$ as a function of time $t \\in [0,1,\\dots,T]$. We remove the data mean from this vector, and renormalize it in a particular way, to obtain the $\\boldsymbol{z}$ vector, defined by:\n", "\n", "$$\n", "z_{s,m,t} = \\frac{x_{s,m,t} - \\bar{x}_{s,m}}{\\sqrt{ N\\bar{x}_{s,m}(1- \\bar{x}_{s,m})}},\n", "$$\n", "\n", "We won't fully explain the reasons for this mapping on $\\boldsymbol{x}$ here, except to note that (1) it is not essential, and (2) the motivation is that -- after this mapping -- the statisical behaviour of the random variable from which $\\boldsymbol{z}$ is drawn, when there is no drift, is largely independent of $N$ and the value of the time-independent probabilitiy $p_{s,m}$.\n", "\n", "We then perform a Fourier transform on the data -- specifically, we implement a Type-II orthogonal discrete cosine transform (DCT) -- to obtain Fourier modes $ \\tilde{\\boldsymbol{z}}_{s,m} = F \\boldsymbol{z}_{s,m}$. The precise definition of this transform is not important for obtaining an intuitive understanding of this method, but for completeness it is defined by:\n", "\n", "\\begin{align}\n", "F_{\\omega,t} =\\sqrt{\\frac{2^{1-\\delta_{\\omega,0}}}{N}} \\cos\\left(\\frac{\\omega \\pi}{N}\\left( t + \\frac{1}{2}\\right)\\right), \n", "\\end{align}\n", "with $\\omega,t=0,\\dots,N-1$.\n", "\n", "We then square these Fourier modes, to obtain a power spectrum $\\tilde{\\boldsymbol{z}}_{s,m}^2$ for each measurement outcome and each sequence. It is these power spectra that we analyze to detect and characterize drift. We can look at the individual power spectra for a particular sequence and measurement outcome. Using the central limit theorem and some statistics (which we will not cover here), it can be show that - when there is no drift - each Fourier mode is approximately a zero-mean unit-variance $\\chi^2_1$ random variable. As such, we can calculate the probability that a spike in a power spectrum is due to random statistical flucations, and if this probability is low enough then we can be confident the peak is due to drift. I.e., the underlying $p(t)$ is not constant.\n", "\n", "We can also average these power spectra over measurement outcomes, and/or over sequences (and over entities, which haven't been discused above, and on which this entire analysis is independently performed). When averaging over all of these quantities, we obtain the global power spectrum presented above. The advantage of this averaging is that it supresses noise from random flucations, but does not supress any \"signal\" due to nonconstant $p(t)$ - as long as the same frequencies are present in many of the power spectra that are being averaged.\n", "\n", "Before explaining any more of the analysis methods, we turn to a simple example." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 1 : Single sequence data\n", "We demonstrate this on single-sequence data, for a single entity, with two-outcome measurements. This is the circumstance under which the analysis function can be given data in a 1D array, and so we will use this method below. We now demonstrate the method with simulated data for a drifting and drift free probability.\n", "\n", "Below we use a drifting probability of\n", "$$ p(t) = 0.5 + 0.2 \\cos(0.1 t).,$$\n", "with integer $t$ in the range $0,1,2,\\dots,T$.\n", "This is similar in form to the drifting probability that would be obtained with certain sorts of Ramsey experiment with drifting $\\sigma_z$ over-rotation angle." ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# Imports for generating fake data to demonstrate the methods.\n", "from numpy.random import binomial\n", "from numpy.random import multinomial" ] }, { "cell_type": "code", "execution_count": 16, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# N = 5 # Counts per timestep\n", "# T = 100 # Number of timesteps\n", "\n", "# # The confidence of the statistical tests. Here we set it to 0.999, which means that\n", "# # if we detect drift we are 0.999 confident that we haven't incorrectly rejected the\n", "# # initial hypothesis of no drift.\n", "# confidence = 0.999\n", "\n", "# # A drifting probability to obtain the measurement outcome with index 1 (out of [0,1])\n", "# def pt_drift(t): return 0.5+0.2*np.cos(0.1*t)\n", "\n", "# # A drift-free probability to obtain the measurement outcome with index 1 (out of [0,1])\n", "# def pt_nodrift(t): return 0.5\n", "\n", "# # If we want the sequence to have a label, we define a list for this (here, a list of length 1).\n", "# # The labels can, but need not be, pyGSTi OpString objects.\n", "# sequences = [pygsti.objects.OpString(None,'Gx(Gi)^64Gx'),]\n", "\n", "# # If we want the outcomes to have labels, we define a list for this.\n", "# outcomes = ['0','1']\n", "\n", "# # Let's create some fake data by sampling from these p(t) at integer times. Here we have\n", "# # created a 1D array, but we could have instead created a 1 x 1 x 1 x T array.\n", "# data_1seq_drift = np.array([binomial(N,pt_drift(t)) for t in range(0,T)])\n", "# data_1seq_nodrift = np.array([binomial(N,pt_nodrift(t)) for t in range(0,T)])\n", "\n", "# # If we want frequencies in Hertz, we need to specify the timestep in seconds. If this isn't\n", "# # specified, the frequencies are given in 1/timestep with timestep defaulting to 1.\n", "# timestep = 1e-5\n", "\n", "# # We hand these 1D arrays to the analysis function, along with the number of counts, and other\n", "# # optional information\n", "# results_1seq_drift = drift.do_basic_drift_characterization(data_1seq_drift, counts=N, outcomes=outcomes,\n", "# confidence=confidence, timestep=timestep, \n", "# indices_to_sequences=sequences)\n", "# results_1seq_nodrift = drift.do_basic_drift_characterization(data_1seq_nodrift, counts=N, outcomes=outcomes, \n", "# confidence=confidence, timestep=timestep, \n", "# indices_to_sequences=sequences) " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can now compare the global power spectrum obtained when there is drift, and when there is not drift. Except in highly unusual cases (1 in 1000) there will be no drift detected when there is indeed no drift. " ] }, { "cell_type": "code", "execution_count": 17, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_1seq_drift.plot_power_spectrum()" ] }, { "cell_type": "code", "execution_count": 18, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_1seq_nodrift.plot_power_spectrum()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can look to see what the p-value associated with the largest peak in the power spectrum is. " ] }, { "cell_type": "code", "execution_count": 19, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# print(results_1seq_drift.global_pvalue)\n", "# print(results_1seq_nodrift.global_pvalue)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The analysis function performs:\n", "1. an analysis on a per-sequence, per-entity, per-outcome basis (properties starting with `pspepo`), an analysis on a per-sequence, per-entity, outcome-averaged basis (properties starting with `pspe`), \n", "2. an analysis on a per-sequence, entity-averaged, outcome-averaged basis (properties starting with `ps`), \n", "3. an analysis on a sequence-averaged, per-entity, outcome-averaged basis (properties starting with `pe`),\n", "4. a global analysis on a sequence-averaged, entity-averaged, outcome-averaged basis (properties starting with `global`)\n", "\n", "That is, it inspects all the power spectra, after the relevant averaging has been performed, for evidence of drift (e.g., for case 1 there are $S \\times E \\times M \\times T$ spectra).\n", "\n", "In the example here there is a single sequence, a single entity, and two-outcome measurements. Hence, in this case all of the analyzes are exactly equivalent, as is clear by noting that all of the power spectra are the same:" ] }, { "cell_type": "code", "execution_count": 20, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# # The power spectrum obtained after averaging over everthing\n", "# print(results_1seq_drift.global_power_spectrum[:4])\n", "# # The power spectrum obtained after averaging over everthing except sequence label\n", "# print(results_1seq_drift.ps_power_spectrum[0,:4])\n", "# # The power spectrum obtained after averaging over everthing except entity label\n", "# print(results_1seq_drift.pe_power_spectrum[0,:4])\n", "# # The power spectrum obtained after averaging over everthing except sequene and entity label\n", "# print(results_1seq_drift.pspe_power_spectrum[0,0,:4])\n", "# # The two power spectra obtained after averaging over nothing\n", "# print(results_1seq_drift.pspepo_power_spectrum[0,0,0,:4])\n", "# print(results_1seq_drift.pspepo_power_spectrum[0,0,1,:4])" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As we can see above, the power spectra for the two different measurement outcomes are identical. This is because the Fourier modes for all of the measurement outcomes must sum to zero. Hence, there are only $M-1$ independent power spectra, which here is 1.\n", "\n", "As already demonstrated above, the analysis function also creates an estimate for the drift probability for each measurement outcome (and for each sequence, and each entity, but here there is only one of each of these). This estimate is created in the following way:\n", "\n", "1. Inspect the relevant power spectrum (the power spectrum for the sequence, entity, and measurement outcome under consideration).\n", "2. Take the modes obtained from the data, and set all modes with power below the \"significance threshold\" to zero. This significance threshold is generally adjusted for the number of sequences and entities considered, which is not relevant in this case but is discussed below.\n", "3. Keep all modes with power above the significance threshold and invert the Fourier transform.\n", "4. This is the estimate of $p(t)$, up to some final adjustments to guarantee that $p(t)$ is within $[0,1]$.\n", "\n", "Because we have created our data from a known underlying $p(t)$ we can compare our estimate of $p(t)$ with the true $p(t)$. We do this below." ] }, { "cell_type": "code", "execution_count": 21, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# # Lets create an array of the true probability. This needs to be\n", "# # of dimension S x E x M x T\n", "# parray_1seq = np.zeros((1,1,2,T),float)\n", "# parray_1seq[0,0,0,:] = np.array([pt_drift(t) for t in range(0,T)])\n", "# parray_1seq[0,0,1,:] = 1 - parray_1seq[0,0,0,:]\n", "\n", "# # The measurement outcome index we want to look at (here the esimated p(t) \n", "# # for one index is just 1 - the p(t) for the other index, because we are\n", "# # looking at a two-outcome measurement).\n", "# outcome = 1\n", "\n", "# # If we hand the parray to the plotting function, it will also plot\n", "# # the true probability alongside our estimate from the data\n", "# results_1seq_drift.plot_estimated_probability(sequence=0,outcome=outcome,parray=parray_1seq,plot_data=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 2 : Single-sequence multi-qubit data\n", "Single sequence data with two measurement outcomes is (a) often not will be obtained in experiments, and (b) is not sufficient to demonstrate all of the methods contained within the analysis function, or to understand all of the ouput. Hence, we now consider an example with a single-sequence and 4 measurement outcomes, which could represent a two-qubit single-sequence experiment.\n", "\n", "Let us consider the case of 4 possible measurement outcomes:" ] }, { "cell_type": "code", "execution_count": 22, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# We only explicitly name them for labelling purposes.\n", "# outcomes = ['00','01','10','11']" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This could correspond to computational basis measurements of two qubits. Now let us assume that the drifting $p(t)$ for obtaining each measurement outcome factorizes into probabilities for outcomes 0 and 1 for each qubit (e.g., because it is parallel single-qubit experiments and there is no crosstalk). Specifically, take the first qubit to have drifting probability for outcome 0 of\n", "$$ p_{0}(t) = 0.5+0.05 \\cos(0.08t),$$\n", "and the second qubit to have drifting probability for outcome 0 of\n", "$$ p_{0}(t) = 0.5+0.05 \\cos(0.2t),$$\n", "with $t \\in [0,1,\\dots, T]$.\n", "\n", "Let's create some data from these drifting probabilities" ] }, { "cell_type": "code", "execution_count": 23, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# N = 10 # Counts per timestep\n", "# T = 1000 # Number of timesteps\n", "\n", "# # The drifting probabilities for the 4 outcomes\n", "# def pt00(t): return (0.5+0.07*np.cos(0.08*t))*(0.5+0.08*np.cos(0.2*t))\n", "# def pt01(t): return (0.5+0.07*np.cos(0.08*t))*(0.5-0.08*np.cos(0.2*t))\n", "# def pt10(t): return (0.5-0.07*np.cos(0.08*t))*(0.5+0.08*np.cos(0.2*t))\n", "# def pt11(t): return (0.5-0.07*np.cos(0.08*t))*(0.5-0.08*np.cos(0.2*t))\n", "\n", "# # Because of the type of input (>2 measurement outcomes), we must record the\n", "# # data in a 4D array (even though some of the dimensions are trivial)\n", "# data_multiqubit = np.zeros((1,1,4,T),float)\n", "\n", "# # Generate data from these p(t)\n", "# for t in range(0,T):\n", "# data_multiqubit[0,0,:,t] = multinomial(N,[pt00(t),pt01(t),pt10(t),pt11(t)])" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Example 2.1 : A simple analysis of the full dataset\n", "The simplest way to analyze this data is just to hand it to the drift characterization method, as before (note that now we don't need to specify the counts number, as the input is a 4D array). We do this below." ] }, { "cell_type": "code", "execution_count": 24, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_multiqubit_full = drift.do_basic_drift_characterization(data_multiqubit,outcomes=outcomes,confidence=0.99)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "By looking at the global power spectrum, we can clearly see that there is drift." ] }, { "cell_type": "code", "execution_count": 25, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_multiqubit_full.plot_power_spectrum()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As always, we can also return the frequencies, found from inspecting the global power spectrum. As we have not specified a timestep, these are integers between $1$ and $T-1$." ] }, { "cell_type": "code", "execution_count": 26, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# print(results_multiqubit_full.global_drift_frequencies)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Because there are multiple measurement outcomes, we can look at the power spectra for each of these, and also we can look at the drift frequencies found from just analyzing this spectrum. One example of such a power spectrum is given below" ] }, { "cell_type": "code", "execution_count": 27, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# outcome = '00'\n", "# results_multiqubit_full.plot_power_spectrum(sequence=0,entity=0,outcome=outcome)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The drift frequencies found via an independent analysis of each of these spectra. Generally, these need not contain the same frequencies as the global analysis. In this example, because all of the frequencies appear in all of the spectra, the global analysis is more sensitive (reduced noise without reducing signal strength). " ] }, { "cell_type": "code", "execution_count": 28, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# print(results_multiqubit_full.pspepo_drift_frequencies[0,0,0])\n", "# print(results_multiqubit_full.pspepo_drift_frequencies[0,0,1])\n", "# print(results_multiqubit_full.pspepo_drift_frequencies[0,0,2])\n", "# print(results_multiqubit_full.pspepo_drift_frequencies[0,0,3])" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As always, we can also look at the reconstruction for a given drifting probability. An example is shown below, where again we construct the true underlying probability with which to compare it." ] }, { "cell_type": "code", "execution_count": 29, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# # Creates an array of the true probability.\n", "# parray_multiqubit_full = np.zeros((1,1,4,T),float)\n", "# parray_multiqubit_full[0,0,0,:] = np.array([pt00(t) for t in range(0,T)])\n", "# parray_multiqubit_full[0,0,1,:] = np.array([pt01(t) for t in range(0,T)])\n", "# parray_multiqubit_full[0,0,2,:] = np.array([pt10(t) for t in range(0,T)])\n", "# parray_multiqubit_full[0,0,3,:] = np.array([pt11(t) for t in range(0,T)])\n", "\n", "# results_multiqubit_full.plot_estimated_probability(sequence=0,outcome=1, plot_data=True,\n", "# parray=parray_multiqubit_full)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Example 2.2 : Marginalizing over qubits\n", "\n", "The above analysis looks for drift in the $2^2$ measurements outcomes of a two-qubit circuit. This would be problematic for many qubits, as for $Q$ qubits there is $2^Q$ possible measurement outcomes, and the probability of any one outcome being observed will - for many circuits - converge to zero as $Q$ increases. Then, even for very large $T$, there could be, e.g., at most 2 counts for any one measurement outcome, and the power spectra obtained will be useless.\n", "\n", "However, it is likely in many circumstances that any drift will show up in the marginalized probabilities for obtaining 0 or 1 of each qubit. E.g., in the example above this is precisely what is drifting. We can implement an analysis like this by specifying that the analysis function marginalizes.\n", "\n", "To do this in an automated way, we specify ` marginalize = 'std'`. This then assumes that the data is such that the 0th indexed outcomes is the bitstring 0...0000, the 1st indexed outcome is the bitstring 0...0001, etc. It then associates the first qubit with entity 0 (where first qubit has its measurement outcome recorded as the first bit in the string), the second qubit with entity 1 and so on.\n", "\n", "Note that, when using this method, the input data array grows exponentially in the number of qubits. As such, pre-marginalizing will be preferable for a large number of qubits, in which case the data for different qubits should be stored with different \"entity\" indices.\n", "\n", "Below we demonstrate this method on the same data as analyzed above" ] }, { "cell_type": "code", "execution_count": 30, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_multiqubit_marg = drift.do_basic_drift_characterization(data_multiqubit, outcomes=outcomes, \n", "# marginalize = 'std', confidence=0.99)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As we can see from the returned data shape, the data has been split into separate sets for 2 different entities, each have two possible measurement outcomes." ] }, { "cell_type": "code", "execution_count": 31, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# np.shape(results_multiqubit_marg.data)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As always, we can plot the global power spectrum (averaged over everything, including entity, i.e., qubit)." ] }, { "cell_type": "code", "execution_count": 32, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_multiqubit_marg.plot_power_spectrum()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "However, now we can look at the power spectrum for each individual qubit. This then shows us that each qubit has a different drift frequency. Something that was not obvious from the analysis implemented without marginalization. Moreover, these spectra show higher peaks (they are approximately twice as high), because -- earlier -- when we constructed the global power spectrum we were averaging pure noise with \"signal\" at both drift frequencies." ] }, { "cell_type": "code", "execution_count": 33, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_multiqubit_marg.plot_power_spectrum(sequence=0,entity=1)" ] }, { "cell_type": "code", "execution_count": 34, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_multiqubit_marg.plot_power_spectrum(sequence=0,entity=0)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "With this analysis we can isolate the drift frequencies of each qubit" ] }, { "cell_type": "code", "execution_count": 35, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# # Drift frequencies for the first qubit\n", "# print(results_multiqubit_marg.pe_drift_frequencies[0])\n", "# # Drift frequencies for the second qubit\n", "# print(results_multiqubit_marg.pe_drift_frequencies[1])" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Finally, we can again plot the estimated drift probabilities. Again, these are more informative that what was obtained without marginalization. In particular, the oscillations are noticably stronger, as they are each the sum of two of the drifting probabilities from the \"raw\" unmarginalized case." ] }, { "cell_type": "code", "execution_count": 36, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# # Creates an array of the true probability.\n", "# parray_multiqubit_marg = np.zeros((1,2,2,T),float)\n", "# parray_multiqubit_marg[0,0,0,:] = np.array([pt00(t)+pt01(t) for t in range(0,T)])\n", "# parray_multiqubit_marg[0,0,1,:] = np.array([pt10(t)+pt11(t) for t in range(0,T)])\n", "# parray_multiqubit_marg[0,1,0,:] = np.array([pt00(t)+pt10(t) for t in range(0,T)])\n", "# parray_multiqubit_marg[0,1,1,:] = np.array([pt01(t)+pt11(t) for t in range(0,T)])\n", "\n", "# results_multiqubit_marg.plot_estimated_probability(sequence=0,entity=0,outcome=0,parray=parray_multiqubit_marg)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Example 2.3 : Marginalizing over qubits loses information and can miss detectable drift\n", "Marginalizing involves throwing away information about correlations between measurement outcomes. As such, it is insensitive to certain types of drift. In particular, if only the correlations between measurement outcomes are drifting. This is perhaps a rather contrived situation, but it is possible. For example, consider the drifting probabilities:\n", "$$ p_{00}(t) = 0.25-0.05 \\cos(0.05*t) $$\n", "$$ p_{01}(t) = 0.25+0.05 \\cos(0.05*t) $$\n", "$$ p_{10}(t) = 0.25+0.05 \\cos(0.05*t) $$\n", "$$ p_{11}(t) = 0.25-0.05 \\cos(0.05*t) $$\n", "In this case, as demonstrated below, the analysis of the full data clearly demonstrates drift, yet the analysis of the marginalized data does not." ] }, { "cell_type": "code", "execution_count": 37, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# N = 10 # Counts per timestep\n", "# T = 1000 # Number of timesteps\n", "\n", "# outcomes = ['00','01','10','11']\n", "\n", "# def pt_correlated00(t): return 0.25-0.05*np.cos(0.05*t)\n", "# def pt_correlated01(t): return 0.25+0.05*np.cos(0.05*t)\n", "# def pt_correlated10(t): return 0.25+0.05*np.cos(0.05*t)\n", "# def pt_correlated11(t): return 0.25-0.05*np.cos(0.05*t)\n", "\n", "# data_1seq_multiqubit = np.zeros((1,1,4,T),float)\n", "# for t in range(0,T):\n", "# pvec = [pt_correlated00(t),pt_correlated01(t),pt_correlated10(t),pt_correlated11(t)]\n", "# data_1seq_multiqubit[0,0,:,t] = multinomial(N,pvec)\n", " \n", "# results_correlatedrift_marg = drift.do_basic_drift_characterization(data_1seq_multiqubit,\n", "# outcomes=outcomes, marginalize = 'std')\n", "\n", "# results_correlatedrift_full = drift.do_basic_drift_characterization(data_1seq_multiqubit, \n", "# outcomes=outcomes, marginalize = 'none')" ] }, { "cell_type": "code", "execution_count": 38, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_correlatedrift_marg.plot_power_spectrum()" ] }, { "cell_type": "code", "execution_count": 39, "metadata": { "collapsed": true }, "outputs": [], "source": [ "# results_correlatedrift_full.plot_power_spectrum()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "What this demonstrates is that it is important to carefully decide how to analyze data from a given experiment, with physical motivations for the analysis used." ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.0" } }, "nbformat": 4, "nbformat_minor": 2 }