{ "cells": [ { "cell_type": "markdown", "id": "71d93f7f", "metadata": {}, "source": [ "(sec-timetagging)=\n", "\n", "# Tutorial: Timetagging\n", "\n", "```{seealso}\n", "The complete source code of this tutorial can be found in\n", "\n", "{nb-download}`Timetagging.ipynb`\n", "```\n", "\n", "## Introduction\n", "\n", "```{admonition} Note\n", "The Timetag and TimetagTrace protocols are currently only implemented for the Qblox backend, and they are available on the **QTM**. Please also see {ref}`sec-qblox-acquisition-details` for more information on Qblox module-specific behavior of these operations.\n", "```\n", "\n", "The timetag acquisitions return the time at which the input voltage crossed a set threshold. This tutorial explores various ways to perform timetag acquisitions, using a Qblox cluster with a QCM and a QTM module. Note that only a subset of the features of these acquisitions are shown here, see the {ref}`reference guide ` for more info.\n", "\n", "## Initial setup\n", "\n", "First, we import the required classes and set up the data directory." ] }, { "cell_type": "code", "execution_count": 1, "id": "f20e5e88", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Data will be saved in:\n", "/root/quantify-data\n" ] } ], "source": [ "from qblox_instruments import Cluster, ClusterType\n", "\n", "from quantify_core.data import handling as dh\n", "from quantify_scheduler import InstrumentCoordinator, QuantumDevice, Schedule, SerialCompiler\n", "from quantify_scheduler.enums import BinMode, TimeRef, TimeSource\n", "from quantify_scheduler.qblox import ClusterComponent\n", "from quantify_scheduler.operations import SquarePulse, Timetag, TimetagTrace, Trace\n", "\n", "dh.set_datadir(dh.default_datadir())" ] }, { "cell_type": "markdown", "id": "278eea04", "metadata": {}, "source": [ "Next, we write the {ref}`hardware configuration `: \n", "\n", "- In the `\"hardware_description\"` we define a QCM and a QTM module (when using physical hardware, we also connect port 1 of the QCM with port 1 of the QTM).\n", "\n", "- In the `\"connectivity\"` we assign the QCM port 1 (`\"cluster0.module{QCM_SLOT}.real_output_0\"`) to a mock device port `\"qcm:out\"`, and assign the QTM port 1 (`\"cluster0.module{QTM_SLOT}.digital_output_0\"`) to the mock device port `\"qtm:in\"`.\n", "\n", "- In the {ref}`sec-qblox-digitization-thresholds` of `\"hardware_options\"` we set the value of `in_threshold_primary` field, which is the value of the voltage threshold that needs to be crossed to register a timetag in QTM modules. Note the `\"qtm:in-digital\"` key that is used here; `digital` is the default clock assigned to digital channels." ] }, { "cell_type": "code", "execution_count": 2, "id": "298688db", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "QCM_SLOT = 7\n", "QTM_SLOT = 10\n", "\n", "hw_cfg = {\n", " \"config_type\": \"quantify_scheduler.backends.qblox_backend.QbloxHardwareCompilationConfig\",\n", " \"hardware_description\": {\n", " \"cluster0\": {\n", " \"instrument_type\": \"Cluster\",\n", " \"ref\": \"internal\",\n", " \"modules\": {\n", " f\"{QCM_SLOT}\": {\"instrument_type\": \"QCM\"},\n", " f\"{QTM_SLOT}\": {\"instrument_type\": \"QTM\"},\n", " },\n", " },\n", " },\n", " \"hardware_options\": {\n", " \"digitization_thresholds\": {\"qtm:in-digital\": {\"in_threshold_primary\": 0.5}},\n", " },\n", " \"connectivity\": {\n", " \"graph\": [\n", " [f\"cluster0.module{QCM_SLOT}.real_output_0\", \"qcm:out\"],\n", " [f\"cluster0.module{QTM_SLOT}.digital_input_0\", \"qtm:in\"],\n", " ]\n", " },\n", "}" ] }, { "cell_type": "markdown", "id": "e4d6d030", "metadata": {}, "source": [ "We create an {class}`~quantify_scheduler.instrument_coordinator.instrument_coordinator.InstrumentCoordinator` instance with a cluster, where we also provide a `dummy_cfg` dummy configuration so that this notebook can run without physical hardware (when using a real cluster, provide `identifier` instead of `dummy_cfg`)." ] }, { "cell_type": "code", "execution_count": 3, "id": "55c4e8cc", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "instrument_coordinator = InstrumentCoordinator(name=\"ic\")\n", "cluster = Cluster(\n", " name=\"cluster0\",\n", " # identifier=\"10.10.10.10\",\n", " dummy_cfg={\n", " QCM_SLOT: ClusterType.CLUSTER_QCM,\n", " QTM_SLOT: ClusterType.CLUSTER_QTM,\n", " },\n", ")\n", "\n", "cluster_component = ClusterComponent(cluster)\n", "instrument_coordinator.add_component(cluster_component)" ] }, { "cell_type": "markdown", "id": "cc725f75", "metadata": {}, "source": [ "Finally, we define a {class}`~quantify_scheduler.device_under_test.quantum_device.QuantumDevice` (since we do not have a \"real\" quantum device, this object serves simply to generate the compilation configuration later on)." ] }, { "cell_type": "code", "execution_count": 4, "id": "855b1550", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "quantum_device = QuantumDevice(name=\"quantum_device\")\n", "quantum_device.hardware_config(hw_cfg)" ] }, { "cell_type": "markdown", "id": "adebf2a5", "metadata": {}, "source": [ "## Timetag acquisition\n", "\n", "In all examples in this tutorial, except the gate-level example, the QCM will send four pulses with increasing time between the pulses.\n", "\n", "In the first example, we'll record a single timetag using the {class}`~quantify_scheduler.operations.acquisition_library.Timetag` acquisition protocol. The event that triggers this timetag is defined by the {class}`time_source ` parameter, which we set to the first detected rising edge (`TimeSource.FIRST`). The timetag represents the time elapsed since the moment specified by the {class}`time_ref ` parameter, which we set to the start of the acquisition (`TimeRef.START`). We will simply do one repetition of the schedule.\n", "\n", "```{note}\n", "With the `bin_mode` parameter it is possible to change the behaviour of the acquisition for multiple repetitions. Please see the {ref}`reference guide ` for more information.\n", "```" ] }, { "cell_type": "code", "execution_count": 5, "id": "46e85f90", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "sched = Schedule(\"Timetag\")\n", "\n", "sched.add(\n", " Timetag(\n", " duration=10e-6,\n", " port=\"qtm:in\",\n", " clock=\"digital\",\n", " time_source=TimeSource.FIRST,\n", " time_ref=TimeRef.START,\n", " )\n", ")\n", "\n", "square_pulse = SquarePulse(amp=1.0, duration=200e-9, port=\"qcm:out\")\n", "sched.add(square_pulse, rel_time=100e-9, ref_pt=\"start\")\n", "for rel_time in (1e-6, 2e-6, 3e-6):\n", " sched.add(square_pulse, rel_time=rel_time, ref_pt=\"start\")" ] }, { "cell_type": "markdown", "id": "98f738b2", "metadata": {}, "source": [ "Let's compile the schedule." ] }, { "cell_type": "code", "execution_count": 6, "id": "a9f920ce", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "compiler = SerialCompiler(name=\"compiler\")\n", "compiled_schedule = compiler.compile(\n", " schedule=sched,\n", " config=quantum_device.generate_compilation_config(),\n", ")" ] }, { "cell_type": "markdown", "id": "f2241906", "metadata": {}, "source": [ "And send it to the hardware, and execute it." ] }, { "cell_type": "code", "execution_count": null, "id": "ab5bcb30", "metadata": { "tags": [ "skip-execution" ] }, "outputs": [], "source": [ "instrument_coordinator.prepare(compiled_schedule)\n", "instrument_coordinator.start()\n", "instrument_coordinator.wait_done(timeout_sec=10)\n", "acquisition = instrument_coordinator.retrieve_acquisition()" ] }, { "cell_type": "markdown", "id": "d29b11aa", "metadata": {}, "source": [ "The acquisition data shows one timetag, in this case around 73 ns. This value can differ depending on cable length." ] }, { "cell_type": "code", "execution_count": 7, "id": "6cb3f7ae", "metadata": { "tags": [ "remove-cell" ] }, "outputs": [], "source": [ "import numpy as np\n", "import xarray as xr\n", "\n", "data_array = xr.DataArray(\n", " np.array([72.97265625]).reshape((1, 1)),\n", " dims=[\"repetition\", \"acq_index_0\"],\n", " coords={\"acq_index_0\": [0]},\n", " attrs={\"acq_protocol\": \"Timetag\"},\n", " )\n", "acquisition = xr.Dataset({0: data_array})" ] }, { "cell_type": "code", "execution_count": 8, "id": "f056b69b", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
<xarray.Dataset> Size: 16B\n",
       "Dimensions:      (acq_index_0: 1)\n",
       "Coordinates:\n",
       "  * acq_index_0  (acq_index_0) int64 8B 0\n",
       "Data variables:\n",
       "    0            (acq_index_0) float64 8B 72.97
" ], "text/plain": [ " Size: 16B\n", "Dimensions: (acq_index_0: 1)\n", "Coordinates:\n", " * acq_index_0 (acq_index_0) int64 8B 0\n", "Data variables:\n", " 0 (acq_index_0) float64 8B 72.97" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "acquisition.isel(repetition=0)" ] }, { "cell_type": "markdown", "id": "11e07ada", "metadata": {}, "source": [ "Next up, we will show you how to record multiple timetags in an acquisition window.\n", "\n", "## TimetagTrace acquisition\n", "\n", "The {class}`~quantify_scheduler.operations.acquisition_library.TimetagTrace` acquisition can record a stream of timetags. Every time that a rising edge is detected, a timetag is recorded. Therefore, this time we expect to see 4 timetags from the 4 pulses sent by the QCM.\n", "\n", "The timetag values are equal to the time difference between the recorded rising edges and the `time_ref` ({class}`~quantify_scheduler.enums.TimeRef`), which we set to the start of the acquisition (`TimeRef.START`)." ] }, { "cell_type": "code", "execution_count": 9, "id": "6b7e3372", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "sched = Schedule(\"TimetagTrace\")\n", "\n", "sched.add(\n", " TimetagTrace(duration=10e-6, port=\"qtm:in\", clock=\"digital\", time_ref=TimeRef.START)\n", ")\n", "\n", "square_pulse = SquarePulse(amp=1.0, duration=200e-9, port=\"qcm:out\")\n", "sched.add(square_pulse, rel_time=100e-9, ref_pt=\"start\")\n", "for rel_time in (1e-6, 2e-6, 3e-6):\n", " sched.add(square_pulse, rel_time=rel_time, ref_pt=\"start\")" ] }, { "cell_type": "markdown", "id": "d7dd5e03", "metadata": {}, "source": [ "We compile the schedule." ] }, { "cell_type": "code", "execution_count": 10, "id": "b3e1df50", "metadata": {}, "outputs": [], "source": [ "compiler = SerialCompiler(name=\"compiler\")\n", "compiled_schedule = compiler.compile(\n", " schedule=sched,\n", " config=quantum_device.generate_compilation_config(),\n", ")" ] }, { "cell_type": "markdown", "id": "02dd9929", "metadata": {}, "source": [ "And we execute it on the hardware." ] }, { "cell_type": "code", "execution_count": null, "id": "ae5666fe", "metadata": { "tags": [ "skip-execution" ] }, "outputs": [], "source": [ "instrument_coordinator.prepare(compiled_schedule)\n", "instrument_coordinator.start()\n", "instrument_coordinator.wait_done(timeout_sec=10)\n", "\n", "acquisition = instrument_coordinator.retrieve_acquisition()" ] }, { "cell_type": "markdown", "id": "cca11793", "metadata": {}, "source": [ "As expected, we record 4 timetags. The first one is roughly around the same value as the single timetag recorded above, and the other ones are 1000, 3000, and 6000 ns later, respectively." ] }, { "cell_type": "code", "execution_count": 11, "id": "c1eb69b6", "metadata": { "tags": [ "remove-cell" ] }, "outputs": [], "source": [ "import xarray as xr\n", "\n", "data_array = xr.DataArray(\n", " np.array([72.99365234, 1072.96435547, 3072.94970703, 6072.97314453]).reshape((1, 1, 4)),\n", " dims=[\"repetition\", \"acq_index_0\", \"trace_index_0\"],\n", " coords={\"acq_index_0\": [0], \"trace_index_0\": list(range(4))},\n", " attrs={\"acq_protocol\": \"Timetag\"},\n", " )\n", "acquisition = xr.Dataset({0: data_array})" ] }, { "cell_type": "code", "execution_count": 12, "id": "79a8ab6f", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
<xarray.Dataset> Size: 72B\n",
       "Dimensions:        (trace_index_0: 4)\n",
       "Coordinates:\n",
       "    acq_index_0    int64 8B 0\n",
       "  * trace_index_0  (trace_index_0) int64 32B 0 1 2 3\n",
       "Data variables:\n",
       "    0              (trace_index_0) float64 32B 72.99 1.073e+03 ... 6.073e+03
" ], "text/plain": [ " Size: 72B\n", "Dimensions: (trace_index_0: 4)\n", "Coordinates:\n", " acq_index_0 int64 8B 0\n", " * trace_index_0 (trace_index_0) int64 32B 0 1 2 3\n", "Data variables:\n", " 0 (trace_index_0) float64 32B 72.99 1.073e+03 ... 6.073e+03" ] }, "execution_count": 12, "metadata": {}, "output_type": "execute_result" } ], "source": [ "acquisition.isel(acq_index_0=0, repetition=0)" ] }, { "cell_type": "markdown", "id": "3db58dcd", "metadata": {}, "source": [ "## Trace acquisition\n", "\n", "Finally, we can measure a trace of the input signal. The QTM digitizes this signal and will return `0` whenever the voltage is below the digitization threshold, and `1` when the voltage is above. The trace has a 1 ns time resolution.\n", "\n", "We use the same schedule again, but with the {class}`~quantify_scheduler.operations.acquisition_library.Trace` protocol. Note the `bin_mode`, which must be set to `BinMode.FIRST` when using `Trace` acquisition on a QTM module." ] }, { "cell_type": "code", "execution_count": 13, "id": "f829f0cd", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "sched = Schedule(\"Trace\")\n", "\n", "sched.add(Trace(duration=10e-6, port=\"qtm:in\", clock=\"digital\", bin_mode=BinMode.FIRST))\n", "\n", "square_pulse = SquarePulse(amp=1.0, duration=200e-9, port=\"qcm:out\")\n", "sched.add(square_pulse, rel_time=100e-9, ref_pt=\"start\")\n", "for rel_time in (1e-6, 2e-6, 3e-6):\n", " sched.add(square_pulse, rel_time=rel_time, ref_pt=\"start\")" ] }, { "cell_type": "markdown", "id": "ccaa821f", "metadata": {}, "source": [ "We compile the schedule." ] }, { "cell_type": "code", "execution_count": 14, "id": "3c2458ad", "metadata": {}, "outputs": [], "source": [ "compiler = SerialCompiler(name=\"compiler\")\n", "compiled_schedule = compiler.compile(\n", " schedule=sched,\n", " config=quantum_device.generate_compilation_config(),\n", ")" ] }, { "cell_type": "markdown", "id": "cef52aba", "metadata": {}, "source": [ "And execute it on the hardware again." ] }, { "cell_type": "code", "execution_count": null, "id": "b5091031", "metadata": { "tags": [ "skip-execution" ] }, "outputs": [], "source": [ "instrument_coordinator.prepare(compiled_schedule)\n", "instrument_coordinator.start()\n", "instrument_coordinator.wait_done(timeout_sec=10)\n", "\n", "acquisition = instrument_coordinator.retrieve_acquisition()" ] }, { "cell_type": "markdown", "id": "c3dd7c7a", "metadata": {}, "source": [ "The result is a trace of the pulses sent by the QCM, digitized by the QTM." ] }, { "cell_type": "code", "execution_count": 15, "id": "b2c1d805", "metadata": { "tags": [ "remove-cell" ] }, "outputs": [], "source": [ "import xarray as xr\n", "\n", "dummy_data = np.zeros((10000,))\n", "\n", "dummy_data[140:340] = 1\n", "dummy_data[1140:1340] = 1\n", "dummy_data[3140:3340] = 1\n", "dummy_data[6140:6340] = 1\n", "\n", "data_array = xr.DataArray(\n", " np.array(dummy_data, dtype=int).reshape(1, -1),\n", " dims=[\"acq_index_0\", \"trace_index_0\"],\n", " coords={\"acq_index_0\": [0], \"trace_index_0\": list(range(10000))},\n", " attrs={\"acq_protocol\": \"Timetag\"},\n", " )\n", "acquisition = xr.Dataset({0: data_array})" ] }, { "cell_type": "code", "execution_count": 16, "id": "24e0895a", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[]" ] }, "execution_count": 16, "metadata": {}, "output_type": "execute_result" }, { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAiMAAAHHCAYAAABtF1i4AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8hTgPZAAAACXBIWXMAAA9hAAAPYQGoP6dpAAA/QUlEQVR4nO3dfVxUZf7/8Tc3MkCEmiR4g2Jpmbd4k0R31sZG5tpamWaWiK3d6a7KLys3k6xNu1HXtjVNS2v7VlqutbW6mktaqaR5Q+VNVt6kmaBkireozPX7o2VsYjhyCOYww+v5ePB46DnXzHzmOgfmPeec6zohxhgjAAAAh4Q6XQAAAKjdCCMAAMBRhBEAAOAowggAAHAUYQQAADiKMAIAABxFGAEAAI4ijAAAAEcRRgAAgKMII4ANy5YtU0hIiJYtW1ajnxPOefTRRxUSElKpxyYlJel3v/vdGduxzyDYEEYASJKKi4v14IMPqnHjxoqKilJKSoqWLFniSC0HDhzQXXfdpXPPPVdnnXWWrr76aq1bt86RWlA57777rjp37qzIyEg1a9ZM2dnZOnXqlNNloYYijAA2XHnllTp27JiuvPJKp0upcoMGDdLkyZM1YMAAPfvsswoLC9P111+v5cuX+7UOt9utnj176vXXX9ewYcP09NNPa+/evbrqqqv09ddf+7WWyhgzZoyOHTvmdBmO+s9//qPevXurXr16eu6559S7d2/95S9/0R//+EenS0MNFe50AUAgCQ0NVWRkpNNlVLnVq1drzpw5euaZZ3T//fdLkgYOHKh27drpgQce0MqVK/1Wy7x587Ry5Uq99dZb6tOnjySpb9++uuCCC5Sdna3XX3/db7XYceTIEZ111lkKDw9XeHjt/tN6//33q0OHDnr//fc9fREbG6vx48dr+PDhat26tcMVoqbhyAhqpG+//Vb33XefLrzwQkVFRalBgwa65ZZbtGPHjjJtDxw4oJEjRyopKUkul0tNmzbVwIEDVVhY6Gnz3XffqXfv3jrrrLPUsGFDjRw5UosXL7Z93t3XufqrrrpK7dq106ZNm3T11VcrOjpaTZo00dNPP13m8b7qKC4u9vlaq1at0nXXXae6desqOjpa3bt314oVKzzrN2/erKioKA0cONDrccuXL1dYWJgefPDBCr+vefPmKSwsTHfddZdnWWRkpO68807l5uZq165dFX6uX2vevHmKj4/XTTfd5Fl27rnnqm/fvvrXv/5Vbn9ZPV9ISIg+/PDDMuteeOEFhYSEaMOGDZKkzz//XIMGDdJ5552nyMhIJSQkaPDgwfrhhx+8Hld6XcimTZt02223qX79+rr88su91v3c7Nmz9Zvf/EYNGzaUy+VSmzZtNG3atHJrfv/995WcnKzIyEi1adNG8+fPr9B7PdM+4w+bNm3Spk2bdNddd3mFsvvuu0/GGM2bN8+v9SAw1O74jhrr008/1cqVK3XrrbeqadOm2rFjh6ZNm6arrrpKmzZtUnR0tCTp8OHDuuKKK7R582YNHjxYnTt3VmFhod5991199913iouL07Fjx3TNNddo586d+tOf/qTGjRvr1Vdf1QcffFBl9f7444+67rrrdNNNN6lv376aN2+eHnzwQbVv3149evSQJFt1fPDBB+rRo4e6dOmi7OxshYaGej7QPv74Y3Xr1k0XXXSRHn/8cY0aNUp9+vTRDTfcoCNHjmjQoEFq3bq1HnvssQrXv379el1wwQWKjY31Wt6tWzdJUl5enhITE8t9/NGjR3X06NEzvk5YWJjq169/xlo6d+6s0FDv70rdunXTjBkz9NVXX6l9+/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tW3b1nJ96fYpbxsWFRVV6HVQuxBGUCMdO3ZMEyZM0OzZs7V7926vQ+AHDx70/Hvr1q26+eabLZ/r22+/VcuWLcscYr/wwgurrN6mTZuWef769evr888/t11H6YiRjIyMcl/v4MGDntMd559/vh599FGNGjVK7dq10yOPPGK7/qioKJ/XYhw/ftyz3sp5552n8847z/brVkctvpReRzF37lxPGJk7d66Sk5N1wQUXeNrt379f48aN05w5c7R3716v5/j5fleqRYsWFXr9FStWKDs7W7m5uWVOZ/0yjPjaR0pr3LFjh88wYnef8SUtLe3Mb6QCSrdPeduwMtsPwY8wghrpj3/8o2bPnq0RI0YoNTVVdevWVUhIiG699Va53W6nyysjLCzM53JjcR1BeUrf3zPPPKPk5GSfbWJiYrz+//7770uSvv/+e/3www8+P7CsNGrUSLt37y6zfM+ePZJ++rZu5fDhwzp8+PAZXycsLEznnnvuGWspfd3K1OKLy+VS79699fbbb+v5559XQUGBVqxYofHjx3u169u3r1auXKlRo0YpOTlZMTExcrvduu6663zudxX5YN26dauuueYatW7dWpMnT1ZiYqIiIiK0cOFC/fWvf62S/bky+8wv5efnV+i16tata/m+GzVqJOmn7fXL64z27NlzxmtXUDsRRlAjzZs3TxkZGZo0aZJn2fHjx3XgwAGvdueff75nJER5mjdvrg0bNsgY4/WNc8uWLVVa85lUtI7zzz9f0k+H5yvybXX69OlasmSJnnjiCU2YMEF33323/vWvf9mqLTk5WUuXLlVRUZHXRayrVq3yrLcyceJEjRs37oyv07x5c58jon5Zy8cff1zmtMKqVasUHR3tdSTDjn79+umVV15RTk6ONm/eLGOM1ymaH3/8UTk5ORo3bpzGjh3rWf5r5zZ57733VFxcrHfffVfNmjXzLF+6dKnP9t98802ZfeSrr76S9NMMrb7Y3Wd8KQ0RZzJ79mwNGjSo3PWl+8qaNWu8gsf333+v7777zmvEFlCKMIIaKSwsrMxRheeee04lJSVey26++WY99thjevvtt8tcN1L6B/3666/X+++/r3nz5umWW26R9NPojxkzZlTvm/iFitbRpUsXnX/++Zo4caJuu+22Mt9o9+3b5zm6sH37do0aNUo333yz/vznP6tBgwa655579I9//KPMkF8rffr00cSJEzVjxgzPPCPFxcWaPXu2UlJSLEfSSFV7zUifPn00b948zZ8/33N9TWFhod566y316tXLciSHlbS0NJ1zzjmaO3euNm/erG7dunmdZik9uvXL/W7KlCmVej2r5z148KBmz57ts/3333+vt99+2zO0uaioSP/4xz+UnJxc7hEvO/tMearqmpG2bduqdevWmjFjhu6++27P+582bZpCQkK8rpkCShFGUCP97ne/06uvvqq6deuqTZs2ys3N1X//+181aNDAq92oUaM8H+6DBw9Wly5dtH//fr377ruaPn26OnbsqCFDhujvf/+7Bg4cqLVr16pRo0Z69dVXPcOD/aWidYSGhurFF19Ujx491LZtW2VmZqpJkybavXu3li5dqtjYWL333nsyxmjw4MGKioryzFlx991365///KeGDx+utLS0Cp/SSElJ0S233KLRo0dr7969atmypV555RXt2LFDL7300hkfX5XXjPTp00eXXHKJMjMztWnTJsXFxen5559XSUlJmaMvgwYN0iuvvKLt27eXe9SgVJ06dXTTTTdpzpw5OnLkiCZOnOi1PjY2VldeeaWefvppnTx5Uk2aNNH777+v7du3/6r3c+211yoiIkK9evXS3XffrcOHD2vmzJlq2LChz9NRF1xwge688059+umnio+P16xZs1RQUFBueJEqvs9YqaprRqSfThfdcMMNuvbaa3Xrrbdqw4YN+vvf/64//OEPuuiii6rsdRBEHBrFA1j68ccfTWZmpomLizMxMTEmPT3dfPnll6Z58+YmIyPDq+0PP/xghg0bZpo0aWIiIiJM06ZNTUZGhiksLPS0+fbbb80NN9xgoqOjTVxcnBk+fLhZtGhRlQ3tbdu2bZm2GRkZZYay2qlj/fr15qabbjINGjQwLpfLNG/e3PTt29fk5OQYY4x59tlnywwDNcaYnTt3mtjYWHP99ddX+H0ZY8yxY8fM/fffbxISEozL5TIXX3xxpYbRVoX9+/ebO++80zRo0MBER0eb7t27+xyufPPNN5uoqCjz448/Vuh5lyxZYiSZkJAQs2vXrjLrv/vuO3PjjTeaevXqmbp165p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k60r59e91xxx0aOXKk56gf/Vw9/Nmv5bWx2++1MoxERESoS5cuysnJ8Sxzu93KyclRamqqg5XVXMYYDRs2TG+//bY++OADtWjRwmt9ly5dVKdOHa8+3bJli3bu3Onp09TUVH3xxRdevwBLlixRbGys54MhNTXV6zlK29SW7XLNNdfoiy++UF5enuena9euGjBggOff9POvd9lll5UZmv7VV1+pefPmkqQWLVooISHBq4+Kioq0atUqr34+cOCA1q5d62nzwQcfyO12KyUlxdPmo48+0smTJz1tlixZogsvvFD169evtvdXUxw9elShod4fM2FhYXK73ZLo5+riz36tsr8lti53DSJz5swxLpfLvPzyy2bTpk3mrrvuMvXq1fMagYDT7r33XlO3bl2zbNkys2fPHs/P0aNHPW3uuece06xZM/PBBx+YNWvWmNTUVJOamupZXzrk9NprrzV5eXlm0aJF5txzz/U55HTUqFFm8+bNZurUqbVqyKkvPx9NYwz9XBVWr15twsPDzRNPPGG+/vpr89prr5no6Gjzf//3f542Tz75pKlXr57517/+ZT7//HPz+9//3ufQyE6dOplVq1aZ5cuXm1atWnkNjTxw4ICJj483d9xxh9mwYYOZM2eOiY6ODuohpz+XkZFhmjRp4hnaO3/+fBMXF2ceeOABTxv6uXIOHTpk1q9fb9avX28kmcmTJ5v169ebb7/91hjjv35dsWKFCQ8PNxMnTjSbN2822dnZDO2167nnnjPNmjUzERERplu3buaTTz5xuqQaS5LPn9mzZ3vaHDt2zNx3332mfv36Jjo62tx4441mz549Xs+zY8cO06NHDxMVFWXi4uLM//t//8+cPHnSq83SpUtNcnKyiYiIMOedd57Xa9RGvwwj9HPVeO+990y7du2My+UyrVu3NjNmzPBa73a7zSOPPGLi4+ONy+Uy11xzjdmyZYtXmx9++MH079/fxMTEmNjYWJOZmWkOHTrk1eazzz4zl19+uXG5XKZJkybmySefrPb3VlMUFRWZ4cOHm2bNmpnIyEhz3nnnmYcffthrqCj9XDlLly71+Tc5IyPDGOPffn3zzTfNBRdcYCIiIkzbtm3NggULbL+fEGN+NhUeAACAn9XKa0Y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qggsusF1jhw4dPP8OCQlRQkKC53qM0iM6kZGRnjapqam2a4qIiNBrr72mDh06qHnz5vrrX/9qu04A1YMwAgS5s846y+v/999/v5YsWaKJEyeqZcuWioqKUp8+fXTixAlJUlRUlOXzHT58WL169dJTTz1VZl2jRo0qVWOdOnW8/h8SEiK3213hx1e0ppUrV0qS9u/fr/3795fpG1/i4uIUFhZW5tqSgoICJSQkVLhGAOXjmhEgSERERKikpOSM7VasWKFBgwbpxhtvVPv27ZWQkKAdO3Z41rdv315ut1sffvihz8d37txZGzduVFJSklq2bOn1U5EPd7suuugiff755zp+/Lhn2SeffGK7pq1bt2rkyJGaOXOmUlJSlJGRUaHAExERoS5duignJ8ezzO12Kycnp8wRGgCVQxgBgkRSUpJWrVqlHTt2qLCwsNwP2latWmn+/PnKy8vTZ599pttuu82rbVJSkjIyMjR48GC988472r59u5YtW6Y333xTkjR06FDt379f/fv316effqqtW7dq8eLFyszMrFAYsuu2225TSEiIhgwZok2bNmnhwoWaOHGiV5sz1VRSUqLbb79d6enpyszM1OzZs/X5559r0qRJFaohKytLM2fO1CuvvKLNmzfr3nvv1ZEjR5SZmVnl7xeojQgjQJC4//77FRYWpjZt2ujcc8/1Gh3zc5MnT1b9+vV16aWXqlevXkpPT1fnzp292kybNk19+vTRfffdp9atW2vIkCE6cuSIJKlx48ZasWKFSkpKdO2116p9+/YaMWKE6tWrp9DQqv+TEhMTo/fee09ffPGFOnXqpIcffrjM6Zgz1fTEE0/o22+/1QsvvCDpp1M3M2bM0JgxY/TZZ5+dsYZ+/fpp4sSJGjt2rJKTk5WXl6dFixadcSQOgIoJMcYYp4sAAAC1F0dGAACAowgjAKrMzp07FRMTU+5PeaeOnBSINQPBhtM0AKrMqVOnvEbm/FJSUpLCw2vWjAKBWDMQbAgjAADAUZymAQAAjiKMAAAARxFGAACAowgjAADAUYQRAADgKMIIAABwFGEEAAA4ijACAAAc9f8BdE4gEWV/OjoAAAAASUVORK5CYII=", "text/plain": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "acquisition.to_dataarray().plot()" ] }, { "cell_type": "markdown", "id": "56ff5fb4", "metadata": {}, "source": [ "## Gate-level: NV center example\n", "\n", "To finish the tutorial, we show how to use the timetag acquisition protocol with an NV center defined in the quantum device.\n", "\n", "To keep the tutorial focused, we only include the readout laser in the hardware configuration (and leave re-ionization and spin-pump lasers out). Again, we use port 1 of the QCM, this time connected to an optical modulator, and port 1 of the QTM, connected to a single-photon detector:" ] }, { "cell_type": "code", "execution_count": 17, "id": "82678907", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "QCM_SLOT = 7\n", "QTM_SLOT = 10\n", "\n", "hw_cfg = {\n", " \"config_type\": \"quantify_scheduler.backends.qblox_backend.QbloxHardwareCompilationConfig\",\n", " \"hardware_description\": {\n", " \"cluster0\": {\n", " \"instrument_type\": \"Cluster\",\n", " \"ref\": \"internal\",\n", " \"modules\": {\n", " f\"{QCM_SLOT}\": {\"instrument_type\": \"QCM\"},\n", " f\"{QTM_SLOT}\": {\"instrument_type\": \"QTM\"},\n", " },\n", " },\n", " \"red_laser\": {\"instrument_type\": \"LocalOscillator\", \"power\": 1},\n", " \"optical_mod_red_laser\": {\"instrument_type\": \"OpticalModulator\"},\n", " },\n", " \"hardware_options\": {\n", " \"modulation_frequencies\": {\n", " \"qe0:optical_control-qe0.ge0\": {\"interm_freq\": 0.0, \"lo_freq\": None},\n", " \"qe0:optical_readout-qe0.ge0\": {\"interm_freq\": 0.0, \"lo_freq\": None},\n", " },\n", " \"digitization_thresholds\": {\n", " \"qe0:optical_readout-qe0.ge0\": {\"in_threshold_primary\": 0.5}\n", " },\n", " },\n", " \"connectivity\": {\n", " \"graph\": [\n", " [f\"cluster0.module{QCM_SLOT}.real_output_0\", \"optical_mod_red_laser.if\"],\n", " [\"red_laser.output\", \"optical_mod_red_laser.lo\"],\n", " [\"optical_mod_red_laser.out\", \"qe0:optical_control\"],\n", " [f\"cluster0.module{QTM_SLOT}.digital_input_0\", \"qe0:optical_readout\"],\n", " ]\n", " },\n", "}" ] }, { "cell_type": "markdown", "id": "b5c4039a", "metadata": {}, "source": [ "We now add a mock laser to our instrument coordinator so that the example compiles." ] }, { "cell_type": "code", "execution_count": 18, "id": "684e455f", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "from quantify_scheduler import GenericInstrumentCoordinatorComponent, MockLocalOscillator\n", "\n", "red_laser = MockLocalOscillator(name=\"red_laser\")\n", "instrument_coordinator.add_component(GenericInstrumentCoordinatorComponent(red_laser))" ] }, { "cell_type": "markdown", "id": "f8449aac", "metadata": {}, "source": [ "Then we add a {class}`~quantify_scheduler.device_under_test.nv_element.BasicElectronicNVElement` (our NV center) to the quantum device. Note that measurement parameters such as `time_source` and `time_ref` are now defined on the quantum device element." ] }, { "cell_type": "code", "execution_count": 19, "id": "d34f555e", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [], "source": [ "from quantify_scheduler import BasicElectronicNVElement\n", "\n", "quantum_device.hardware_config(hw_cfg)\n", "\n", "qe0 = BasicElectronicNVElement(\"qe0\")\n", "qe0.measure.pulse_amplitude(1.0)\n", "qe0.measure.time_source(TimeSource.FIRST)\n", "qe0.measure.time_ref(TimeRef.START)\n", "qe0.clock_freqs.ge0.set(470.4e12)\n", "quantum_device.add_element(qe0)" ] }, { "cell_type": "markdown", "id": "18d4c2a5", "metadata": {}, "source": [ "The schedule consists simply of a `Measure` operation, which includes a readout pulse (sent from the QCM to the optical modulator) and a timetag acquisition." ] }, { "cell_type": "code", "execution_count": 20, "id": "31b281f5", "metadata": { "mystnb": { "remove_code_outputs": true } }, "outputs": [ { "data": { "text/plain": [ "{'name': '9f59428f-b584-4bf1-b40e-b0f28ed41db2', 'operation_id': '-3994362872868643939', 'timing_constraints': [{'rel_time': 0, 'ref_schedulable': None, 'ref_pt_new': None, 'ref_pt': None}], 'label': '9f59428f-b584-4bf1-b40e-b0f28ed41db2'}" ] }, "execution_count": 20, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from quantify_scheduler.operations import Measure\n", "\n", "sched = Schedule(\"NV Timetag\")\n", "\n", "sched.add(Measure(\"qe0\", acq_protocol=\"Timetag\", bin_mode=BinMode.APPEND))" ] }, { "cell_type": "markdown", "id": "5920c600", "metadata": {}, "source": [ "Finally, we compile the schedule and show the pulse and the acquisition operation in a pulse diagram." ] }, { "cell_type": "code", "execution_count": 21, "id": "8b59ec55", "metadata": {}, "outputs": [ { "data": { "text/html": [ " \n", " " ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "fill": "tozeroy", "hoverinfo": "x+y+name", "hoverlabel": { "namelength": -1 }, "legendgroup": "0", "line": { "color": "#636EFA" }, "mode": "lines", "name": "VoltageOffset, clock qe0.ge0", "showlegend": true, "type": "scatter", "x": [ 0.0, 1.9995990000000002e-05, 1.9996000000000003e-05, 5e-05 ], "xaxis": "x", "y": [ 1.0, 1.0, 0.0, 0.0 ], "yaxis": "y" }, { "fill": "tozeroy", "hoverinfo": "x+y+name", "hoverlabel": { "namelength": -1 }, "legendgroup": "1", "line": { "color": "#EF553B" }, "mode": "lines", "name": "Measure qe0, clock qe0.ge0", "showlegend": true, "type": "scatter", "x": [ 1.9995990000000002e-05, 1.9996000000000003e-05, 1.9997000000000002e-05, 1.9998e-05, 1.9999e-05, 1.999999e-05, 2e-05 ], "xaxis": "x", "y": [ 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0 ], "yaxis": "y" }, { "marker": { "color": "rgba(0,0,0,.25)", "size": 15, "symbol": [ "arrow-bar-left", "arrow-bar-right" ] }, "mode": "markers", "name": "Measure qe0", "type": "scatter", "x": [ 0, 5e-05 ], "xaxis": "x2", "y": [ 0, 0 ], "yaxis": "y2" } ], "layout": { "height": 600, "shapes": [ { "fillcolor": "rgba(255,0,0,0.1)", "layer": "below", "line": { "color": "rgba(0,0,0,0)", "width": 3 }, "name": "Measure qe0", "type": "rect", "x0": 0, "x1": 5e-05, "xref": "x", "y0": 0, "y1": 1, "yref": "y2 domain" } ], "showlegend": false, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ], "sequentialminus": [ [ 0.0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1.0, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "text": "NV Timetag" }, "width": 1000, "xaxis": { "anchor": "y", "domain": [ 0.0, 1.0 ], "hoverformat": ".3s", "matches": "x2", "showgrid": true, "showticklabels": false, "tickformat": ".2s", "ticksuffix": "s" }, "xaxis2": { "anchor": "y2", "domain": [ 0.0, 1.0 ], "hoverformat": ".3s", "showgrid": true, "tickformat": ".2s", "tickformatstops": [ { "dtickrange": [ null, 1e-09 ], "value": ".10s" }, { "dtickrange": [ 1e-09, 1e-06 ], "value": ".7s" }, { "dtickrange": [ 1e-06, 0.001 ], "value": ".4s" } ], "ticksuffix": "s", "title": { "text": "Time" } }, "yaxis": { "anchor": "x", "autorange": true, "domain": [ 0.51, 1.0 ], "hoverformat": ".3s", "tickformat": ".2s", "ticksuffix": "V", "title": { "text": "qe0:optical_control" } }, "yaxis2": { "anchor": "x2", "autorange": true, "domain": [ 0.0, 0.49 ], "hoverformat": ".3s", "tickformat": ".2s", "ticksuffix": "V", "title": { "text": "qe0:optical_readout" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "compiler = SerialCompiler(name=\"compiler\")\n", "compiled_schedule = compiler.compile(\n", " schedule=sched,\n", " config=quantum_device.generate_compilation_config(),\n", ")\n", "\n", "compiled_schedule.plot_pulse_diagram(plot_backend=\"plotly\")" ] } ], "metadata": { "file_format": "mystnb", "kernelspec": { "display_name": "python3", "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.9.20" }, "source_map": [ 6, 30, 44, 54, 84, 88, 105, 110, 117, 130, 151, 155, 165, 169, 175, 179, 193, 195, 205, 220, 224, 230, 234, 241, 245, 258, 260, 268, 281, 285, 291, 295, 302, 306, 326, 328, 336, 376, 380, 389, 393, 408, 412, 422, 426 ] }, "nbformat": 4, "nbformat_minor": 5 }