We introduce Cryoscope, a method for sampling on-chip baseband pulses used to dynamically control qubit frequency in a quantum processor. We specifically use Cryoscope to measure the step response of the dedicated flux control lines of two-junction transmon qubits in circuit QED processors with the temporal resolution of the room-temperature arbitrary waveform generator producing the control pulses. As a first application, we iteratively improve this step response using optimized real-time digital filters to counter the linear-dynamical distortion in the control line, as needed for high-fidelity repeatable one- and two-qubit gates based on dynamical control of qubit frequency.
In many solid-state quantum information platforms, accurate dynamical control of qubit frequency is key to realizing single- and two-qubit gates. Common on-chip control variables include, but are not limited to, voltage on a local gate and magnetic flux through a SQUID loop. For example, voltage control is typically used for spin qubits1–4 and gatemons,5,6 while flux control is ubiquitous for transmon, flux, and fluxonium superconducting qubits.7 In most cases, the input control signal originates in an arbitrary waveform generator (AWG) operating at room temperature. The signal suffers linear dynamical distortions as it traverses various electrical components on the control line connecting to the quantum device, most often lying at the coldest stage of a dilution refrigerator.
If uncompensated for, such distortions can have detrimental effects on gate performance, affecting fidelity and even repeatability. A salient example is the controlled-phase (CZ) gate between two transmon qubits implemented by a baseband flux pulse8 that brings the computational state temporarily near resonance with the non-computational state . Short-time scale distortions of the meticulously shaped flux pulse9 can produce leakage away from the two-qubit computational subspace, leaving a remnant population in . Meanwhile, long-time scale distortions make the unitary action of a flux pulse depend on the history of flux pulses applied.10,11 As leakage and history dependence severely limit the depth of quantum circuits that can be realized, a practical scheme for characterization and correction of pulse distortion on chip is of paramount importance.
Distortions introduced by components at room temperature (e.g., AWG bandwidth, high-pass filtering of a bias tee, and skin effect in instrumentation cable) are easily characterized using a fast oscilloscope. However, distortions introduced by components inside the refrigerator (e.g., low-pass filters, impedance mismatch, skin effect in semi-rigid coaxial cable, and chip packaging12) are generally temperature-dependent and are thus best characterized in the cold. Additionally, the on-chip response varies across devices and even between different qubits on the very same device. Evidently, the ideal strategy for characterizing pulse distortion is to use the controlled qubit itself.
A traditional method to visualize the dynamical distortion of ideally square pulses is to observe the oscillations in the excited-state population (as a function of pulse amplitude and duration) when pulsing the qubit into near resonance with another exchange-coupled qubit or a continuous drive tone. While the distortions can be gleaned from the deviation from the ideal chevron pattern,10 the inversion is challenging. More direct methods use spectroscopy13 and Ramsey experiments14 to measure the qubit frequency dynamics, but only during the turn-off transients following a square pulse. Most recently, a method combining continuous microwave and flux drives was developed to convert a transmon into a vector network analyzer15 giving the frequency response of the flux control line, from which it is possible to calculate the qubit frequency dynamics for a given pulse.
In this Letter, we present Cryoscope (short for cryogenic oscilloscope), an in situ technique using the qubit to sample control pulses of arbitrary shape at the temporal resolution of the AWG. We specifically demonstrate Cryoscope for two-junction transmon qubits, whose frequency depends quadratically (to a good approximation) on the flux through the constituent SQUID loop. However, Cryoscope is generally applicable to any system with a quadratic or higher power dependence of qubit frequency on the control variable and a sweetspot where qubit frequency is at least first-order insensitive to this variable. As a first application, we use Cryoscope to iteratively measure the voltage-to-flux step response and apply predistortion corrections to the control waveforms. We predistort the waveforms digitally using finite- and infinite impulse response filters applied in real-time, i.e., without precompilation of the waveform, in a manner compatible with codeword-based microarchitectures16,17 and feedback control. We consistently find the reconstructed step response to be within of the ideal response in several setups and devices.
The transition frequency of a two-junction transmon depends on the magnetic flux through its SQUID loop, and for symmetric junctions, it is given by18
where is the charging energy, is the sum of the Josephson energies of the individual junctions, is the flux quantum, and h is Planck's constant. In our system, the static and dynamic components of are produced by a DC source and an AWG, respectively, and combined at a bias tee, all at room temperature. Here, we use the DC source to null flux offsets, biasing the transmon at its maximal frequency, , which functions as a sweetspot with first-order insensitivity to . As in typical applications,10,11,19,20 we use the AWG to flux pulse the transmon to detunings up to , corresponding to .
At its core, Cryoscope is a technique using Ramsey-style experiments to obtain an estimate of the actual produced by an AWG pulse . We embed the flux pulse (with varying truncation of the input) between the two pulses, which are always separated by a fixed interval . The first pulse (around the y axis of the Bloch sphere) prepares the qubit in the superposition state . An AWG pulse truncated at time τ produces a flux that transforms the state to , with a relative quantum phase
where we explicitly separate the contributions from the flux response up to the truncation point and the subsequent turn-off transient. We complete the Ramsey experiment with two variants, one with the final rotation around y and the other with it around x before measuring in order to determine the Bloch vector components and from which we extract .
We estimate in the small time interval using the following procedure. First, we measure and to compute
which gives the average detuning during the interval, with inaccuracy
given by the difference in the phase contributions of the turn-off transients.
The phase contribution from the turn-off transients is suppressed because of the steep return to the first-order flux-insensitive sweetspot of the nearly quadratic . Numerical simulations indicate that – for dynamical distortions of typically used components.10,19,21 This suppression of would improve for higher order of nonlinearity in .
Finally, we obtain the reconstructed by inversion of 1. The ability of Cryoscope to reconstruct pulses of arbitrary shape is shown in the supplementary material for the case of a pulse shaped as a traditional Dutch canal skyline.
We briefly discuss some technical aspects of the implementation. We set , the minimum allowed by the sampling rate of the AWG (Zurich Instruments HDAWG). The separation time is set as longer than the largest chosen τ to negate the need for fine timing calibrations and to be less sensitive to residual detuning during the final rotation. The phase is determined by combining the and data. Before unwrapping the phase, it is demodulated using the highest frequency component of a Fourier transform of the and data. A second-order Savitzky–Golay filter is then used to determine the derivative by fitting a polynomial in a small window around each data point. The estimated detuning is a sum of the frequency extracted using the Savitzky–Golay filter, the demodulation frequency, and, when using large flux pulse amplitudes, appropriate multiples of the Nyquist frequency. The Nyquist order can be determined by acquiring Cryoscope traces for square pulses with different amplitudes and observing when the mean frequency wraps as the pulse amplitude is increased. Because distortions can cause the instantaneous detuning to be slightly lower or higher than the mean detuning, amplitudes close to the Nyquist wrapping should be avoided.
As a first demonstration of Cryoscope, we measure the voltage-to-flux step response s(t) of the control line. The result shown in Fig. 1(f) reveals clear deviations from the ideal, with dynamics on time scales comparable to typical pulse durations () and much longer. These dynamics are the result of compounded linear dynamical distortions and thus can be described by convolution of the input (where u(t) is the Heaviside step function) with the system impulse response h, . We furthermore assert that the system is causal so that for t < 0.
Basic concept of Cryoscope. (a) Overview of relevant transformations involved. (b) Schematic of the control line used to control the flux through the transmon SQUID loop. A DC source and AWG combined at a bias tee at room temperature produce the static and dynamic components of . (c) When operating Cryoscope, the transmon is biased at its flux sweetspot and pulsed away only during the waiting interval between the pulses in a standard Ramsey-style experiment. (d) The difference in quantum phase [shown in (e)] acquired by the qubit during Ramsey experiments with the flux pulse truncated after τ and provides an estimate of the instantaneous qubit detuning in the interval , and consequently an estimate of the instantaneous actual flux . The nonlinear dependence of suppresses the error produced by the difference in the two turn-off transients. (f) Reconstructed step response of the control line, normalized to maximal flux.
Basic concept of Cryoscope. (a) Overview of relevant transformations involved. (b) Schematic of the control line used to control the flux through the transmon SQUID loop. A DC source and AWG combined at a bias tee at room temperature produce the static and dynamic components of . (c) When operating Cryoscope, the transmon is biased at its flux sweetspot and pulsed away only during the waiting interval between the pulses in a standard Ramsey-style experiment. (d) The difference in quantum phase [shown in (e)] acquired by the qubit during Ramsey experiments with the flux pulse truncated after τ and provides an estimate of the instantaneous qubit detuning in the interval , and consequently an estimate of the instantaneous actual flux . The nonlinear dependence of suppresses the error produced by the difference in the two turn-off transients. (f) Reconstructed step response of the control line, normalized to maximal flux.
As an application of Cryoscope, we make iterative use of real-time digital filtering (available in the AWG) and Cryoscope to improve the step response. The goal of this procedure is to determine the filter that best inverts h such that the corrected step response approximates u(t) as close as possible.
First, several first-order infinite impulse response (IIR) filters are applied to eliminate dynamics on time scales longer than . The IIR filters are designed to each correct a step response of the form , where A is the amplitude coefficient, is the time constant of the filter, and g is a gain constant. The coefficients of the filters are determined by performing a least squares optimization of a prediction of based on a model of the IIR filters and the measured s(t). Because the IIR filters are applied in real-time on the hardware, there are small differences between the ideal filter and the implementation, which are taken into account in the model. We typically require 3–5 such IIR filters in order to correct s(t) between . Cryoscope is used to evaluate the corrections of the IIR filters [2(a)] and shows a reconstruction in which the slow dynamics are corrected to within .
Next, a finite impulse response (FIR) filter is used to correct for the remaining short () time scale dynamics. The FIR filter is described by 40 parameters that in turn describe the 72 coefficients () of the filter. The values are found by minimizing the distance between the predicted signal and the ideal step response using the CMA-ES algorithm.22 A third Cryoscope measurement is performed to test the accuracy of the corrections. This final step can be used to iteratively fine-tune the FIR coefficients if required. No such iterations were required to achieve a reconstructed step response accurate to shown in Fig. 2(a).
Reconstructed step response without and with distortion corrections (for a qubit on a different device from that of Fig. 1) normalized to flux between 40 and . (a) Cryoscope measurements of uncorrected (orange) and corrected step responses with IIR corrections only (red) and FIR and IIR corrections (blue). (b) and (c) Chevron experiments without and with predistortion corrections (not corrected for readout error). The overlaid curve indicates resonance between and , predicted using the step response reconstructed with Cryoscope. See the text for details.
Reconstructed step response without and with distortion corrections (for a qubit on a different device from that of Fig. 1) normalized to flux between 40 and . (a) Cryoscope measurements of uncorrected (orange) and corrected step responses with IIR corrections only (red) and FIR and IIR corrections (blue). (b) and (c) Chevron experiments without and with predistortion corrections (not corrected for readout error). The overlaid curve indicates resonance between and , predicted using the step response reconstructed with Cryoscope. See the text for details.
To independently characterize the corrections, we perform a chevron experiment without and with the predistortions applied [Figs. 2(b) and 2(c)]. In this experiment, two qubits (q1 and q0) are prepared in the state using π pulses, and a square flux pulse of varying duration and amplitude is applied to the higher frequency qubit (q0) to tune into (near) resonance with , the same interaction that is exploited to realize a CZ gate. With no predistortions applied [Fig. 2(b)], the pattern of q1 population as a function of pulse amplitude (horizontal axis) and duration (vertical axis) is visibly asymmetric—fringes on the right-hand side are more visible, and the pattern bends toward large pulse amplitudes for short pulse durations. These two features are signatures of the finite rise time of the applied pulse. In contrast, when predistortions are applied [Fig. 2(c)], the pattern is almost perfectly left-right symmetric, both in terms of visibility and shape, indicating a near-perfect rectangular pulse. Using Cryoscope, we can predict the pulse amplitude that results in exact – degeneracy at every point in time. The prediction [white curve in Figs. 2(b) and 2(c)] overlaps with the path along which the oscillations are slowest, providing an independent verification (although less quantitative) of our method.
Having established the ability to measure and correct distortions, we investigate the sensitivity of Cryoscope. Figure 3(a) presents the unprocessed measurement of for three values of qubit detuning during the rectangular pulse. In all cases, we observe decaying oscillations. The faster the decay, the larger the pulse amplitude due to reduced coherence of the qubit further away from the sweetspot. The reconstructed instantaneous flux in a window [Figs. 3(b) and 3(c)] fluctuates around the mean value, in a range decreasing with the amplitude of the rectangular pulse. We interpret that for larger detuning, the qubit precession is faster, resulting in a larger phase acquired between subsequent time steps and consequently yielding a more accurate measurement of the instantaneous detuning relative to nearly the same sampling noise.
Cryoscope signal-to-noise ratio. (a) Raw measurements of for individual Cryoscope traces using different detuning. (b) and (c) Zoom of the reconstructed signal (normalized to the mean flux). The dotted curves denote the deviations of 0.1%. (d) SNR at various time scales and detunings.
Cryoscope signal-to-noise ratio. (a) Raw measurements of for individual Cryoscope traces using different detuning. (b) and (c) Zoom of the reconstructed signal (normalized to the mean flux). The dotted curves denote the deviations of 0.1%. (d) SNR at various time scales and detunings.
We define a signal-to-noise ratio to quantify the influence of dephasing and the precession rate on Cryoscope sensitivity,
We define as signal the mean amplitude of the optimally corrected, reconstructed flux , and as noise the standard deviation The SNR is experimentally determined for several time windows and amplitudes of the rectangular flux pulse [Fig. 3(d)]. We perform 10 Cryoscope experiments for every data point to extract and in the relevant time interval. In the window, SNR increases quadratically with pulse amplitude, indicating that detuning increases, while the qubit coherence is not affected on this short time scale. In contrast, the increase in SNR is slower for the other time windows. In particular, for the window, the SNR reaches a maximum for pulse amplitude . The maximum indicates the configuration in which the benefit of the increased precession rate balances out the drawback of the reduced qubit coherence (due to increased sensitivity to flux noise).
The SNR is also affected by acquisition and processing parameters. The former is the precision with which the qubit state can be determined, which depends on the number of averages and the readout fidelity. The latter is a matter of applied data filtering and can be adjusted depending on the temporal resolution demanded.
All these factors can be combined in a model yielding
where t is the time of reconstruction, c accounts for the sampling noise and filtering effects in data processing, is a sweetspot dephasing rate, quantifies the power of flux noise, and the qubit detuning from the sweetspot is . The interplay between quadratic and exponential terms in represents the trade-off between improved sensitivity to the shape of the flux pulse vs reduced signal visibility due to dephasing. The prefactor c can be increased by averaging more or alternatively improving the readout fidelity. We fix values of a and based on independent measurements and perform a fit of the two-parameter model (c and ), finding a good agreement with the data [Fig. 3(d)].
In conclusion, we have demonstrated a method capable of sampling on-chip flux pulses by exploiting the nonlinear flux dependence of transmon frequency. This characterization method is straightforward to use and generalizable to any qubit system with baseband control of the qubit frequency and a sweetspot with respect to the control variable. Furthermore, we have demonstrated the capability to correct distortions as demonstrated by a reconstructed step response accurate to . The identified corrections were applied in real-time, making the correction method compatible with an instruction-based control architecture.16,17 Cryoscope has already been used to tune-up fast, high-fidelity, and low-leakage CZ gates for a QEC experiment11,20 and parametrized iSWAP interactions in a variational quantum eigensolver.19,23
See the supplementary material for the experimental details and derivations supporting claims made in the main text. First, we describe the experimental setup. We next discuss technical details of Cryoscope. The third section details a simple model for the signal-to-noise ratio of Cryoscope. Next, we provide the details on the hardware implementations of the FIR and IIR filters used to correct distortions in real-time. Finally, we provide experimental data demonstrating the ability to use Cryoscope to reconstruct an arbitrary signal.
This research was supported by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA), via the U.S. Army Research Office Grant No. W911NF-16-1-0071, by Intel Corporation, and by the ERC Synergy Grant QC-lab. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the ODNI, IARPA, or the U.S. Government.