{ "cells": [ { "cell_type": "markdown", "id": "598e98d4", "metadata": {}, "source": [ "# Randomized benchmarking\n", "\n", "This application example is qubit type agnostic, i.e. it can be applied for any type of qubit (e.g. transmon, spin, etc.).\n", "\n", "For demonstration, we will assume that the qubit type is flux-tunable transmon.\n", "\n", "The experiments can also be executed using a dummy Qblox device that is created via an instance of the `Cluster` class, and is initialized with a dummy configuration. However, when using a dummy device, the analysis will not work because the experiments will return `np.nan` values." ] }, { "cell_type": "markdown", "id": "1360920c", "metadata": {}, "source": [ "## Hardware setup\n", "In this section we configure the hardware configuration which specifies the connectivity of our system." ] }, { "cell_type": "markdown", "id": "fc644b76", "metadata": {}, "source": [ "### Configuration file\n", "\n", "We will load a template hardware configuration file for a 2-qubit system (we name the qubits `q0` and `q1`), with dedicated flux-control lines.\n", "\n", "The hardware connectivity is as follows, by cluster slot:\n", "- **QCM** (Slot 2)\n", " - $\\text{O}^{1}$: Flux line for `q0`.\n", " - $\\text{O}^{2}$: Flux line for `q1`.\n", "- **QCM-RF** (Slot 6)\n", " - $\\text{O}^{1}$: Drive line for `q0` using fixed 80 MHz IF.\n", " - $\\text{O}^{2}$: Drive line for `q1` using fixed 80 MHz IF.\n", "- **QRM-RF** (Slot 8)\n", " - $\\text{O}^{1}$ and $\\text{I}^{1}$: Shared readout line for `q0`/`q1` using a fixed LO set at 7.5 GHz.\n", "\n", "Note that in the hardware configuration below the mixers are uncorrected, but for high fidelity experiments this should also be done for all the RF modules." ] }, { "cell_type": "code", "execution_count": 1, "id": "7c0f62ff", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:52.790707Z", "iopub.status.busy": "2024-10-17T13:11:52.790501Z", "iopub.status.idle": "2024-10-17T13:11:52.797047Z", "shell.execute_reply": "2024-10-17T13:11:52.796417Z" } }, "outputs": [], "source": [ "from __future__ import annotations\n", "\n", "import json\n", "\n", "with open(\"configs/tuning_transmon_coupled_pair_hardware_config.json\") as hw_cfg_json_file:\n", " hardware_cfg = json.load(hw_cfg_json_file)" ] }, { "cell_type": "markdown", "id": "ebddd617", "metadata": {}, "source": [ "### Scan For Clusters\n", "\n", "We scan for the available devices connected via ethernet using the Plug & Play functionality of the Qblox Instruments package (see [Plug & Play](https://qblox-qblox-instruments.readthedocs-hosted.com/en/main/api_reference/tools.html#api-pnp) for more info)." ] }, { "cell_type": "markdown", "id": "fbe9af43", "metadata": {}, "source": [ "`!qblox-pnp list`" ] }, { "cell_type": "code", "execution_count": 2, "id": "ab06b239", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:52.799022Z", "iopub.status.busy": "2024-10-17T13:11:52.798854Z", "iopub.status.idle": "2024-10-17T13:11:52.801642Z", "shell.execute_reply": "2024-10-17T13:11:52.800984Z" } }, "outputs": [], "source": [ "cluster_ip = None # To run this example on hardware, fill in the IP address of the cluster here\n", "cluster_name = \"cluster0\"" ] }, { "cell_type": "markdown", "id": "ab293246", "metadata": {}, "source": [ "### Connect to Cluster\n", "\n", "We now make a connection with the Cluster." ] }, { "cell_type": "code", "execution_count": 3, "id": "60c65fac", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:52.803493Z", "iopub.status.busy": "2024-10-17T13:11:52.803324Z", "iopub.status.idle": "2024-10-17T13:11:53.704440Z", "shell.execute_reply": "2024-10-17T13:11:53.703698Z" }, "lines_to_next_cell": 2 }, "outputs": [], "source": [ "from qcodes.instrument import find_or_create_instrument\n", "\n", "from qblox_instruments import Cluster, ClusterType\n", "\n", "cluster = find_or_create_instrument(\n", " Cluster,\n", " recreate=True,\n", " name=cluster_name,\n", " identifier=cluster_ip,\n", " dummy_cfg=(\n", " {\n", " 2: ClusterType.CLUSTER_QCM,\n", " 4: ClusterType.CLUSTER_QRM,\n", " 6: ClusterType.CLUSTER_QCM_RF,\n", " 8: ClusterType.CLUSTER_QRM_RF,\n", " }\n", " if cluster_ip is None\n", " else None\n", " ),\n", ")" ] }, { "cell_type": "markdown", "id": "121bd8a9", "metadata": {}, "source": [ "## Experiment setup" ] }, { "cell_type": "markdown", "id": "08e852f8", "metadata": {}, "source": [ "### Quantum device settings\n", "Here we load our `QuantumDevice` and our qubit parameters, check out this [tutorial](https://quantify-os.org/docs/quantify-scheduler/dev/tutorials/Operations%20and%20Qubits.html) for more details.\n", "\n", "In short, a `QuantumDevice` contains device elements which we can use to save our found parameters.\n", "\n", "In this example we assume that the system has already been characterized." ] }, { "cell_type": "code", "execution_count": 4, "id": "6332e860", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:53.706891Z", "iopub.status.busy": "2024-10-17T13:11:53.706637Z", "iopub.status.idle": "2024-10-17T13:11:54.814034Z", "shell.execute_reply": "2024-10-17T13:11:54.813370Z" }, "lines_to_next_cell": 2 }, "outputs": [], "source": [ "from quantify_scheduler.device_under_test.quantum_device import QuantumDevice\n", "\n", "quantum_device = QuantumDevice.from_json_file(\"devices/transmon_device_2q.json\")\n", "q0 = quantum_device.get_element(\"q0\")\n", "q1 = quantum_device.get_element(\"q1\")\n", "quantum_device.hardware_config(hardware_cfg)" ] }, { "cell_type": "markdown", "id": "a0041421", "metadata": {}, "source": [ "### Configure measurement control loop\n", "We will use a `MeasurementControl` object for data acquisition as well as an `InstrumentCoordinator` for controlling the instruments in our setup.\n", "\n", "The `PlotMonitor` is used for live plotting.\n", "\n", "All of these are then associated with the `QuantumDevice`." ] }, { "cell_type": "code", "execution_count": 5, "id": "4eba7cd8", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:54.816780Z", "iopub.status.busy": "2024-10-17T13:11:54.816244Z", "iopub.status.idle": "2024-10-17T13:11:55.036227Z", "shell.execute_reply": "2024-10-17T13:11:55.035424Z" } }, "outputs": [], "source": [ "from quantify_core.measurement.control import MeasurementControl\n", "from quantify_core.visualization.pyqt_plotmon import PlotMonitor_pyqt as PlotMonitor\n", "from quantify_scheduler.instrument_coordinator import InstrumentCoordinator\n", "from quantify_scheduler.instrument_coordinator.components.qblox import ClusterComponent\n", "\n", "\n", "def configure_measurement_control_loop(\n", " device: QuantumDevice, cluster: Cluster, live_plotting: bool = False\n", "):\n", " meas_ctrl = find_or_create_instrument(MeasurementControl, recreate=True, name=\"meas_ctrl\")\n", " ic = find_or_create_instrument(InstrumentCoordinator, recreate=True, name=\"ic\")\n", "\n", " # Add cluster to instrument coordinator\n", " ic_cluster = ClusterComponent(cluster)\n", " ic.add_component(ic_cluster)\n", "\n", " if live_plotting:\n", " # Associate plot monitor with measurement controller\n", " plotmon = find_or_create_instrument(PlotMonitor, recreate=False, name=\"PlotMonitor\")\n", " meas_ctrl.instr_plotmon(plotmon.name)\n", "\n", " # Associate measurement controller and instrument coordinator with the quantum device\n", " device.instr_measurement_control(meas_ctrl.name)\n", " device.instr_instrument_coordinator(ic.name)\n", "\n", " return (meas_ctrl, ic)\n", "\n", "\n", "meas_ctrl, instrument_coordinator = configure_measurement_control_loop(quantum_device, cluster)" ] }, { "cell_type": "markdown", "id": "34f44734", "metadata": {}, "source": [ "### Set data directory\n", "This directory is where all of the data pertaining to our experiment will be saved." ] }, { "cell_type": "code", "execution_count": 6, "id": "debfd107", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:55.038812Z", "iopub.status.busy": "2024-10-17T13:11:55.038357Z", "iopub.status.idle": "2024-10-17T13:11:55.042381Z", "shell.execute_reply": "2024-10-17T13:11:55.041784Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Data will be saved in:\n", "/root/quantify-data\n" ] } ], "source": [ "import quantify_core.data.handling as dh\n", "\n", "# Enter your own dataset directory here!\n", "dh.set_datadir(dh.default_datadir())" ] }, { "cell_type": "markdown", "id": "e6666774", "metadata": {}, "source": [ "### Configure external flux control\n", "We need to have some way of controlling the external flux.\n", "\n", "This can be done by setting an output bias on a module of the cluster which is then connected to the flux-control line.\n", "\n", "Here we are nullifying the external flux on both qubits." ] }, { "cell_type": "code", "execution_count": 7, "id": "929d95cd", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:55.044397Z", "iopub.status.busy": "2024-10-17T13:11:55.044216Z", "iopub.status.idle": "2024-10-17T13:11:55.048439Z", "shell.execute_reply": "2024-10-17T13:11:55.047800Z" } }, "outputs": [], "source": [ "flux_settables = {q0.name: cluster.module2.out0_offset, q1.name: cluster.module2.out1_offset}\n", "\n", "for flux_settable in flux_settables.values():\n", " flux_settable.inter_delay = 100e-9 # Delay time in seconds between consecutive set operations.\n", " flux_settable.step = 0.3e-3 # Stepsize in V that this Parameter uses during set operation.\n", " flux_settable() # Get before setting to avoid jumps.\n", " flux_settable(0.0)" ] }, { "cell_type": "code", "execution_count": 8, "id": "2bf5651c", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:55.050287Z", "iopub.status.busy": "2024-10-17T13:11:55.050095Z", "iopub.status.idle": "2024-10-17T13:11:55.053470Z", "shell.execute_reply": "2024-10-17T13:11:55.052834Z" } }, "outputs": [], "source": [ "flux_settables[q0.name](0.0) # enter your own value here for qubit 0\n", "flux_settables[q1.name](0.0) # enter your own value here for qubit 1" ] }, { "cell_type": "markdown", "id": "391cce2d", "metadata": {}, "source": [ "## Experiment" ] }, { "cell_type": "code", "execution_count": 9, "id": "efd1c4da", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:55.055534Z", "iopub.status.busy": "2024-10-17T13:11:55.055341Z", "iopub.status.idle": "2024-10-17T13:11:56.846308Z", "shell.execute_reply": "2024-10-17T13:11:56.845658Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Generating Clifford hash tables.\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Successfully generated Clifford hash tables.\n" ] } ], "source": [ "from typing import TYPE_CHECKING\n", "\n", "import numpy as np\n", "from pycqed_randomized_benchmarking.randomized_benchmarking import randomized_benchmarking_sequence\n", "from pycqed_randomized_benchmarking.two_qubit_clifford_group import (\n", " SingleQubitClifford,\n", " TwoQubitClifford,\n", " common_cliffords,\n", ")\n", "\n", "from quantify_scheduler import Schedule\n", "from quantify_scheduler.backends.qblox.constants import MIN_TIME_BETWEEN_OPERATIONS\n", "from quantify_scheduler.operations.gate_library import CZ, X90, Y90, Measure, Reset, Rxy, X, Y\n", "\n", "if TYPE_CHECKING:\n", " from collections.abc import Iterable\n", "\n", "\n", "def randomized_benchmarking_schedule(\n", " qubit_specifier: str | Iterable[str],\n", " lengths: Iterable[int],\n", " desired_net_clifford_index: int | None = common_cliffords[\"I\"],\n", " seed: int | None = None,\n", " repetitions: int = 1,\n", ") -> Schedule:\n", " \"\"\"\n", " Generate a randomized benchmarking schedule.\n", "\n", " All Clifford gates in the schedule are decomposed into products\n", " of the following unitary operations:\n", "\n", " {'CZ', 'I', 'Rx(pi)', 'Rx(pi/2)', 'Ry(pi)', 'Ry(pi/2)', 'Rx(-pi/2)', 'Ry(-pi/2)'}\n", "\n", " Parameters\n", " ----------\n", " qubit_specifier\n", " String or iterable of strings specifying which qubits to conduct the\n", " experiment on. If one name is specified, then single qubit randomized\n", " benchmarking is performed. If two names are specified, then two-qubit\n", " randomized benchmarking is performed.\n", " lengths\n", " Array of non-negative integers specifying how many Cliffords\n", " to apply before each recovery and measurement. If lengths is of size M\n", " then there will be M recoveries and M measurements in the schedule.\n", " desired_net_clifford_index\n", " Optional index specifying what the net Clifford gate should be. If None\n", " is specified, then no recovery Clifford is calculated. The default index\n", " is 0, which corresponds to the identity gate. For a map of common Clifford\n", " gates to Clifford indices, please see: two_qubit_clifford_group.common_cliffords\n", " seed\n", " Optional random seed to use for all lengths m. If the seed is None,\n", " then a new seed will be used for each length m.\n", " repetitions\n", " Optional positive integer specifying the amount of times the\n", " Schedule will be repeated. This corresponds to the number of averages\n", " for each measurement.\n", "\n", " \"\"\"\n", " # ---- Error handling and argument parsing ----#\n", " lengths = np.asarray(lengths, dtype=int)\n", "\n", " if isinstance(qubit_specifier, str):\n", " qubit_names = [qubit_specifier]\n", " else:\n", " qubit_names = [q for q in qubit_specifier]\n", "\n", " n = len(qubit_names)\n", " if n not in (1, 2):\n", " raise ValueError(\"Only single and two-qubit randomized benchmarking supported.\")\n", " if len(set(qubit_names)) != n:\n", " raise ValueError(\"Two-qubit randomized benchmarking on the same qubit is ill-defined.\")\n", "\n", " # ---- PycQED mappings ----#\n", " pycqed_qubit_map = {f\"q{idx}\": name for idx, name in enumerate(qubit_names)}\n", " pycqed_operation_map = {\n", " \"X180\": lambda q: X(pycqed_qubit_map[q]),\n", " \"X90\": lambda q: X90(pycqed_qubit_map[q]),\n", " \"Y180\": lambda q: Y(pycqed_qubit_map[q]),\n", " \"Y90\": lambda q: Y90(pycqed_qubit_map[q]),\n", " \"mX90\": lambda q: Rxy(qubit=pycqed_qubit_map[q], phi=0.0, theta=-90.0),\n", " \"mY90\": lambda q: Rxy(qubit=pycqed_qubit_map[q], phi=90.0, theta=-90.0),\n", " \"CZ\": lambda q: CZ(qC=pycqed_qubit_map[q[0]], qT=pycqed_qubit_map[q[1]]),\n", " }\n", "\n", " # ---- Build RB schedule ----#\n", " sched = Schedule(\n", " \"Randomized benchmarking on \" + \" and \".join(qubit_names), repetitions=repetitions\n", " )\n", " clifford_class = [SingleQubitClifford, TwoQubitClifford][n - 1]\n", "\n", " # two-qubit RB needs buffer time for phase corrections on drive lines\n", " operation_buffer_time = [0.0, MIN_TIME_BETWEEN_OPERATIONS * 4e-9][n - 1]\n", "\n", " for idx, m in enumerate(lengths):\n", " sched.add(Reset(*qubit_names))\n", " if m > 0:\n", " # m-sized random sample of representatives in the quotient group C_n / U(1)\n", " # where C_n is the n-qubit Clifford group and U(1) is the circle group\n", " rb_sequence_m: list[int] = randomized_benchmarking_sequence(\n", " m, number_of_qubits=n, seed=seed, desired_net_cl=desired_net_clifford_index\n", " )\n", "\n", " for clifford_gate_idx in rb_sequence_m:\n", " cl_decomp = clifford_class(clifford_gate_idx).gate_decomposition\n", "\n", " operations = [\n", " pycqed_operation_map[gate](q) for (gate, q) in cl_decomp if gate != \"I\"\n", " ]\n", "\n", " for op in operations:\n", " sched.add(op, rel_time=operation_buffer_time)\n", "\n", " sched.add(Measure(*qubit_names, acq_index=idx))\n", "\n", " return sched" ] }, { "cell_type": "markdown", "id": "6e6d19ec", "metadata": { "lines_to_next_cell": 0 }, "source": [ "### Single qubit RB example" ] }, { "cell_type": "code", "execution_count": 10, "id": "9c682f54", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:56.848478Z", "iopub.status.busy": "2024-10-17T13:11:56.848302Z", "iopub.status.idle": "2024-10-17T13:11:56.853623Z", "shell.execute_reply": "2024-10-17T13:11:56.853047Z" }, "lines_to_next_cell": 2 }, "outputs": [], "source": [ "from qcodes import ManualParameter\n", "\n", "from quantify_scheduler.gettables import ScheduleGettable\n", "\n", "length = ManualParameter(name=\"length\", unit=\"#\", label=\"Number of Clifford gates\")\n", "length.batched = True\n", "length.batch_size = 10\n", "\n", "rb_sched_kwargs = {\"qubit_specifier\": q0.name, \"lengths\": length}\n", "\n", "gettable = ScheduleGettable(\n", " quantum_device,\n", " schedule_function=randomized_benchmarking_schedule,\n", " schedule_kwargs=rb_sched_kwargs,\n", " real_imag=False,\n", " batched=True,\n", " num_channels=1,\n", ")\n", "meas_ctrl.gettables(gettable)" ] }, { "cell_type": "code", "execution_count": 11, "id": "09bab940", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:56.855312Z", "iopub.status.busy": "2024-10-17T13:11:56.855139Z", "iopub.status.idle": "2024-10-17T13:11:58.732372Z", "shell.execute_reply": "2024-10-17T13:11:58.731618Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Starting batched measurement...\n", "Iterative settable(s) [outer loop(s)]:\n", "\t --- (None) --- \n", "Batched settable(s):\n", "\t length \n", "Batch size limit: 10\n", "\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1220: ValidationWarning: Setting `auto_lo_cal=on_lo_interm_freq_change` will overwrite settings `dc_offset_i=0.0` and `dc_offset_q=0.0`. To suppress this warning, do not set either `dc_offset_i` or `dc_offset_q` for this port-clock.\n", " warnings.warn(\n", "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "d366e1aa432f439cb71c19768f64c50c", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Completed: 0%| [ elapsed time: 00:00 | time left: ? ] it" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "data": { "text/html": [ "
\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
<xarray.Dataset> Size: 1kB\n",
       "Dimensions:  (dim_0: 50)\n",
       "Coordinates:\n",
       "    x0       (dim_0) int64 400B 0 2 4 6 8 10 12 14 ... 84 86 88 90 92 94 96 98\n",
       "Dimensions without coordinates: dim_0\n",
       "Data variables:\n",
       "    y0       (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n",
       "    y1       (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n",
       "Attributes:\n",
       "    tuid:                             20241017-131156-857-602470\n",
       "    name:                             Randomized benchmarking on q0\n",
       "    grid_2d:                          False\n",
       "    grid_2d_uniformly_spaced:         False\n",
       "    1d_2_settables_uniformly_spaced:  False
" ], "text/plain": [ " Size: 1kB\n", "Dimensions: (dim_0: 50)\n", "Coordinates:\n", " x0 (dim_0) int64 400B 0 2 4 6 8 10 12 14 ... 84 86 88 90 92 94 96 98\n", "Dimensions without coordinates: dim_0\n", "Data variables:\n", " y0 (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n", " y1 (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n", "Attributes:\n", " tuid: 20241017-131156-857-602470\n", " name: Randomized benchmarking on q0\n", " grid_2d: False\n", " grid_2d_uniformly_spaced: False\n", " 1d_2_settables_uniformly_spaced: False" ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "length_setpoints = np.arange(0, 100, 2)\n", "\n", "meas_ctrl.settables(length)\n", "meas_ctrl.setpoints(length_setpoints)\n", "\n", "quantum_device.cfg_sched_repetitions(200)\n", "rb_ds = meas_ctrl.run(\"Randomized benchmarking on \" + rb_sched_kwargs[\"qubit_specifier\"])\n", "rb_ds" ] }, { "cell_type": "markdown", "id": "9778ba63", "metadata": { "lines_to_next_cell": 0 }, "source": [ "### Two qubit RB example" ] }, { "cell_type": "code", "execution_count": 12, "id": "b6f13401", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:58.734401Z", "iopub.status.busy": "2024-10-17T13:11:58.734213Z", "iopub.status.idle": "2024-10-17T13:11:58.739444Z", "shell.execute_reply": "2024-10-17T13:11:58.738804Z" }, "lines_to_next_cell": 2 }, "outputs": [], "source": [ "length = ManualParameter(name=\"length\", unit=\"#\", label=\"Number of Clifford gates\")\n", "length.batched = True\n", "length.batch_size = 10\n", "\n", "rb_sched_kwargs = {\"qubit_specifier\": [q0.name, q1.name], \"lengths\": length}\n", "\n", "gettable = ScheduleGettable(\n", " quantum_device,\n", " schedule_function=randomized_benchmarking_schedule,\n", " schedule_kwargs=rb_sched_kwargs,\n", " real_imag=False,\n", " batched=True,\n", " num_channels=2,\n", ")\n", "meas_ctrl.gettables(gettable)" ] }, { "cell_type": "code", "execution_count": 13, "id": "937c8a7c", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:11:58.741783Z", "iopub.status.busy": "2024-10-17T13:11:58.741618Z", "iopub.status.idle": "2024-10-17T13:12:07.351939Z", "shell.execute_reply": "2024-10-17T13:12:07.351069Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Starting batched measurement...\n", "Iterative settable(s) [outer loop(s)]:\n", "\t --- (None) --- \n", "Batched settable(s):\n", "\t length \n", "Batch size limit: 10\n", "\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "c55e1ee5b8e1409fb5833624516bd081", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Completed: 0%| [ elapsed time: 00:00 | time left: ? ] it" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.9/site-packages/quantify_scheduler/backends/types/qblox.py:1235: ValidationWarning: Setting `auto_sideband_cal=on_interm_freq_change` will overwrite settings `amp_ratio=1.0` and `phase_error=0.0`. To suppress this warning, do not set either `amp_ratio` or `phase_error` for this port-clock.\n", " warnings.warn(\n" ] }, { "data": { "text/html": [ "
\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
<xarray.Dataset> Size: 2kB\n",
       "Dimensions:  (dim_0: 50)\n",
       "Coordinates:\n",
       "    x0       (dim_0) int64 400B 0 2 4 6 8 10 12 14 ... 84 86 88 90 92 94 96 98\n",
       "Dimensions without coordinates: dim_0\n",
       "Data variables:\n",
       "    y0       (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n",
       "    y1       (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n",
       "    y2       (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n",
       "    y3       (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n",
       "Attributes:\n",
       "    tuid:                             20241017-131158-743-7de38a\n",
       "    name:                             Randomized benchmarking on q0 and q1\n",
       "    grid_2d:                          False\n",
       "    grid_2d_uniformly_spaced:         False\n",
       "    1d_2_settables_uniformly_spaced:  False
" ], "text/plain": [ " Size: 2kB\n", "Dimensions: (dim_0: 50)\n", "Coordinates:\n", " x0 (dim_0) int64 400B 0 2 4 6 8 10 12 14 ... 84 86 88 90 92 94 96 98\n", "Dimensions without coordinates: dim_0\n", "Data variables:\n", " y0 (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n", " y1 (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n", " y2 (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n", " y3 (dim_0) float64 400B nan nan nan nan nan ... nan nan nan nan nan\n", "Attributes:\n", " tuid: 20241017-131158-743-7de38a\n", " name: Randomized benchmarking on q0 and q1\n", " grid_2d: False\n", " grid_2d_uniformly_spaced: False\n", " 1d_2_settables_uniformly_spaced: False" ] }, "execution_count": 13, "metadata": {}, "output_type": "execute_result" } ], "source": [ "length_setpoints = np.arange(0, 100, 2)\n", "\n", "meas_ctrl.settables(length)\n", "meas_ctrl.setpoints(length_setpoints)\n", "\n", "quantum_device.cfg_sched_repetitions(200)\n", "rb_ds = meas_ctrl.run(\n", " \"Randomized benchmarking on \" + \" and \".join(rb_sched_kwargs[\"qubit_specifier\"])\n", ")\n", "rb_ds" ] }, { "cell_type": "code", "execution_count": 14, "id": "7dffe1fb", "metadata": { "execution": { "iopub.execute_input": "2024-10-17T13:12:07.354093Z", "iopub.status.busy": "2024-10-17T13:12:07.353893Z", "iopub.status.idle": "2024-10-17T13:12:07.392753Z", "shell.execute_reply": "2024-10-17T13:12:07.392070Z" } }, "outputs": [ { "data": { "text/html": [ "
{\n",
       "    'config_type': 'quantify_scheduler.backends.qblox_backend.QbloxHardwareCompilationConfig',\n",
       "    'hardware_description': {\n",
       "        'cluster0': {\n",
       "            'instrument_type': 'Cluster',\n",
       "            'modules': {\n",
       "                '6': {'instrument_type': 'QCM_RF'},\n",
       "                '2': {'instrument_type': 'QCM'},\n",
       "                '8': {'instrument_type': 'QRM_RF'}\n",
       "            },\n",
       "            'sequence_to_file': False,\n",
       "            'ref': 'internal'\n",
       "        }\n",
       "    },\n",
       "    'hardware_options': {\n",
       "        'output_att': {'q0:mw-q0.01': 10, 'q1:mw-q1.01': 10, 'q0:res-q0.ro': 60, 'q1:res-q1.ro': 60},\n",
       "        'mixer_corrections': {\n",
       "            'q0:mw-q0.01': {\n",
       "                'auto_lo_cal': 'on_lo_interm_freq_change',\n",
       "                'auto_sideband_cal': 'on_interm_freq_change',\n",
       "                'dc_offset_i': None,\n",
       "                'dc_offset_q': None,\n",
       "                'amp_ratio': 1.0,\n",
       "                'phase_error': 0.0\n",
       "            },\n",
       "            'q1:mw-q1.01': {\n",
       "                'auto_lo_cal': 'on_lo_interm_freq_change',\n",
       "                'auto_sideband_cal': 'on_interm_freq_change',\n",
       "                'dc_offset_i': None,\n",
       "                'dc_offset_q': None,\n",
       "                'amp_ratio': 1.0,\n",
       "                'phase_error': 0.0\n",
       "            },\n",
       "            'q0:res-q0.ro': {\n",
       "                'auto_lo_cal': 'on_lo_interm_freq_change',\n",
       "                'auto_sideband_cal': 'on_interm_freq_change',\n",
       "                'dc_offset_i': None,\n",
       "                'dc_offset_q': None,\n",
       "                'amp_ratio': 1.0,\n",
       "                'phase_error': 0.0\n",
       "            },\n",
       "            'q1:res-q1.ro': {\n",
       "                'auto_lo_cal': 'on_lo_interm_freq_change',\n",
       "                'auto_sideband_cal': 'on_interm_freq_change',\n",
       "                'dc_offset_i': None,\n",
       "                'dc_offset_q': None,\n",
       "                'amp_ratio': 1.0,\n",
       "                'phase_error': 0.0\n",
       "            }\n",
       "        },\n",
       "        'modulation_frequencies': {\n",
       "            'q0:mw-q0.01': {'interm_freq': 80000000.0},\n",
       "            'q1:mw-q1.01': {'interm_freq': 80000000.0},\n",
       "            'q0:res-q0.ro': {'lo_freq': 7500000000.0},\n",
       "            'q1:res-q1.ro': {'lo_freq': 7500000000.0}\n",
       "        }\n",
       "    },\n",
       "    'connectivity': {\n",
       "        'graph': [\n",
       "            ['cluster0.module6.complex_output_0', 'q0:mw'],\n",
       "            ['cluster0.module6.complex_output_1', 'q1:mw'],\n",
       "            ['cluster0.module2.real_output_0', 'q0:fl'],\n",
       "            ['cluster0.module2.real_output_1', 'q1:fl'],\n",
       "            ['cluster0.module8.complex_output_0', 'q0:res'],\n",
       "            ['cluster0.module8.complex_output_0', 'q1:res']\n",
       "        ]\n",
       "    }\n",
       "}\n",
       "
\n" ], "text/plain": [ "\u001b[1m{\u001b[0m\n", " \u001b[32m'config_type'\u001b[0m: \u001b[32m'quantify_scheduler.backends.qblox_backend.QbloxHardwareCompilationConfig'\u001b[0m,\n", " \u001b[32m'hardware_description'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'cluster0'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'instrument_type'\u001b[0m: \u001b[32m'Cluster'\u001b[0m,\n", " \u001b[32m'modules'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'6'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'instrument_type'\u001b[0m: \u001b[32m'QCM_RF'\u001b[0m\u001b[1m}\u001b[0m,\n", " \u001b[32m'2'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'instrument_type'\u001b[0m: \u001b[32m'QCM'\u001b[0m\u001b[1m}\u001b[0m,\n", " \u001b[32m'8'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'instrument_type'\u001b[0m: \u001b[32m'QRM_RF'\u001b[0m\u001b[1m}\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'sequence_to_file'\u001b[0m: \u001b[3;91mFalse\u001b[0m,\n", " \u001b[32m'ref'\u001b[0m: \u001b[32m'internal'\u001b[0m\n", " \u001b[1m}\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'hardware_options'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'output_att'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'q0:mw-q0.01'\u001b[0m: \u001b[1;36m10\u001b[0m, \u001b[32m'q1:mw-q1.01'\u001b[0m: \u001b[1;36m10\u001b[0m, \u001b[32m'q0:res-q0.ro'\u001b[0m: \u001b[1;36m60\u001b[0m, \u001b[32m'q1:res-q1.ro'\u001b[0m: \u001b[1;36m60\u001b[0m\u001b[1m}\u001b[0m,\n", " \u001b[32m'mixer_corrections'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'q0:mw-q0.01'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'auto_lo_cal'\u001b[0m: \u001b[32m'on_lo_interm_freq_change'\u001b[0m,\n", " \u001b[32m'auto_sideband_cal'\u001b[0m: \u001b[32m'on_interm_freq_change'\u001b[0m,\n", " \u001b[32m'dc_offset_i'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'dc_offset_q'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'amp_ratio'\u001b[0m: \u001b[1;36m1.0\u001b[0m,\n", " \u001b[32m'phase_error'\u001b[0m: \u001b[1;36m0.0\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'q1:mw-q1.01'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'auto_lo_cal'\u001b[0m: \u001b[32m'on_lo_interm_freq_change'\u001b[0m,\n", " \u001b[32m'auto_sideband_cal'\u001b[0m: \u001b[32m'on_interm_freq_change'\u001b[0m,\n", " \u001b[32m'dc_offset_i'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'dc_offset_q'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'amp_ratio'\u001b[0m: \u001b[1;36m1.0\u001b[0m,\n", " \u001b[32m'phase_error'\u001b[0m: \u001b[1;36m0.0\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'q0:res-q0.ro'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'auto_lo_cal'\u001b[0m: \u001b[32m'on_lo_interm_freq_change'\u001b[0m,\n", " \u001b[32m'auto_sideband_cal'\u001b[0m: \u001b[32m'on_interm_freq_change'\u001b[0m,\n", " \u001b[32m'dc_offset_i'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'dc_offset_q'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'amp_ratio'\u001b[0m: \u001b[1;36m1.0\u001b[0m,\n", " \u001b[32m'phase_error'\u001b[0m: \u001b[1;36m0.0\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'q1:res-q1.ro'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'auto_lo_cal'\u001b[0m: \u001b[32m'on_lo_interm_freq_change'\u001b[0m,\n", " \u001b[32m'auto_sideband_cal'\u001b[0m: \u001b[32m'on_interm_freq_change'\u001b[0m,\n", " \u001b[32m'dc_offset_i'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'dc_offset_q'\u001b[0m: \u001b[3;35mNone\u001b[0m,\n", " \u001b[32m'amp_ratio'\u001b[0m: \u001b[1;36m1.0\u001b[0m,\n", " \u001b[32m'phase_error'\u001b[0m: \u001b[1;36m0.0\u001b[0m\n", " \u001b[1m}\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'modulation_frequencies'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'q0:mw-q0.01'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'interm_freq'\u001b[0m: \u001b[1;36m80000000.0\u001b[0m\u001b[1m}\u001b[0m,\n", " \u001b[32m'q1:mw-q1.01'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'interm_freq'\u001b[0m: \u001b[1;36m80000000.0\u001b[0m\u001b[1m}\u001b[0m,\n", " \u001b[32m'q0:res-q0.ro'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'lo_freq'\u001b[0m: \u001b[1;36m7500000000.0\u001b[0m\u001b[1m}\u001b[0m,\n", " \u001b[32m'q1:res-q1.ro'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'lo_freq'\u001b[0m: \u001b[1;36m7500000000.0\u001b[0m\u001b[1m}\u001b[0m\n", " \u001b[1m}\u001b[0m\n", " \u001b[1m}\u001b[0m,\n", " \u001b[32m'connectivity'\u001b[0m: \u001b[1m{\u001b[0m\n", " \u001b[32m'graph'\u001b[0m: \u001b[1m[\u001b[0m\n", " \u001b[1m[\u001b[0m\u001b[32m'cluster0.module6.complex_output_0'\u001b[0m, \u001b[32m'q0:mw'\u001b[0m\u001b[1m]\u001b[0m,\n", " \u001b[1m[\u001b[0m\u001b[32m'cluster0.module6.complex_output_1'\u001b[0m, \u001b[32m'q1:mw'\u001b[0m\u001b[1m]\u001b[0m,\n", " \u001b[1m[\u001b[0m\u001b[32m'cluster0.module2.real_output_0'\u001b[0m, \u001b[32m'q0:fl'\u001b[0m\u001b[1m]\u001b[0m,\n", " \u001b[1m[\u001b[0m\u001b[32m'cluster0.module2.real_output_1'\u001b[0m, \u001b[32m'q1:fl'\u001b[0m\u001b[1m]\u001b[0m,\n", " \u001b[1m[\u001b[0m\u001b[32m'cluster0.module8.complex_output_0'\u001b[0m, \u001b[32m'q0:res'\u001b[0m\u001b[1m]\u001b[0m,\n", " \u001b[1m[\u001b[0m\u001b[32m'cluster0.module8.complex_output_0'\u001b[0m, \u001b[32m'q1:res'\u001b[0m\u001b[1m]\u001b[0m\n", " \u001b[1m]\u001b[0m\n", " \u001b[1m}\u001b[0m\n", "\u001b[1m}\u001b[0m\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import rich\n", "\n", "rich.print(quantum_device.hardware_config())" ] } ], "metadata": { "files_to_bundle_in_zip_file": [ "pycqed_randomized_benchmarking/__init__.py", "pycqed_randomized_benchmarking/clifford_decompositions.py", "pycqed_randomized_benchmarking/clifford_group.py", "pycqed_randomized_benchmarking/generate_clifford_hash_tables.py", "pycqed_randomized_benchmarking/randomized_benchmarking.py", "pycqed_randomized_benchmarking/two_qubit_clifford_group.py", "pycqed_randomized_benchmarking/LICENSE.txt", "configs/tuning_transmon_coupled_pair_hardware_config.json", "devices/transmon_device_2q.json" ], "jupytext": { "main_language": "python", "notebook_metadata_filter": "files_to_bundle_in_zip_file" }, "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" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": { "09aa906f76714203b9588c8b636d585c": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "24f6e6e8217748fb9adea3b41cd0ef84": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_09aa906f76714203b9588c8b636d585c", "max": 100.0, "min": 0.0, "orientation": "horizontal", "style": "IPY_MODEL_3659366aae6c4153927791eaa48053f0", "tabbable": null, "tooltip": null, "value": 100.0 } }, "2ea804c3797a4954802cfe4e491a8772": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "31ffee7bfc3d41c1a854b7d66f609059": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "3659366aae6c4153927791eaa48053f0": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "3c21f9d1757e4a98bbae337f4acce689": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "466812bf170b40788bf90613775774cf": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "4f0fb3d197d049d8b4c0d4de446c23f8": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "58ab7b98788d4bbe9f9665efbcad9ce4": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "5aa7c6e9613649ceaae0766c688bc769": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "5bd6410e74004f049572c03c68c01130": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "75409c5b941148e1b1a6752d65e67627": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "bf3e3ef1899541c2bca0fcc053d50351": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "bf5814e0521942a488112cadcf886610": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_75409c5b941148e1b1a6752d65e67627", "placeholder": "​", "style": "IPY_MODEL_3c21f9d1757e4a98bbae337f4acce689", "tabbable": null, "tooltip": null, "value": " [ elapsed time: 00:01 | time left: 00:00 ]  last batch size: 10" } }, "c55e1ee5b8e1409fb5833624516bd081": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_c99f451c630c4b7cb5651b8fc2bab7bb", "IPY_MODEL_24f6e6e8217748fb9adea3b41cd0ef84", "IPY_MODEL_ddd81104d37442f780103337cd197261" ], "layout": "IPY_MODEL_31ffee7bfc3d41c1a854b7d66f609059", "tabbable": null, "tooltip": null } }, "c99f451c630c4b7cb5651b8fc2bab7bb": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_466812bf170b40788bf90613775774cf", "placeholder": "​", "style": "IPY_MODEL_4f0fb3d197d049d8b4c0d4de446c23f8", "tabbable": null, "tooltip": null, "value": "Completed: 100%" } }, "ca95127732384c29b160e95a02c06cb2": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "d366e1aa432f439cb71c19768f64c50c": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_e8364a8326f24c2083cec2ad64ec0286", "IPY_MODEL_e852da5606d74d4f887fb78f0853a1ed", "IPY_MODEL_bf5814e0521942a488112cadcf886610" ], "layout": "IPY_MODEL_2ea804c3797a4954802cfe4e491a8772", "tabbable": null, "tooltip": null } }, "ddd81104d37442f780103337cd197261": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_f5bc6c3309c34c64963d2e1d551da3ee", "placeholder": "​", "style": "IPY_MODEL_5aa7c6e9613649ceaae0766c688bc769", "tabbable": null, "tooltip": null, "value": " [ elapsed time: 00:07 | time left: 00:00 ]  last batch size: 10" } }, "e8364a8326f24c2083cec2ad64ec0286": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_bf3e3ef1899541c2bca0fcc053d50351", "placeholder": "​", "style": "IPY_MODEL_ca95127732384c29b160e95a02c06cb2", "tabbable": null, "tooltip": null, "value": "Completed: 100%" } }, "e852da5606d74d4f887fb78f0853a1ed": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_5bd6410e74004f049572c03c68c01130", "max": 100.0, "min": 0.0, "orientation": "horizontal", "style": "IPY_MODEL_58ab7b98788d4bbe9f9665efbcad9ce4", "tabbable": null, "tooltip": null, "value": 100.0 } }, "f5bc6c3309c34c64963d2e1d551da3ee": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } } }, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 5 }