기본 정보
- 저자
- DOI
- 10.1038/s41467-024-51161-8
- 저널
- Nature Communications
- 발행년도
- 2024
- 발행기관
- Nature Portfolio
- 피인용수
- 18
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s41467-024-51161-8
- 토픽
- Semiconductor Quantum Structures and Devices
- OpenAlex ID
- W4402061478
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 55,194자
본문 펼치기
섹션 본문 127문단 · 107,333자
(제목 없음)
1Quantum reservoir computing (QRC) has been proposed as a paradigm for performing machine learning with quantum processors where the training is efficient in the number of required runs of the quantum processor and takes place in the classical domain, avoiding the issue of barren plateaus in parameterized-circuit quantum neural networks.It is natural to consider using a quantum processor based on superconducting circuits to classify microwave signals that are analog-continuous in time.However, while theoretical proposals of analog QRC exist, to date QRC has been implemented using circuit-model quantum systems-imposing a discretization of the incoming signal in time, with each time point input by executing a gate operation.In this paper we show how a quantum superconducting circuit comprising an oscillator coupled to a qubit can be used as an analog quantum reservoir for a variety of classification tasks, achieving high accuracy on all of them.Our quantum system was operated without artificially discretizing the input data, directly taking in microwave signals.Our work does not attempt to address the question of whether QRCs could provide a quantum computational advantage in classifying pre-recorded classical signals.However, beyond illustrating that sophisticated tasks can be performed with a modest-size quantum system and inexpensive training, our work opens up the possibility of achieving a different kind of advantage than a purely computational advantage: superconducting circuits can act as extremely sensitive detectors of microwave photons; our work demonstrates processing of ultra-low-power microwave signals in our superconducting circuit, and by combining sensitive detection with QRC processing within the same system, one could achieve a quantum sensing-computational advantage, i.e., an advantage in the overall analysis of microwave signals comprising just a few photons.
Introduction
2Over the last decade, researchers in quantum information processing have broadly divided their efforts into two distinct but complementary directions.In one, the focus has been on realizing the building blocks for large-scale, fault-tolerant quantum processors [1][2][3], which would enable running algorithms such as Shor's or Grover's at meaningful scale.In the other, there has been a push to realize quantum systems comprising tens to hundreds of qubits or qumodes, but without error correction, and to explore what can be done with such noisy, pre-faulttolerance systems-often denoted as noisy, intermediate-scale, quantum (NISQ) devices [4].Quantum computational supremacy with such NISQ devices has been demonstrated [5,6], but there has been much less progress on achieving quantum advantage in practically relevant applications [7].There have been many NISQ studies on quantum machine learning [8], and in this area too, quantum advantage for problems of broad practical interest has remained elusive [9,10].A key challenge in quantum neural networks realized with parameterized quantum circuits has been training the parameters when the optimization landscape suffers from barren plateaus [11][12][13][14].A major open question is whether one can achieve any practically relevant advantage for machine learning with NISQ systems.
3Inspired by the framework of reservoir computing [15][16][17][18] in classical machine learning, quantum reservoir computing (QRC) [19][20][21][22][23][24] has emerged as an approach to quantum machine learning that entirely avoids barren plateaus by performing all learning in a final, linear layer.They key idea of a QRC is that a quantum system (called a quantum reservoir ) can generate nonlinear, high-dimensional features of inputs to it, and that these features can be used to perform machine-learning tasks purely by training a classical linear transformation.However, experimental demonstrations to date have been performed with digital quantum circuits [25][26][27][28][29][30][31] that have limited the complexity of tasks that can be performed, in part due to an input bottleneck imposed by the use of discrete gates to input temporal data using a series of separate, imperfect gates.Fig. 1 Analog signal classification with a continuous-variable quantum reservoir computer (QRC) using measurement trajectories.(a.)We perform machine learning using a quantum system consisting of an oscillator coupled to a qubit.Analog signals are fed into our analog quantum dynamical system, continually displacing the oscillator mode while the qubit is projectively measured.The measurement trajectories provide complex features a digital linear layer can use to perform classification on a variety of tasks.(b.)The signals interface directly with the qubit-oscillator system, composed of a 3D aluminum cavity (blue) hosting a transmon qubit (red) and a readout resonator (omitted for clarity; see Appendix A). (c.) Wigner tomography performed on the oscillator state through various stages of the reservoir dynamics.The dynamics include entanglementgenerating unitary evolution, and projective measurements of both the qubit and oscillator.The back-action produced by the measurements add to the non-classical features generated by the entangling unitaries.The balance of measurements and unitaries, which do not commute with each other in our implementation, lead to complex correlations in the measurement trajectories.(d.)The digital linear layer performs classification based on a feature vector, which we construct using the expectation values of the central moments µp (p = 1, 2, 3, . ..), which capture the essential correlations in the reservoir dynamics.
4The aim of our work is to demonstrate a proof-of-principle for a new application of and approach to quantum machine learning with NISQ devices that overcomes or sidesteps the challenges in training and inputs noted above.We use the driven, continuous-time analog quantum nonlinear dynamics of a superconducting microwave circuit as a quantum reservoir to generate features for classifying weak, analog microwave signals (Fig. 1a).We use repeated measurements of the reservoir both to extract features that contain information about temporal correlations in the input data, as well as to induce non-unitary dynamics.Our use of a continuous-variable system in our quantum reservoir grants us access to a substantially larger Hilbert space than would be the case with a qubit-only system with equally many hardware components.Our approach is similar to proposals for analog NISQ processors and simulators [32][33][34], which aim to avoid the overhead caused by imposing a discrete-time abstraction.Analog operation grants us an even more important ability however, which fundamentally distinguishes our work from prior experimental demonstrations of quantum machine learning on circuit-model quantum processors: it allows our device to directly, natively receive weak analog microwave signals, and to immediately leverage analog quantum information processing to extract relevant features of the signals for classification.
5Rather than focusing on using NISQ hardware to perform computation on pre-recorded, digital data, we instead use quantum hardware to perform computation on real-time analog signals that interface directly with our microwave superconducting device.Our experiments do not address the question of whether a QRC can achieve a quantum computational advantage, since our experimental device is small enough to be easily classically simulable.However, our demonstrations suggest a route to achieving a quantum advantage of a different kind: an advantage in the quantum detection and processing of weak microwave signals, allowing quantum hardware to extract complex information of interest from dim, analog signals in ways that would be noisier with a conventional classical approach.This type of quantum advantage, arising from a combination of quantum sensing with extraction of complex features about the sensed signal, is discussed in general terms as a route to quantum advantage with quantum machine learning in Ref. [10].Our work shows that when classical signals comprising just a few photons have entered an analog quantum reservoir, they can be classified using our QRC approach.The signals we classify are synthesized at room temperature and pass through 60 dB of attenuation before reaching our device.However, if instead one combines this analog quantum processing with a sensitive quantum detector of microwave radiation, as has already been previously demonstrated using superconducting circuits [35][36][37][38][39], then one can construct a system that achieves a quantum advantage in the task of combined sensing and signal processing of high temperature signals.
Experimental setup and protocols
6Our quantum reservoir, composed of a cavity resonator coupled to a transmon (Fig. 1b), can be modeled with the following qubit-oscillator Hamiltonian in the rotating-frame, H/ℏ = −χ|e⟩⟨e|a † a + ϵ(t)a † + Ω(t)|e⟩⟨g| + H.c., (1) where |g⟩ and |e⟩ define the qubit subspace of the transmon, a is the photon annihilation operator of the oscillator mode, and χ is the nonlinear interaction strength (see Appendix B for details).The third term of Eq. 1 describes the unitary control of the qubit with a time-dependent drive Ω(t), and the second term describes both the encoding of the input data ϵ in (t), and unitary control of the oscillator mode, i.e., ϵ(t) = ϵ in (t) + ϵ control (t).Equation 1 describes the unitary dynamics, which is complemented by non-unitary dynamics generated by the back-action from qubit measurements interspersed throughout the evolution.The oscillator and qubit control drives used in this paper realize a reservoir that consists of a series of entangling unitaries interleaved with qubit and oscillator measurements (Fig. 1c).The analog input is sent resonantly to the cavity and results in a time varying conditional displacement of the oscillator, which streams in concurrently with control drives.The cavity resonator hosting the oscillator mode has a resonance frequency of 6 GHz and a 2-kHz linewidth.The combination of the input and control drives implement a unitary that encodes the input into the state of the oscillator and generates entanglement between the qubit and the oscillator.Following the unitary evolution, we perform a qubit measurement, and then a parity measurement of the oscillator state [40,41] (see Appendix C).The parity measurement projects the oscillator state into super-positions of either even or odd Fock states, a highly non-Gaussian measurement allowing one to sense changes in the photon-number distribution.Additionally, the entangling dynamics between the measurements effectively implement a sequence of non-commuting measurements (see Appendix B), generating correlated measurement distributions that can then be used as complex output features.Finally, after four rounds of applying the unitary and the qubit-oscillator measurements, we reset the system before repeating the scheme so that we may collect many samples of the measurement trajectory.The reset, which occurs at a rate much faster than the decoherence rate of the oscillator, additionally ensures that our system remains coherent.
7The measurement outcomes are used to construct output feature vectors to be fed into the linear layer, but this can be done in a few different ways.When performing repeated measurements on our system, we generate a sample bitstring of length M describing the quantum trajectory over M measurements.After M measurements are performed, we reset the system and repeat the procedure, each time generating a bitstring ⃗ x n = [x n0 , x n1 , . . ., x nM −1 ], a. c.
Time between projective measurements
8Oscillator Qubit = Linear classifier accuracy Fig. 2 Reservoir protocol overview with an example time-independent classification task (a) The unitary dynamics in our reservoir are generated by control pulses that serve to entangle the qubit with the oscillator before the analog input is received by the oscillator.For tasks where the analog data is time-independent, the dynamics are fully gate-based, and the oscillator is dis-entangled with the qubit before the qubit and oscillator measurements.For details of the motivation behind the particular unitaries implemented for our reservoir, see Appendix B. (b) (Inset) An illustrative machine learning example is the classification of time-independent signals from two arms of a Spiral distribution defined in the signal I − Q plane.For quantum machine learning, unlike classical, the performance is unavoidably impacted by sampling noise.Here, we plot the classification accuracy of the spiral task against an increasing number of shots.Also plotted is the performance of a linear layer acting directly on the two-dimensional I, Q data, indicating that non-linearity is required to perform this task with sufficient accuracy.(c) Classification accuracy at 10 4 shots as a function of qubit coherence time that we tune via resonator-induced dephasing during the classification (see Appendix C).While we see a large drop in classification performance when the qubit coherence time is heavily suppressed and the system is completely disentangled, the performance only begins to suffer once the qubit T 2 approaches the duration between measurements.
9where n refers to the nth sample (Fig. 1c).The outcomes can be counted to directly form a sample probability distribution p(⃗ x|ϵ in (t)) over measurement trajectories, which can then be used as a high-dimensional output feature vector after obtaining a sufficient number of samples N .While this approach has the benefit of capturing all information in the measurement distribution [31], it can generally suffer from poor scaling in sampling noise, requiring N ∼ 2 M shots in the worst case [42].
10Here, we construct an output feature vector from estimates of successive central moments µ 1 , µ 2 , µ 3 , . . . of the underlying distribution p(⃗ x|ϵ in (t)) (Fig. 1d).For example, the first-order central moment µ 1 is a M -dimensional vector representing the average over all measured bitstrings, i.e. µ 1 = [⟨x n0 ⟩, ⟨x n1 ⟩, . ..], the second-order central moment µ 2 is the covariance matrix with elements (µ 2 ) ij = ⟨x ni x nj ⟩ − ⟨x ni ⟩⟨x nj ⟩, and so on.Here, the expectation value is taken over the sample index n.This approach, inspired by Ref. [17], has the benefit of leveraging the hierarchy of noise in the central moments, while capturing the essential correlations in the dynamics to achieve high accuracy even in the few-sample regime.Furthermore, the output feature vector dimension only scales polynomially with the number of measurements, where the highest polynomial power is given by the order of the highest central moment, which we restrict to 3 for all tasks in this work.Finally, given finite memory in our reservoir, we further restrict the output vector by choosing to only calculate correlations between measurements at most 3 measurements apart.These truncated moments are then flattened and concatenated to construct our output feature vectors.In all, for the M = 8 measurements we use in this work, the resultant output feature vector size with this prescription is 94.For a detailed discussion of the construction of our reservoir output features with comparisons of different encodings, see Appendix D.
Classification of time-independent signals
11To illustrate the scheme proposed in this work, we begin with an example classification using our quantum reservoir by performing binary classification task of time-independent signals.Figure 2a describes the control drives in more detail.For time-independent input data, the two-dimensional input data is encoded as the I and Q quadratures of an analog signal resonant with the cavity resonance frequency.In the rotating frame of the system (Eq.1), this is effectively a time-independent signal, i.e. ϵ in (t) = ϵ in = I + Q, which results in a displacement of the oscillator state.For such time-independent tasks, the signal bandwidth is set by its duration which, in general, can make the resultant displacement conditioned on the qubit state due to the cross-Kerr interaction (see first term of Eq. 1).
12The unitary encoding the input displacement is complimented by control drives that entangle the qubit and oscillator via conditional displacements [43] and qubit rotations (Fig. 2a).The entangling conditional displacements are applied before and after the unknown input is fed into the system, and the qubit is rotated by π or π/2 pulses before, during, and after the input.Due to the qubit-state-dependent shift of the oscillator frequency by −χ, these qubit rotations serve to make the oscillator sensitive to the input signal independent of the state of the qubit at the start of each round of input.Additionally, when combined with conditional displacements on the oscillator, the control and input scheme impart a geometric area enclosed by the oscillator trajectory onto the qubit, such that the phase of an unknown time-independent input signal can be extracted via a qubit measurement (see Appendix B for details of this unitary).In Appendix G, we show the ability of the set of unitaries implemented here to be able to approximate any scalar function of the input signal when the signal is time-independent.For all results presented, we implement our reservoir unitary with these control drives across all tasks, with 4 applications of the unitary interleaved with qubit and oscillator-parity measurements.
13The binary classification task we perform here is: Two distributions of time-independent signals, completely characterized by the signal's in-phase (I) and quadrature (Q) components, are distributed along two separate "arms of a spiral" in the I − Q plane (Fig. 2b).Given a displacement described by the points I and Q sampled from either signal distribution, one must figure out which distribution the signal came from.The maximum amplitude of the input signal distribution max(|ϵ in |) (i.e. the points in the spiral arms furthest away from the origin in Fig. 2b) was chosen such that the amount of displacement of the oscillator state initialized in vacuum would result in a coherent state with n = 0.3 photons per round of input (∼ 1 µs).This input amplitude was needed in order to perform the classification with sufficient accuracy in a reasonable amount of shots.Our QRC solved the spiral classification task with > 97% accuracy at 10 3 shots (Fig. 2b).This simple task has the feature that, if one feeds in the inputs directly into a linear layer, the classification accuracy would reach no more than 67%-just above the random guessing accuracy of 50%.As a point of comparison with non-linear digital reservoirs, we found that a 64-dimensional, twolayer digital reservoir was needed to achieve the same performance as our quantum reservoir for this task (see Appendix H for details of this comparison).
14To probe the role of quantum coherence in our reservoir, we performed the same classification task, but with reduced coherence time in the qubit during the reservoir execution (Fig. 2c).This was achieved by populating the lossy readout resonator with photons that send the qubit to the center of the Bloch-sphere when the readout resonator is traced out (see Appendix C).With T 2 → 0, we effectively removed all entanglement with the oscillator, and observed two things: a dramatic reduction in classification performance, and importantly, T 2 only began affecting the performance once it was on the order of the reservoir duration, after which the qubit is projected to a pure state.
Classification of radio-frequency (RF) communication modulation schemes
15Next, to highlight the ability to perform classification of higher dimensional data, we classified time-dependent radiofrequency (RF) signals.The microwave signals in this dataset encode digital information using one of 10 different digital modulation schemes, a standard benchmark task in RF machine learning [44,45].Digital modulation schemes encode binary information in discrete 'symbols' encoding in sequential time-bins.For example, Binary Phase-Shift Keying (BPSK) encodes binary data in discrete phase jumps of a signal, such that a symbol 0 (1) maps to a phase flip of 0 (π).Other modulation schemes can encode more bits per symbol.BPSK and other encodings can be represented in a constellation diagram (Fig. 3a), which denotes the potential (I, Q) values a signal can take for each symbol.A given string of digital data can then be encoded in a time-domain signal by sequentially choosing points in the constellation diagram with a given symbol rate.For typical WiFi signals this is around 250 kHz per subchannel [46].For this task, we generated RF signals by encoding random digital strings into the 10 different modulation schemes with a fixed symbol rate of around 2 symbols per µs, or with a sampling rate of 2 MSps.The duration of these signals typically lasts much longer than the reset period of our system.Importantly, we did not repeat the same signal to artificially reduce the sampling noise associated with each input data, as this would not typically be applicable in a real-world setting.Instead, the measurement statistics were generated by sampling the signal in real time.Consequently, what we refer to as 'shots' in a real-time task does not correspond to identical repetitions of the experiment, but instead, is the number of resets we performed while acquiring the signal, which changed from shot to shot.In effect, each different encoding scheme produces a unique "fingerprint" distribution over measurement outcomes, and the goal of the linear layer is to separate these distributions with as high accuracy as possible.
16Figure 3c shows the accuracy in classifying digitally modulated RF signals with increasing number of shots, compared with the performance of a linear classifier.We note that in less than a millisecond, or with less than 2000 symbols, the reservoir was able to classify which of the 10 classes a given signal belongs to with > 90% accuracy when using 8 qubit-oscillator measurements.A linear classifier can only achieve 20% classification accuracy for this task, even with infinite symbols.The confusion matrix between the different classes at 32, 512, and 10 4 shots is displayed in Fig 3d, the latter two of which are nearly diagonal.
Classification of filtered noise
17Finally, to demonstrate the performance of our QRC on continuous-time data 1 , and with a task that requires both long-term and short-term memory in the quantum reservoir, we performed the following classification task: input data assumed to have come from a source of white noise is filtered using a moving-average filter having one of three filter shapes (Gaussian, Lorentzian and inverse-power-law), and one of two window widths (50 ns and 600 ns), and the task is to identify both the filter shape and window width (Fig. 4a).The resultant dataset consisting of six classes of noisy signals was designed to probe the ability of our QRC to process high dimensional data with bandwidths larger than the cavity linewidth.Additionally, this task allowed us to probe the memory of our QRC and its ability to be sensitive to fluctuations in time, a key feature that enable temporal signal processing in QRCs [47,48].The filter functions were normalized so that the photon-number distributions generated by the time-dependent displacements are identical up to the filter width.This normalization was applied to ensure that the task is not trivially solvable by just measuring the mean photon number (see Appendix E).Because all the signals used in this dataset are noise with zero mean, a linear classifier would do no better than random guessing.By contrast, Figure 4b visually shows (using Singular Value Decomposition (SVD) on the output feature space) that the quantum reservoir was able to peel apart the different noise distributions.On the task of classifying over six different sources of noise, we achieved 93% accuracy (Fig. 4c) in only 2000 shots.As seen in the confusion matrix in Fig. 4d, the primary confusion at 2000 shots was distinguishing between the 50-ns inversepower-law noise class and the 600-ns Gaussian noise class, as expected from the overlap in the SVD of the feature space.
18Finally, we compared the ability of our reservoir to understand long vs short correlations in input signals.For this, we deconstructed the 6-class classification task into two classification subtasks, where in each subtask, the QRC learned to distinguish noisy signals generated from among three different filter window types, but with fixed window widths.The two subtasks differ by the filter window width (see Fig. 4d and e).The class of signals with coherence length of 50 ns highlights the convenience of our input encoding scheme, i.e. feeding signals directly into the oscillator mode without the need to sample the signal discretely in time.Additionally, the ability for our quantum reservoir to distinguish between signals with correlation times on the order of 50 ns demonstrates the sensitivity to signals which vary on time-scales much faster than the measurement rate.In contrast, classification of the class of signals with coherence lengths of 600 ns requires correlations of the reservoir dynamics beyond that of the measurement rate.To highlight the advantage of our scheme, we simulated the performance of a reservoir with that of a recent gate-based protocol where the input was sampled discretely in time [29].Our simulation results, in Appendix F, highlight the advantage of our protocol when the sampling rate of the input is slow, which can arise in experiment such as finite pulse durations and latency introduced by the FPGA classical comparison.
19Figure 4e looks at the participation of the different moments µ k of the measurements in the classification accuracy of the 50-ns subtask (top), and the 600-ns subtask (bottom).Here, the output features were constructed by the mean µ 1 , or the off-diagonal elements of the moments µ 2 and µ 3 as a function of the distance between measurements d H , allowing us to probe the contribution of the moments as a function of the locality of the correlations.For the 50-ns subtask, we see that the most important contribution is the mean, with the second-order moment being the next-most important contribution, and the third-order moment being relatively unimportant.In stark contrast, the third-order moment is most important for the 600-ns subtask, surprisingly yielding nearly 90% classification accuracy using non-local third-order correlations alone.The ability to distinguish stochastic signals among the combined six classes demonstrates the ability of our reservoir to capture both slow and fast features of microwave signals.
Discussion
20In summary, we have experimentally realized an analog quantum reservoir computer (QRC) and demonstrated its ability to directly process microwave analog input signals without discretization, achieving high classification accuracy on three different tasks.Previous demonstrations of quantum reservoir computing have used multi-qubit, gate-based quantum reservoirs [25][26][27][28][29][30][31].In contrast, we perform machine learning directly on analog signals fed into a single oscillator coupled to a transmon qubit.The superconducting-circuits platform not only allows us to leverage projective non-demolition (QND) non-Gaussian measurements to generate correlated output features, but is also well-matched to process microwave signals that can generally be continuous in time.In addition to demonstrating accurate classification of microwave signals in our experiments, we also performed a direct comparison with a state-of-the-art discrete-time, gate-based QRC approach in simulation, and found that a continuous-time reservoir outperforms a discrete-time reservoir when the input signals contain temporal variations fast relative to the discretization time (see Appendix F).
21For any quantum neural network, including QRC approaches, a central concern is to what extent one can achieve high accuracy on a particular task without needing an impractical number of shots [42].Ref. [31] recently reported that certain functions-termed eigentasks-can be constructed with low error from quantum reservoirs even when the number of shots is modest, giving evidence that for some tasks, sampling noise need not be overwhelming.In our experiments, we found that it was possible to achieve high accuracy for all the tasks we attempted while needing only 10 3 -10 4 shots (depending on the task).There is important future work to be done in exploring the trade-offs between reservoir size (e.g., number of oscillators or qubits), number of measurements M between reservoir resets, feature-vector dimension (dependent both on M and the choice of order of correlators to include), and number of shots required for both training and inference.
22With improved quantum hardware, we anticipate that it will be possible to carry out even more sophisticated tasks than what we have already demonstrated.Increasing the coherence time of the oscillator would enable us to perform many more measurements (the qubit's coherence time is, favorably, less important in our scheme because our protocol involves repeatedly projectively measuring the qubit).While we analytically showed in Appendix G the ability of our QRC to be able to approximate any scalar function of the input signal when the signal is timeindependent, provided the number of measurements M performed is large enough, there remains the open theoretical question of the expressiveness of the QRC when the input signal is time-dependent.Generalizing our approach to spatial in addition to temporal inputs, as was explored in Ref. [24], would likely support more sophisticated computations.In Appendix F, we explore such extensions in simulations and find a marked improvement in classification accuracy.
23It is an open question if QRC-using the type of reservoir we considered in this paper, or any other-can, when implemented with NISQ hardware, achieve a quantum computational advantage over the best classical machine learning approaches, just as it is unclear if any quantum-machine-learning method can [10].We did not investigate the potential for purely computational quantum advantage: our quantum reservoir is small enough to be easily classically simulable.However, our work opens up the possibility to experimentally achieve a different type of quantum advantage than a purely computational one.If one performs quantum processing on data obtained by a quantum sensor, there is the potential for an advantage that is a hybrid of being due to the advantage of quantum sensing and of quantum computing [10].Our work suggests the feasibility of concretely realizing this kind of hybrid quantum sensing-computational advantage, where the quantum sensor is a superconducting circuit that can detect classical microwave radiation with high quantum efficiency and low noise [35][36][37][38].While the signals classified in this work originate at room temperature and are highly attenuated before reaching the device, our experiments have shown that it is possible to accurately classify signals using a superconducting circuit even when there are only a few photons of signal in the superconducting circuit within any single run.Combining this with a sensitive quantum detector could lead to quantum smart sensors-quantum versions of classical in-sensor processors [49]-that can reliably extract information from weak microwave signals in a way that exceeds the accuracy of any equivalent classical system.
24Note added : During the final stages of our work, we became aware of a related effort, Ref. [50], and we coordinated to release our papers simultaneously.Ref. [50] introduces a protocol for quantum reservoir computing with temporal data.Similar with theirs, our approach also uses mid-circuit measurements.We experimentally realized our reservoir with an analog quantum system, in contrast to their implementation, which was with a discrete-time, gate-based quantum system.
Reservoir unitary
25To design a good reservoir computer capable of performing machine learning on a variety of tasks, one needs to implement control drives that can efficiently capture important information of the input and perform a non-trivial and non-linear map to output features.Here, our reservoir is composed of alternating unitaries and measurements.The design of the former is motivated to harness the quantum properties of the dynamical system to generate entanglement and the design of the latter to generate non-linear operations on the state of our reservoir via measurement back-action.Here we summarize the control drives and measurements we use and their effect on the reservoir dynamics, both in the context of time-dependent and time-independent signals.
26For time-independent signals, the unitary implemented in our reservoir (see Fig. 2b) can be approximated by the following set of unitaries (see Appendix B)
27(2)
28This combination of unitaries encloses a loop in the oscillator's phase space.The area of this closed loop, which depends on the phase of the unknown displacement β, imparts a geometric phase onto the qubit.In this work, we perform this unitary directly after a qubit measurement without reset.The action of the combined unitary on the qubit prepared in the ground or excited state, and for an arbitrary oscillator state, is
29where A = 2|α||β| sin(δ) = i(αβ * − α * β) is the geometric phase enclosed by the oscillator trajectory, and dependent on the phase difference δ between a known displacement α, and the unknown displacement β.The probability of measuring the qubit in the excited state given it started out in the ground state, P e|g , and the probability of measuring excited given the qubit start in the excited state, P e|e are given by
30The equation relates the qubit probability to the phase of the input displacement, which is otherwise challenging to extract in a setup with only qubit measurements.
31For general time-dependent signals, the closed loop formed by Eqs.2-8 is broken, and the system is entangled before the measurement.While this can be hard to study analytically in the general case, we take a look at a special case of time-dependent signals, namely those of Fig. 3. Here, the signal is time-dependent up to half the duration, so that the signal is effectively two time-independent signals combined.As a result, Eqs. 4 and 6 are no longer equal, but each still a time-independent displacement, and thus, the effects of the cross-Kerr, as discussed in Appendix B, do not hinder the interpretation of the effective gate-based model.For such input signals, the state of the system just before measurement is
32where β i is the displacement just before the qubit flip (corresponding to Eq. 4 for this time-dependent set of tasks), and β j is the displacement after (Eq.6).A i = αβ i is the phase acquired after two non-orthogonal displacements.
33When β i = β j we recover the dynamics for time-independent signals.
Repeated measurements
34The unitaries described above are followed by a qubit measurement, then a parity measurement.For timeindependent signals, the qubit and oscillator are disentangled at the end of the unitary, and the effect of the unitary on the oscillator is just a displacement.Thus we can ignore any affects of the qubit measurement on the oscillator.The state of the oscillator after M repeated measurements and M time-independent displacements can be effectively described as |cavity⟩ = . . .
35where P xn is the projector of the nth parity measurement Π with measurement outcomes x n = {+, −}.In Appendix G, we show that by sampling the parity measurements alone combined with the linear layer, we can realize (but not limited to) the following vector space of funtions:
36Output feature encoding & the linear layer
37In reservoir computing, the outputs of a reservoir, called feature vectors, are sent to a trained linear layer.Here, we briefly outline the motivation and construction of the feature vectors and the training algorithms used in this manuscript.
38In general, sampling over all possible measurement trajectory outcomes and generating a probability distribution contains all the information one can extract from a quantum system.However, not all the information plays an equal role for finite samples.Thus, for our work here, we use a physically motivated output feature vector that efficiently captures the relevant information for a linear layer.The output feature vectors for our reservoir are generated from computed correlations of measurement outcomes.The p-th order correlations are characterized by the p-th central moment µ p of the underlying distribution of measurement trajectories.The elements of µ p are
39where x in is the nth repeated measurement outcome of observable x i for a total of N shots repetitions, and ⟨. ..⟩ is the expectation value taken over repetitions.For the results presented in the main text, we use only up to thirdorder correlations.Additionally, due to the finite memory present in our reservoir, we only keep correlations between nearest, next-nearest, and next-next-nearest measurements.See Appendix D for details and motivation behind this choice.
40For machine learning with reservoir computing, the only component of the reservoir that is trained is a linear layer applied to the above feature vectors.The linear layer is an R × C matrix W train and applied to the R-dimensional feature vector x, and biased with a C-dimensional vector v train :
41Here C is equal to the number of classes in the data set.The largest elements of y corresponds to the class that the reservoir predicts the given input data point x belongs to.To train the weight matrix W train , we either use a pseudo-inverse method to minimize the mean squared error (MSE) between W train x and y, or backpropagation to minimize the MSE after a softmax function.Both methods are described in more detail in Appendix D. In the main manuscript, we present results for whichever performed the best.The device used in this paper consists of an oscillator, a 3D stub post cavity made from high-purity 4N Aluminum treated with an acid etch, and a transmon qubit.The transmon, made of Niobium, is fabricated on a resistive silicon chip, along with an on-chip readout resonator also made of Niobium.The single chip hosting the transmon and the readout resonator is mounted in the 3D cavity package using copper clamps.The cavity and the copper clamp contain copper films for thermalization directly to gold-plated copper breadboard at the mixing chamber plate of the dilution refrigerator (Fig. S2).The device is shielded with Copper coated with Berkeley Black, and two types of magnetic shields: Aluminum, and Cryoperm (Fig. S1).The cavity pin is set such that the oscillator mode is undercoupled to the transmission line by a factor of 40.While this reduces the transmission of photons incident on our device by a factor of 40, it keeps the oscillator state thermalized to the fridge rather than the transmission line.The control pulses for the qubit and the storage are synthesized using Zurich Instruments (ZI) HDAWG, which have a baseband bandwidth of 1 GHz.These are upconverted using Rohde & Schwarz SGS100A, which are signal generators with built-in IQ mixers.These built-in mixers are used for all frequency conversions with the exception of the readout.The readout pulses are synthesized and digitized using ZI UHFQA, and are up-converted and downconverted using Marki mixers (MMIQ-0416LSM-2), with a split LO from a single SGS100A.Readout signals are first amplified with a traveling-wave Josephson Amplifier (TWPA), which is a quantum-limited amplifier.The TWPA typically requires large pump tones, so we gate it with a trigger line from the readout AWG which combines with the CW pump tone in an IQ mixer (as a makeshift fast switch).The readout signals are then further amplified with a High-electron mobility transistor (HEMT) ampliflier at the 4K stage, and again amplified with a room temperature amplifier (ZVA-1W-103+ from Mini-Circuits) and filtered.The digitizer on the ZI UHFQA converts to the analog response to a digital signal and integrates it to produce a binary outcome depending on the qubit state.
Appendix Contents
42For the experiments that intentionally suppress the qubit T 2 via resonator induced dephasing via pumping of the readout resonator, we use an additional ZI HDAWG channel that combines with the AWG of the ZI UHFQUA.This was mostly a choice out of convenience, as the AWG of the ZI UHFQUA has limitations that made characterizations tricky.
Hamiltonian description
43Our transmon-cavity system is well approximated by the Hamiltonian [1]:
44where a is the annihilation operator for the oscillator mode, and q is the annihilation operator for the qubit mode, ω a and ω q are the frequencies of the oscillator and qubit mode respectively, χ and χ ′ are the dispersive shift and the oscillator state-dependent dispersive shift respectively, K and K q are the self-Kerr of the oscillator and the transmon anharmonicity respectively.The values for these parameters, as well as values for decay rates, are listed in Table S1.The last two terms describe the qubit and oscillator drives in the lab frame.The lab-frame drives are related to the rotating-frame drives in Eq. 1 via Ξ(t) = Ω(t)e iωqt + H.c. and ξ(t) = ϵ(t)e iωat + H.c..For the design of our drives, we ignore the self-Kerr of the oscillator as well as the higher-order cross-Kerr.We note that these are indeed present, but for the purposes of a quantum reservoir, only add to the complexity of the dynamics.Finally, moving to the rotating frame of the transmon and oscillator mode and truncating to the first two levels of the transmon, we arrive at the Hamiltonian in Eq. 1.
Reservoir description for time-independent signals
45The advantage of the reservoir computing paradigm is the flexibility in the choice of dynamics.However, simple design principles, motivated by the physics of the system, can go a long way in engineering a reservoir with high eq < 0.2% Table S1 System parameters and dissipation rates.System parameters were measured using various spectroscopic and time-domain techniques following methods in Ref. [2]. 3) and (4) For time independent inputs, the effective action can be described by a single displacement on the oscillator mode.
46In this experiment, we operate the displacement at a frequency which, to first order, causes a displacement only on the state conditioned on the ground state of the qubit.A qubit π pulses switches the state in between the two displacements.(5) The final conditional displacement brings the two conditioned states back onto each other.This effectively disentangles the qubit from the oscillator mode.(6) The effective geometrical area enclosed A, which is a function of the input, is imparted onto the qubit.
47expressive capacity on many tasks.In this section, we provide full details and motivations for the unitaries and measurements in this work, followed by sections outlining characterizations of the device in order to realize the intended dynamics.
48The reservoir drives consists of two categories of dynamics: the unitaries and the measurements.In what follows, we will first provide analysis of the dynamics for time-independent input (e.g. the signals in Fig. 2).As we will see, the unitary component of the dynamics implemented in this work strives to implement a cos 2 nonlinearity on the raw input, whereas the measurements generate non-classical features in the state and quantum correlations in the measurement trajectories via measurement backaction.
49While measuring the quadratures of some unknown signal is easy with a typical homodyne setup, performing the same measurement of a displacement on an oscillator using only qubit measurements can be non-trivial.Of course, when designing a reservoir, one does not strive to implement the identity, but it is a good starting point -the unitary is thus implemented to approximate the identity.It consists of the input signal data, which is sandwiched on either side by fast conditional displacement gates implemented with CNOD [3] and qubit rotation gates.The broad-overview of the decomposed unitary is given in terms of gates in Fig. S3, along with a schematic portrayal of the phase-space trajectory of the oscillator mode initialized in vacuum subject to a time-independent drive.We begin with an idealized gate-based version decomposition of our reservoir for time-independent input on resonance with the oscillator conditioned on the qubit being in the ground state.The sequence of gates the reservoir unitary approximates:
50Ignoring the very first unitary, after applying the sequence of unitaries U 2 through U 7 , we arrive at unitary
51be some arbitrary initialized state.Then for θ = π/2, we have
52where A = 2|α||β| sin(δ) = i(αβ * − α * β) is the geometric phase enclosed by the oscillator trajectory which is dependent on the phase difference δ between the known displacement D(α), and the unknown displacement D(β) (Fig S3b).Thus, for the proper qubit state before the application of U 2 . . .U 7 , we are able to extract information about the phase of the displacement.We also note that the qubit and the oscillator are disentangled after the unitary, and that the effect of the unitary on the oscillator mode is a simple displacement.Finally, pre-pending U 1 (Eq.B2) to the string of unitaries guarantees that we initialize our qubit state with θ = π/2 when following a qubit measurement, independent of that measurement outcome.It also guarantees ϕ = π/2 or 3π/2 depending on the measurement outcome.The probability of measuring the qubit in the excited state conditioned on preparing it e vs g after the entire sequence is then:
53Thus, with this sequence of unitaries, we are able to extract the phase of some unknown displacement (relative to some known displacement α) by simply measuring the qubit.While for the first run of the reservoir, the qubit will start in the ground state (up to thermal noise), after performing a parity measurement, the qubit state will depend on the previous measurement outcome.See Fig. S7 for an experimental implementation of the above results.
54In principle, Eq.B12 enables us to perform the identity operation on the input x, y points followed by a cos 2 kernel.Without loss of generality, we take arg(α) = 0, then i(αβ * − α * β) = Im(β) = β x .Alternating between arg(α) = 0 and arg(α) = π/2 allows us to extract cos 2 ( ⃗ β) with two runs of the reservoir.Whereas all gates besides the input (Eqs.B4 and B6) are fast and therefore insensitive to the cross-Kerr interaction, the primary deviation from the gate description occurs for the input, which can be very long.This input displacement is conditioned on the qubit being in the ground state.Therefore, in the rotating from of the qubitoscillator system, the branch of the oscillator state conditioned on the qubit being in the excited state will rotate at a frequency χ, which in general will break the geometric phase construction that works for time-independent tasks.Therefore, we limit the exposure time of the reservoir to the input signal to be an integer multiple of 4π/χ, so that the oscillator state conditioned on the qubit being in the excited state will return to the same point.
55The unitary described in Eqs.B2-B8 is followed by a qubit measurement, then a parity measurement Π [4,12] with projectors P ± , where
56As mentioned above, the effect of the unitary on the oscillator state for time-independent signals is simply a displacement of the input data D(β), independent of the qubit measurement outcome.For the following discussion, we will ignore the qubit dynamics, since the qubit and the oscillator are disentangled at the end of the unitary.In effect, the state of the oscillator can be described by a series of alternating displacements and parity measurements: Equation B15 describes a series of projective measurements after preparing a displaced vaccum state.The projectors and their associated measurements are
57The measurements Π α describe parity measurements in displaced frame at α. Incidentally, the expectation value of this operator are proportional to the Wigner function at α [5].However, importantly, Eq.B15 does not describe performing Wigner tomography of the state D(kβ)|0⟩ = |kβ⟩ at points given by β, 2β, 3β, . .., as the effective measurements Π α do not commute for different values of α.Instead, in general [Π α , Π γ ] ̸ = 0. Therefore, in this light, our reservoir construction can be seen to leverage non-commuting measurements and quantum contexuality to generate conditional and correlated probabilities over measurement trajectories.
58Reservoir description for slow varying time-dependent signals Fig. S4 Schematic description of the dynamics of the oscillator, starting in vacuum, for a slow time-varying input In such a scenario (as is the case for the task of classifying radio modulation schemes), the signal causes a displacement largely conditioned on the ground state.Generally, the value of the displacement is different before and after the π pulse in between (3) and (4).Unlike the regime for time-independent signals, there is no effective area enclosed in phase space, which leaves the qubit entangled with the oscillator.( 6) and ( 7) describe the state of the oscillator after the qubit measurement.The resulting state of the oscillator is a cat state, where the parity of the cat dependent on whether the outcome of the qubit measurement is ground or excited.
59For generic, time-dependent signals, like those classified in Figs. 3 and 4 in the main text, the geometric unitary described by Eqs.B2-B8 does not in general hold, as the symmetry between panels 3 and 4 in Fig. S3 is broken.Additionally, the approximation that the input is displacement conditioned on the qubit in the ground state (Eq.B4 and B6) will not hold for high bandwidth signals, like those in Fig. 4 in the main text.For high-bandwidth signals, the input will also have some contribution in displacing oscillator conditioned on the qubit being in the excited state, which can lead to complex dynamics in the oscillator.While for generic signals, this can be hard to describe, here we prove a treatment of our reservoir construction for slowly-varying, time-dependent signals, like those in Fig. 3 of the main text.
60We can follow most of the derivation from the scenario of time independent signals in Appendix B, to describe the dynamics of the QRC for the task of classifying radio frequency modulation schemes.Along with the assumptions in the previous section, we make the slow-varying input approximation, such that the displacement on the oscillator of the reservoir is still effectively conditioned on the ground state of the qubit.The displacement on the oscillator depends on the value of the symbol encoded for the given modulation scheme.Since, in general, the symbol is different before and after the qubit π pulse: the direction of the displacement in the oscillator will be different.Given the timescales of the input signal involved, this essentially corresponds to a displacement on the oscillator conditioned on the ground state of the qubit.When the two displacements are different in magnitude and direction, the qubit remains entangled with the oscillator at the end of the reservoir unitary.The state of the system just before the measurements is (step (5) of Fig S4:
61where β i is the displacement before the qubit flip, and β j is the displacement after.A i = 2Im [αβ * i ] is the phase acquired after two non-orthogonal displacements.When β i = β j , we recover the dynamics for time independent signals.It is straightforward to show that the qubit will be disentangled from the oscillator and that the area A i , corresponding to the geometrical phase form the area enclosed in phase space will be present as a relative phase difference between the ground and excited state.After a Y π/2 gate, we have the following state in our system:
62One can think of this as a cat state in the cavity, with a parity determined by the qubit state.This is schematically shown in ( 6) and ( 7) in Fig S4 .In the limit of very different displacements, the probability of the qubit measurement is the same for both ground and excited states.The goal of this task can be thought of as discriminating probability distribution functions over the (I, Q) plane.Fig 3 (a) represents the so-called "constellation " diagram of the modulation schemes considered in this work.Each scheme can take discrete values in (I, Q) space, with even equal probability (we construct the dataset of radio signals encoding random binary strings).Our lack of knowledge of the exact displacement on the oscillator can be mathematically expressed as a density matrix.This is the most apparent in the state of the oscillator after the initial qubit measurement,
63where ρ ′ cavity is the density matrix representation of the cavity right after the qubit measurement and ρ cavity describes the initial density matrix before the application of the protocol.The set P describes the distribution of possible displacements which can be received from the input.p i is probability for receiving the symbol corresponding to a displacement β i For the task considered in this work, these distributions are uniform, with no contributions from conditional probabilities.However, this description of the reservoir motivates the potential for the QRC to distinguish signals with complex correlations in the symbols of the message encoded.
b. c.
64Fig. S5 Characterization of conditional displacements using an Anti-symmetric pulse from Ref. [3].(a.) Pulse control schematic of characterization of conditional displacement.Here, we make use of numbersplitting spectroscopy to characterize the state of the cavity after perform a conditional displacement on the state |+⟩|vacuum⟩ conditioned on the qubit state.By post-selecting on the qubit state, we can evaluate the effectiveness of the conditional displacement.(b.) Number splitting spectroscopy conditioned on measuring the qubit in the excited state.A single parameter fit is used to capture the behavior of the state of the cavity as a function of amplitude.From the good agreement, we conclude that conditioned on measuring the qubit in the excited state, the cavity is displaced.(c.) Number splitting spectroscopy conditioned on measuring the qubit in the ground state.We see very limited change in the cavity state when measuring the qubit in the ground state.
65is a conditional displacement, conditioned on the qubit being in the excited state.The motivation for using CNOD instead of a single tone displacement on resonance with the stark-shifted qubit frequency is that it enables the ability to perform conditional displacements at time scales much smaller than 2π/χ.Figure S5a displays the protocol for characterizing the anti-symmetric pulse.First, the qubit is unconditionally brought to the equator of the bloch sphere, with a wide-band X π/2 pulse.After this, the anti-symmetric pulse acts on the cavity, followed by an qubit measurement, collapsing the cavity state to either D(α)|0⟩ or |0⟩.After collapsing the state, we perform a number-splitting spectroscopy on the cavity.This is performed with a conditional Y π , conditioned on the kth cavity Fock state [6,7] followed by a second qubit measurement.By post-selecting on the first qubit measurement outcome, we can characterize the cavity state for each branch.Figure S5b and c show the number-splitting spectroscopy for the cavity state conditioned on the qubit being in the ground state vs excited, as a function of pulse amplitude.These curves are fitted with a single parameter scaling parameter that defines the relationship between pulse amplitude voltage and the amount of displacement α.
Reservoir unitary characterization
66With our rotation gates and CNOD's calibrated, we describe in this section the calibration of signal drives toward the implementation of Eqs.B2-B8.We begin with a calibrating the duration of time our reservoir is exposed to the input signal.As discussed in Appendix B, calibrating this delay is crucial for a faithful implementation of the geometric phase detection unitary introduced in this work.While it may seem that this restriction in the input signal duration is contrived in a real-world setting where the signal is unknown, this restriction would be implemented via a fast switch that exposes our device to the unknown signal periodicially.
67Figure S6a schematically describes the experimental protocol for calculating the delay between the two CNOD pulses.Here, we effectively try to undo a double conditional displacement via second double conditional displacement.Due to the dispersive shift, after the first conditional displacement, the state of the cavity conditioned on the excited state of the qubit will start rotating with respect to the state of the cavity conditioned on the ground state.After a period of 2π/χ, the this will return to the same position as the start.Undoing the displacement at this point in time will send the cavity state to vacuum.Figure S6b Here, a double conditional displacement is performed after sending the qubit to the equator of the Bloch sphere.After this, a variable delay is added before undoing that displacement.Finally, the qubit and the Fock distribution of the cavity is sampled using methods from Refs.[8,9].(b.) Overlapping histograms showing Fock distribution of cavity state conditioned on qubit state as a function of delay.(c.) Cavity state overlap with the vacuum state as a function of delay.At a particular value of the delay, the two displacements interfere and cancel each other out.
68function of the waiting time, and Fig. S6c shows the cavity state overlap with the vacuum state as a function of the waiting time.
69Next, we implement the full unitary given by Eqs.B2-B8, where the section corresponding to the input data displacement (Eqs.B4 and B6) is given by the duration found in the results above.For this calibration, we implement the full unitary given by the diagram in Fig. S3a by varying the angle of the input displacement and looking at the dependence.
70Figure S7a shows the schematic overview of the calibration procedure.The geometric phase unitary is parameterized by a long displacement, whose angle we sweep.After the unitary we perform a qubit measurement, followed by a parity measurement.This calibration experiment is essentially identical to the time-independent reservoir computing experiments in terms of the control protocol.Here, instead of sending data from different distributions for the system to classify, we only vary the phase and amplitude of some input displacement to get the phase dependence we want.
71Figure S7b shows the distribution of measurement outcomes from measuring the qubit and the oscillator parity after the unitary is applied with α = 1 and β = 0.25.As the angle of the input is swept, the qubit probability of the qubit being in found in the ground state shifts to being found in the excited state.This is more evident in Fig. S7c where we plot the probability of measuring the qubit in the excited state P e as a function of the phase of β for different amplitudes of β.In comparison we find great qualitative agreement with the expected result P e = cos(2|α||β| cos(δ) + π/4) 2 , where δ = arg(α) − arg(β) (see Eq.B12), though we find an extra reduction in the dynamic range in P e for increasing β due to qubit overheating.
72For our quantum reservoir tasks, we choose α to be quite small, near 0.2.The effect of this is a severe reduction in the dynamic range of P e , but one that is easily distinguishable at 1000 shots.For all of our tasks, this was the mininum number of shots needed to get 100%.Keeping |α| small allows for a greater sensitivity in |β| without worrying about qubit overheating.
Qubit & parity measurements
73The qubit and parity measurements performed in this work are the standard pulse schemes used in many previous works, with one change.The typical procedure of measuring the parity of a cavity state is similar to a Ramsey experiment (and perhaps more closer still to a 'qubit-revival' experiment [2]), and importantly requires knowledge of the state of the qubit before the measurement is performed.In a quantum reservoir setting where measurement trajectories can be unknown, measuring the parity of the cavity is not straight-forward without post-selection or feedback.Here, since we perform a qubit measurement just before the parity measurement, we apply simple feedback that conditions the parity unitary on the measurement outcome of the preceding qubit measurement.The condition is such that the parity measurement outcome is now independent of the preceding measurement outcome.This reduces the order of correlations required to gain the same information: attaining the parity of the cavity only requires information about the parity measurement, whereas previously, second-order correlations between the qubit and parity measurement was required.A further refinement to reduce trivial correlations in the measurement history would reset the qubit after the oscillator parity, however, due to limitations in the FPGA software, this was not implemented.
74Tuning T 2 via resonator-induced dephasing
75Here we describe the experiment to reduce the qubit coherence time by pumping the readout resonator with photons during our reservoir experiments (see Fig. 2d).The calibration of this experiment involves performing a standard Ramsey T 2 experiment, modified with a pump on the readout resonator (Fig. S9a).Once populated, the resonator photons induce a dispersive shift, which sends the qubit to the center of the Bloch sphere once the readout resonator is traced out.In principle, this interaction is coherent, and the qubit should see a revival.However, due to the leaky nature of the readout resonator by design, a coherent revival is not observed.As remarked at the end of Appendix A, this experiment required an auxiliary AWG line.Figure S1 denotes this as the 'Readout Auxiliary' line.
76Figure S9b shows the results of the Ramsey calibration with the readout pump on, for varying pump powers.We see a steady decrease in the qubit coherence time as the pump amplitude is increased as expected.The curves Qubit Readout a.
b.
77c.
Sub-system
78Fig. S9 Resonator-induced dephasing via pumping on the readout resonator (a.) Protocol for characterizing the effect of a readout pump on qubit decoherence: we perform a typically Ramsey experiment while populating the readout resonator to measure the T 2 .(b.) Ramsey curves as a function of readout pump amplitude.These curves are fit using Eq.C21 to produce estimates of the qubit coherence.where δ is an intentional detuning.Here, a Gaussian pulse was used as the readout pump.We expect that due to the construction of the reservoir, a flattop pulse may be more detrimental to the classification performance, since the Gaussian pulse has little amplitude during the CNOD unitaries shown in Fig. S3a.Finally, we note that the maximum T 2 shown in Fig. S9 differs from the value quoted in Table S1.After preliminary calibration data corresponding to those in Fig. S9, the experiments in Fig. 2c were performed, after which the qubit T 2 was suddenly lowered.However, all experiments presented in this manuscript, with the exception of Fig. S9, were performed where the qubit T 2 matched that of Table S1.Given the conclusion that the qubit T 2 does not impact classification accuracies until it approaches the time between measurements, we decided to include the higher quality data presented in Fig. S9, rather than the preliminary data used to calibrate the results in Fig. 2c.
Output feature encoding
79In this work, we use measurement correlations as the output feature vectors from which the trained linear layer of our reservoir performs the classification.In this section, we provide details in how these were constructed from measurement results, as well as motivations and comparisons with other output encodings.As described in the main text, measurements of our reservoir involve two measurements following every data input: a qubit measurement and a parity measurement.The qubit measurement, which follows just after the input unitary, either extracts information about the input displacement (if the signal is time-independent), or performs some nontrivial back-action on the oscillator state (see Fig. S4).The parity measurement, which follows the qubit measurement, will simply measure the parity of the cavity state post-qubit measurement, and collapse the oscillator state to either even or odd Fock states.It is worth pointing out that measurements of the parity are done with an entangling unitary starting with a known qubit state and then performing a regular qubit measurement (see Appendix C for details).
80In this manuscript, qubit measurements are performed using standard dispersive readout, which we review here, since the process involves a number of nonlinear steps (for a thorough review, see Ref. [1]).Each measurement outcome is the result of integrating a response signal from the readout resonator, and is defined by a single point on the I − Q plane.For sufficiently strong coupling between the readout resonator and the qubit compared with the resonator linewidth, the set of all possible integrated IQ points will form two (or more) localized and well-seperated blobs, indicating projective measurement with single-shot fidelity.These two (or more) blobs correspond to different Fig. S10 Comparison of feature vectors in spiral classification performance Here, classification accuracy on the spiral task is considered for different output encodings.Particularly, we compare included higher and higher correlations.⃗ µ ≤p describes a feature vector containing all central moments up to and including the p-th central moment (see text).
81states of the transmon, and single-shot fidelity refers to the ability to discern the state of the qubit using only one readout pulse.With knowledge of the location of these blobs, and which state they correspond to, we perform a threshold the measurement result to either '0' or '1', indicating the qubit ground state or excited state respectively.From a string of binary measurement outcomes, or bitstring, we form our feature vectors by first calculating the p-th central moment µ p , defined as
82where the number of indices of µ p is equal to p.Here x ni is the nth repeated measurement result of observable x i .In our setting, i labels the i-th measurement in a sequence of correlated measurements before the system is reset.The expectation value ⟨x i ⟩ is taken over the shots N shots -counting the number of system resets and repetitions.Faithful estimates of these moments typically require on the order of 1000 shots for the results presented in this manuscript.
Fig. S11
83Second-order central moment (covariance) of quantum reservoir output over spiral dataset.These correlation matrices were generated from calculating the covariance over measurement outcomes in a reservoir run, then averaged over the entire dataset.
84The central moments of Eq.D22 are used in the construction of the output feature vector for the linear layer to perform the classification task.Specifically, the feature vector is generated by appending successively more and more central moments.We denote these appended feature vectors as ⃗ µ ≤p for feature vectors containing up to p central moments, e.g.
85is a feature vector constructed from appending the flattened covariance to the mean.The first-order moment here is a vector to denote we take the mean over repetitions of different measurements, whereas the covariance is a matrix and thus is not denoted as a vector.Additionally, we only take the independent degrees of freedom of the symmetric covariance matrix equivalent to discarding one of the following redundant elements ⟨x i x j ⟩ and ⟨x j x i ⟩ for some integers i, j.In general, for arbitrary moments, the number of independent components for M measurements is M +p−1 p , where p is the order of the moment.For up to third-order central moments of M = 8, this gives a total output feature dimension of dim(⃗ µ ≤3 ) = 8 + 36 + 120 = 164.This output dimension for the results presented in the main text is further reduced as discussed in the following paragraphs below.
Fig. S12
86Third-order central moment of quantum reservoir output over spiral dataset.These third-order central moments are plotted as an array of 2D matrices, such that the i-th column corresponds to the 2D matrix µ ijk .The two rows corresponds to the two different classes of signals.In the third order, one can begin to see differences between the two classes by eye.
87Figure S10 contains classification results on the spiral dataset (Fig. 2) as a function of the number of shots for the feature vectors ⃗ µ 1 , ⃗ µ ≤2 and ⃗ µ ≤3 .We see that our quantum reservoir has non-trivial third-order correlations and that the reservoir leverages these correlations to boost classification accuracy.The covariance matrix averaged over the entire spiral dataset is plotted in Fig. S11, and the third-order correlations are plotted in Fig. S12 -plotted as a set of 2D matrices.In the third-order correlations in particular, we can begin to pick out by eye the differences in the two classes.
88This construction generally allows us to construct feature vectors that are smaller than the probability distribution over all possible measurement trajectories, which is 2 M dimensional.However, as can be seen in Fig. S11, there is yet redundant information even after taking only the symmetric part -specifically, that the information tends to be very local and that measurements far apart tend not to be correlated.This has the physical interpretation that while measurements are indeed correlated, even possessing higher-order correlations, this correlation tends to be local due to the finite memory of the system.This motivates us to further restrict our feature vector to only capture the essential local correlations.
89Figure S13 compares the classification performance of feature vectors generated with up to third-order moments, where we truncate the locality of the correlations.That is, the elements of the third order central moment (µ 3 ) ijk are set to zero if |i − j| > d H or |i − k| > d H , for some integer d H .We note that including third-order correlations between measurements that are up to three 'sites' away nearly reproduces the classification accuracy of when you include all third-order central moments.Additionally, we compared the construction of feature vectors using truncated moments up to third-order with that of using the full sampled distribution as the feature vector and found that the former performed much better (Fig. S10).These last two statements were found to be true for all tasks presented in this paper.For M = 8 measurements, the truncation of long range correlations further reduces the output feature size from 164 down to 94.
Fig. S13 Spiral classification accuracy as a function of locality of up-to third-order correlations
90Classification accuracy for the spiral task using up to third-order central moments truncating correlations to only include correlations up to d H .We find that we can achieve high accuracy using local third-order correlations, saturating the accuracy when only keeping correlators up to d H ≤ 3. The performance of using the sample distribution is also compared which performs worse than using the central moments as output features, despite containing more information (see text).
Training the linear layer
91The only component of the reservoir that was trained to fit the dataset processed by the reservoir was the linear layer applied to the feature that the physical reservoir produced.The linear layer was an R × C matrix W train and C-dimensional vector v train applied to the R-dimensional reservoir feature x to get
92where the largest of the C elements of y corresponded to the predicted class of the data point (C is the number of classes).To train the linear layer, we chose between two different approaches: the pseudo-inverse method and backpropagation through a softmax function on the output.The two approaches optimize the linear layer over different loss landscapes.This is because our classification method is fundamentally discrete -i.e.we identify the class simply based on whichever output vector entry is the largest -so there is not a perfect correspondence between our loss and the classification inaccuracy.First, we will describe the pseudo-inverse method.Let X be a N × (R + 1) matrix consisting of R-dimensional reservoir features generated for N training points, with a column of 1's appended (this is to compute both W train and v train at once).Let Y be an N × C matrix consisting of C−dimensional row vectors that serve as labels for the training points such that Y i,j = 1 if j corresponds to the class of the i th training point and zero otherwise.For an ϵ > 0, we construct W ′ train (W train appended with v train ) as :
93In our case, the value of ϵ was swept to maximize the accuracy of the classification.In the limit of ϵ → 0, the pseudo-inverse matrix of Eq.D24 is provably optimal for minimizing ||XW train − Y || 2 2 [10] up to numerical stability, and so has been a popular choice for training the linear layer at the output of reservoirs [11][12][13]18].However, our goal was to classify the input signals based on the largest element of the final output vector.Consequently, the linear layer that resulted in the lowest mean squared error with our labels was not always the linear layer that gave us the best accuracy.
94For this reason, we also used a second training method for our linear layer.This approach used softmax, a popular choice for classifiers in neural networks [14] and back-propagation using the automatic differentiation package from PyTorch [15].Training through back-propagation with an optimizer is now necessary since an exact analytic solution to minimize the loss no longer exists, unlike the case of the pseudo-inverse.In this approach, the prediction vector y from Eq. D23 is passed through the "Softmax" activation function:
95We then computed the mean squared error between the resulting y prediction and the label for the training point that produced the underlying reservoir feature x.Finally, we used back-propagation to compute the gradient for our linear layer.The linear layer was then updated using the ADAM optimizer [16] with the default settings of β 1 = 0.9, β 2 = 0.999 and a learning rate of 0.01.For our reservoirs, we tried both methods of training the linear layer and used whichever yielded the best accuracies.Empirically, we found that while pseudo-inverse training was better in some cases, training the linear layer with back-propagation often yielded quite large accuracy advantages over pseudo-inverse.
Classification of Radio-Frequency signals
96In this section, we discuss about the algorithm for generating the dataset for the classification of digital modulation schemes on radio signals.The digital modulation scheme involves encoding sequences of binary values into the amplitude and phase of a radio signal for a fixed duration.The number of binary values encoded depends on the modulation scheme.For example, for BPSK (binary phase shift key), each symbol (change in property of the signal) encodes one bit of information.For 32QAM (quadrature amplitude key), there are 32 possible values, which allows each symbol to contain 5 bits of information.For this task, we keep the symbol rate fixed across all the tasks.Moreover, the pulses generated by the arbitrary waveform generator (AWG) all occur at the baseband frequency.This signal is then upconverted to the frequency of the cavity before sent to the device.To generate the set of possible sequences, we randomly select each symbol with equal probability.This corresponds to the case of each possible binary string of digits encoded to be equally likely.Due to memory constraints on the AWG, we cannot output a continuous encoded signal for long durations, corresponding to the regime of large samples of the reservoir.We circumvent this constraint by realizing that, for this task, there are no correlations in the encoded binary digit sequence (since each symbol is equally likely).Therefore, the probability of a long binary digit sequence can be correctly emulated by sampling multiple short binary digit sequences and concatenating them together.For this task, we can simply achieve this by generating a signal with eight symbols, which is the number of symbols enter our QRC before its state is completely reset.
Classification of noisy signals
97To generate the dataset describing the task of classifying noisy signals using the QRC (see Fig. 4), we start with emulating white noise.At each time step of the sampling rate of the AWG, we choose a value for in-phase and quadrature signals uniformly between the unit interval (up to an overall normalization).While this is limited to the sampling rate of the AWG (around 2 × 10 9 samples per second), this is much larger than any relevant time scale of the experiment.Therefore the approximation of broadband white noise is appropriate to describe the effect of the signal on the system.We then apply "kernels" as a convolution in the time domain to each need seed of the white noise generated signal.This can also be thought of a bandpass filtering function in frequency domain.
98The classification task is then to identify the kernel.Each kernel is defined by a time domain function.The only hyper-parameter to describe each kernel is the overall scaling value.In this work, we set the DC component of this kernel in frequency domain to be the same for all classes (set to unit value without loss of generality).In the time domain, this corresponds to scaling the amplitude such that the area enclosed by the filter function in time is the same for all functions..We do this to make sure that a direct integration of the signal over a time domain much longer than the correlation length introduced by the kernel, cannot distinguish the signals from each other (see Fig. S14).The above normalization ensures the random variable associated with this integrated value is the same for all distributions.Therefore, this ensures that any ability of the reservoir to classify the signals arises intrinsically Fig. S14 Histogram of integrated value of the input signal for the noise classification task.In this work, we enforced a normalization condition on the amplitude of the filter functions.We set the normalization such that the long time integral of the signal corresponds to a value with zero mean and the same standard deviation.This is visually seen from the probability density function from the dataset of the classes of noisy signals.We do this to ensure that any reservoir which simply integrated the signal, before applying a non linear kernel, cannot classify the different signals.The fact that our reservoir is able to solve this task can therefore be associated with the continuous-time processing by the cross-Kerr interaction between the qubit and the cavity.Enforcing this normalization is mathematically equivalent to setting the DC component of the filter functions to be the same value in frequency space.
99from its computational capacity to distinguish short-time correlations (in this work we choose a correlation time scale of 50ns and 600ns, with kernel functions of Gaussian, Lorentzian, and the Inverse function: generating a total of 6 classes.).
100truncation to the cavity subspace.It is important to ensure that the Fock truncation does not introduce any spurious effects, for it can be a source of non-physical non-linearities in the system.For example, a linear cavity, treated as a harmonic oscillator, only performs a linear transformation on an incoming analog radio frequency signal.However, if in simulation, the support of the state of the cavity exceeds the Fock truncation of the simulation, numerical errors introduce non-Gaussian states in the cavity mode.Such effects will depend non-linearly on the input, and hence can effectively act as a "good" (but of course unphysical) reservoir!To ensure this doesn't happen in simulation, at every step of the unitary evolution, we monitor the probability of the wavefunction on the largest Fock state in the simulation.If this value goes above 1% during the simulation, a warning is raised, and the results of the simulations are discarded.
101To make the simulations efficient, we make certain assumptions on the quantum system.Firstly, we treat the reservoir controls of qubit rotations and conditional displacements with a "gate"-based unitary.However, to take into account the analog, continuous dynamical evolution implemented by the cross-Kerr interaction term in the Hamiltonian, the interval of the input into the system is implemented with the full time-dependent Hamiltonian evolution (using QuTiP's "mesolve" functions).Finally, another approximation we make (in favor of simulation speed) is ignoring decoherence effects.To ensure this approximation is valid, we performed simulation with the stochastic wavefunction approach with photon loss and qubit dephasing rates measured in experiments [18].We obtain differences in expected classification accuracies within error bars (which are obtained from different datasets from repeated simulations).This also gives us confidence that the role of decoherence in the system plays a minimal role in the computational capacity of the reservoir.The results of the simulations with the third central moment are plotted in Fig. S15.Interestingly, the performance as a function of the number of samples agrees to experiment within the same order of magnitude.This gives a good estimate for the experimental time required to produce a classification accuracy versus shots curves in experiments.For all three tasks, the reservoir approaches 100% accuracy with sufficient samples or integration time of the input.
The advantage of continuous-time continuous-variable QRCs over discrete-time qubit-based QRCs
102In this section, we benchmark the performance of our continuous-time-continuous variable QRC in comparison with other hardware implementations of reservoirs.To highlight the benefit of our QRC in processing time varying input signals, we compare the simulation of our reservoir with that of a recent QRC scheme involving repeated measurements on a multi-qubit based superconducting circuit quantum system [19].For this comparison, we simulate the expected performance of both systems on the task of classifying different noise signals with the classes described in Fig. 4.While our reservoir can naturally interface with analog signal, this is not the case with the protocol introduced in [19].For this simulation, the signal is sampled at discrete times and input to the system as a scalar parameter (one for the in-phase value and one for quadrature value).To highlight the advantage of our QRC, we slightly modify the task introduced in the Fig. 4. Here, we normalize the six filter functions such that the integral of the filter function in frequency domain is kept constant.We do this such that the standard deviation associated with the distribution of the sampled signal is the same across all signals.The only information distinguishing the signals is in the correlation between two close samples in time.To elucidate this reasoning, we simulate the performance of the two reservoirs as a function of the time duration in between two samples of the signal (in the case of the discrete qubit based reservoir) and integration windows (for our analog reservoir).Such a finite duration can arise from finite-pulse durations of reservoir protocols, qubit-measurement times, and the finite latency introduced by the classical FPGA processor.For example, for our experiment, this time is around 4µs, mostly arising from the measurement of the qubit and the parity of the cavity.In experiment (Fig. 4), we had generated and timed the input wave forms such that the delay between inputs is essentially 0µs.For a typical IBM quantum device with midcircuit measurement, the protocol used in Ref. [19], the finite latency can be estimated to be around 8µs [20].The protocol for the discrete-time quantum reservoir is designed to only act on real-valued input signals.However, for a continuous signal in the rotating frame, we have both the in-phase and quadrature values.For the experimental quadrature, these values correspond to displacements on the oscillator in orthogonal directions.To extend the scheme presented in [19], we do the following minimal change: we interleave the between sample points of in-phase and quadrature values.We could have chosen these points with the delay of τ in between each.However, this might have had the effect of introducing twice the delay compared to the continuous time reservoir.Therefore, we chose the relaxed constraint of the input such that both the in-phase and quadrature values are chosen at the same point, with just a delay in between two different in-phase and quadrature points.[19].(a.) Schematic reservoir protocol for our experiment (on the left), versus that introduced in [19], involving two qubits as the data qubits, and two as the ancillas.The reservoir consists of single qubit rotations interleaved with CNOT gates between the data qubits and data and ancilla qubits.In this simulation, we simulate the performance of the two reservoirs as a function of the delay τ between two durations of the input.Such a delay can be introduced by the finite pulse durations and latencies introduced by the FPGA.(b.) Classification accuracy curves for the two reservoirs as a function of shots, for different values of delays.The continuous time analog reservoir is much more robust to delays between inputs compared to the discrete time reservoir implementation.(c.) Plot of accuracies at 5000 shots for the two reservoir implementations as a function of delay time.Experimentally relevant times include 4µs for our experiment, and around 8µs [20] for the experimental realization of [19] on an IBM quantum computer.
Comparison to other reservoirs
103A cavity coupled to a qubit is a hardware efficient quantum system to perform reservoir computing on analog signals.
104In this section, we motivate this by simulating the performance of other natural choices of quantum reservoirs: a single qubit, and a single cavity.The protocols for these systems are inspired by what one can naturally perform in experiment.To make a reservoir with a cavity, we couple the input into the cavity (as is the case for the experimental design).To readout the cavity, we perform a transmission style Homodyne measurement, which infers the mean field value of the cavity.This is a continuous form of measurement, where the output feature is a time dependent radio frequency signal at the frequency of the cavity mode.Since the cavity is always in a coherent state, the output time trace is linearly dependent on the incoming signal.For a fair comparison, we only use a handful of values from the time trace (as many as the number of measurements in the experiment).While this might seem restrictive, we process this via the same method as the case of the experimental reservoir, by computing the functional definition of the central moments.This does not necessarily make sense for this protocol, since the outputs do not correspond to samples from a discrete probability distribution, but can nevertheless introduce non-linearities in the representation of the feature vector.These non-linearities can improve the performance of the reservoir beyond a linear layer.This is observed for the case of time-independent Spiral classification, where the cavity reservoir performs better than random.This performance is solely due to the "post-processing" of the output of the reservoir we adopt for our experiment.However, for time dependent tasks, the performance is hardly better than random.Another natural candidate is a single qubit reservoir.For this case, we directly interface the signal to the qubit.A qubit is able to naturally represent non-linear functions of the input, which can be intuitively seen by visualizing the action of a qubit rotation on a Bloch sphere.As a fair comparison, we choose the same qubit reservoir controls in experiment, which involve qubit pulses before, during and after the continuous input.The output is a string of binary outcomes of qubit measurements, which can be done experimentally with the use of a readout resonator.Each reservoir of the qubit lasts twice as long as the experimental QRC to obtain the same feature vector size.This is then processed the same way as the cavity-qubit coupled reservoir, before applying a trained linear layer.Interestingly, the qubit fails to perform better than random for the Spiral task.On the other hand, it is able to reach near 100% accuracy for the time dependent signal classification tasks.The ability for even a single qubit to successfully perform a many-class classification task is illuminating at the remarkable processing capabilities of reservoir.However the total input signal required can be more than order of magnitude longer compared to that for the experimental QRC to achieve the same accuracy.The ability of a cavity coupled to a qubit system to perform significantly better than either of its components provides a clear picture of the important role entanglement can play.
Multi-qubit reservoirs
105Quantum reservoir computing is a promising paradigm in the NISQ era.It is therefore interesting to consider the potential benefits in performance with larger devices, which are within reach of today's experimental capabilities.
106As a natural extension of our quantum reservoir, we consider a scenario of one continuous variable cavity mode dispersively coupled to multiple qubits.For simplicity, we assume the dispersive strength of each qubit to the cavity is the same.To motivate the capacity of such a reservoir, we simulate the system for up to four qubits to estimate the classification accuracy for the task of identifying correlated noise signals.The unitary protocol is illustrated in Fig S18 (a.).The protocol begins with a π/2 pulse on each qubit, which brings the state of the qubit onto the equator of the Bloch sphere.To entangle the qubits with cavity, we simulate the action of a generalized, multi-qubitconditioned cavity displacement.This involves a displacement on the cavity, whose value is different for each of 2 N N-qubit possibilities.An example of the action of this operator is depicted in Fig S18 (b.) for the case of two qubits.
107Here, there are four possible qubit states, and each is associated with a displacement value of the four corners of the square.The displacement values were chosen somewhat arbitrarily, but serve to illustrate an efficient multicomponent entanglement.For the case of two qubits, the real and imaginary components of the displacement where either ±0.5.For the case of three qubits, there are eight total possible states.The set of displacements chosen form a three-by-three grid state, ranging between ±1, excluding the center of this grid (which is centered at the origin).
108For the case of four qubits, a four-by-four grid uniformly distributed between ±1.5 covers all sixteen possibilities.The correspondence between qubit states and displacements was somewhat arbitrary -the motivation is that even without much design choice, a reservoir can successfully implement machine learning!For these simulations, each position of the grid is associated with a decimal value, increasing sequentially from left to right, starting from the top left and progressing towards the bottom right (starting with zero).This decimal value is the decimal representation of the qubit-state bit string that the displacement is conditioned on.After the multi-qubit entangling conditional displacement gate, the cavity is subject to the input.The dynamics of the system are influenced by the cavity-qubit coupled dispersive interactions, where the interaction strength is the same between the cavity and all qubits and set to that of the experiment.Like the experimental QRC, each qubit is flipped with a π pulse in the middle of the input.The protocol ends with the same conditional displacement, before Fig. S18 Exploring the computational capacity of more complex reservoirs, involving a single cavity mode coupled to multiple qubits.(a.)The reservoir protocol, before measurement.The protocol is inspired by naturally extending the protocol of the experiment.The state of each qubit, along with the parity of the cavity, is sampled afterwards.(b.) Schematic illustration of the state of the cavity after the generalized qubits conditioned cavity displacement implemented in this reservoir, for the case of two qubits.Here the cavity is displaced by a unique value of each 2 N combinations of qubit possibilities, for a reservoir with N qubits.(c.)To illustrate the computational capacity of such reservoir, we simulate the quantum system to obtain the classification accuracy as a function of the duration of signal received for the task of classifying correlated noise signals.Increasing the number of qubits generally increases the performance of the reservoir.For different values of shots of the reservoir, which corresponds a total time of input, we plot the classification error as a function of qubits.The case of zero qubits in the reservoir corresponds to just a cavity reservoir.
109a π/2 pulse.The output of the reservoir is the measurement of each qubit, along with the parity measurement of the cavity.This protocol is repeated four times, to match the experimental protocol as much as possible.Fig S18 (c.) is the classification accuracy as a function of the total time of input signal received for the reservoirs with different number of qubits, for the task of noise classification.While they all achieve essentially 100% accuracy, the total time required to achieve this accuracy drops significantly with increasing number of qubits.Other than the single qubit reservoir (the experimental protocol), the performance of the reservoir is similar both at the low and high signal duration regime, differing only in the intermediate regime.The reason for the difference in behavior of the performance for the case of cavity coupled to a single qubit is the slight change in reservoir protocol.To accurately account for the experimental protocol, the state of the qubit is determined by the outcome of the parity measurement of the cavity.This was not implemented in the simulations for multiple qubits.This ends up improving the performance of this reservoir for this task in the low signal duration regime.However, in the higher signal duration regime, increasing the number of qubits increases the accuracy.
110The classification error as a function of number of qubits in the reservoir is plotted in Fig S18 (d.), including the case for just a cavity (zero number of qubits in the reservoir), for a select number of total shots of the entire reservoir.Very crudely, the error in classification seems to reduce exponentially with every additional qubit in the reservoir.
111Appendix G Theoretical analysis of the expressivity of our QRC for time-independent signals
112The ability of the QRC to perform better than an optimal linear layer on the input lies in the reservoir's ability to express many non-linear functions of the input-its expressivity.Here, we quantitatively characterize the class of that both oscillate around 99% classification accuracy, within about one percent.In Fig S19, a 64-dimensional reservoir was found to be enough to classify the spiral data points with perfect accuracy and a fairly wide choice of parameters.Our reservoir, then, achieved at least the capacity of a 64-dimensional LESN reservoir, past around 5 * 10 3 shots.
113In the conventional view of reservoirs, the data must be sent into into a higher dimensional space where linear separability becomes possible [12].The dimensionality of our Hilbert space, given by the two dimensions of the qubit and the approximately 16 occupied levels of our storage resonator, limits the complex degrees of freedom we have available in encoding our data as the final, measured state.Consequently, we use this total Hilbert space dimension (times two due to complex amplitudes) as a proxy for the quantum resources used in terms of reservoir dimensionality.Given the roughly 2 × 16 dimensions of Hilbert space used by our reservoir, achieving at least the computational capacity of a 64-dimensional LESN reservoir is on the order of what would be expected for a large shot number.Indeed, the point of this comparison is to demonstrate that the computations performed by our reservoir cannot be trivially replicated by a digital reservoir with fewer resources with the same performance.
Fig. 3
114Fig. 3 Classification of radio-frequency (RF) communication modulation protocols.(a) Description of the dataset for digital modulation schemes used in this experiment.In conventional digital modulation schemes, one encodes data in the amplitude and phase of the signal.The modulation schemes can be represented by a "constellation diagram" in (I, Q) space (left), where point represents one of the possible choice of (I, Q) values to encode a symbol, with example time traces (right).(b) These signals are broken up and fed into our reservoir.(c) The performance of the reservoir as a function of the shots taken in real time (see text).The top row contains the corresponding duration of the radio frequency signal required.As the number of shots increases, the fluctuations in the measurement distribution reduces, resulting in a higher classification accuracy.For context, a classical linear classifier applied directly on the input data achieves only 20% accuracy, independent of the duration of the signal.The error bars of the accuracy curve have been omitted here due to the fact they are too small.(d) Confusion matrix for the QRC at 32, 512, and 10 4 shots, showing that the reservoir confuses only a few classes at the highest shots.
Fig. 4
115Fig. 4 Classification of filtered noise (a) We classify various fast and slow noisy signals by applying a moving average on stochastic white-noise signals.Three different filters are used for the moving averages: a Gaussian filter, a Lorentzian, and an inverse power law.For each filter, we generate stochastic analog signals based on both a 50 ns filter width, and a 600 ns filter width, with the latter being on the order of the measurement rate.Example time traces are given for the real part of an example stochastic white noise signal passed through each of the filters.We divide up these stochastic signals and send to the QRC to then distinguish the noise source.(b) Visualization of the high-dimensional output feature space using Singular Value Decomposition (SVD).Each point corresponds to a different signal over 2000 shots taken in real time (see text).(c) Classification accuracy as a function of the number of shots using third-order moments as the output feature.Our reservoir reaches 93% accuracy in about 2000 shots, corresponding to about 10 ms of the signal received.(d) Confusion matrix of the task taken at 2000 shots.(e) Participation of the mean and the off-diagonal elements of the second-and third-order moments in the classification accuracy within the subtasks of classifying different noise sources with fixed filter width.We see that for signals with long coherence times, higher-order measurement correlations are important, while for fast signals, the mean dominates in the performance contribution.
116Fig. S1 Wiring diagram.Experimental setup for control hardware, cable routing, and shielding for our device.
Fig
117Fig. S2 Photo of deviceThe device consists of a on-chip transmon and a co-planar waveguide readout resonator mounted inside a high-purity Aluminum cavity.The package is mounted to a gold-plated copper breadboard at the mixing-chamber plate of a dilution refrigerator.
118Fig. S3 Geometric phase unitary to sense phase of unknown displacement (a.) Decomposition of the unitary used throughout the reservoir for time-independent tasks.(b.) Schematic representation of the dynamics of the oscillator state under the reservoir drives with time-independent input, highlighting a unitary which implements a geometric phase unitary.(1) At the start of the protocol, the qubit is in the ground state, with the oscillator at vacuum.(2) An initial X π/2 pulse brings the qubit to the equator.The CNOD(α) unitary conditions the state of the oscillator based on the qubit.For the first reservoir, this is a coherent state.(3) and (4) For time independent inputs, the effective action can be described by a single displacement on the oscillator mode.In this experiment, we operate the displacement at a frequency which, to first order, causes a displacement only on the state conditioned on the ground state of the qubit.A qubit π pulses switches the state in between the two displacements.(5)The final conditional displacement brings the two conditioned states back onto each other.This effectively disentangles the qubit from the oscillator mode.(6)The effective geometrical area enclosed A, which is a function of the input, is imparted onto the qubit.
119|cavity⟩ = . . .P p4 D(β)P p3 D(β)P p2 D(β)P p1 D(β)|0⟩, (B14) where P pn is the projector of the nth parity measurement with outcomes p n = {+, −}.For k runs of the reservoir, we can reorder terms and add pairs of canceling displacements D(−β)D(β) to rewrite the above as |cavity⟩ =
120Fig.S6Characterization of input signal duration (a.) Diagram of control sequence to calibrate length of input signal duration toward implementing the geometric phase unitary in Eqs.B2-B8.Here, a double conditional displacement is performed after sending the qubit to the equator of the Bloch sphere.After this, a variable delay is added before undoing that displacement.Finally, the qubit and the Fock distribution of the cavity is sampled using methods from Refs.[8, 9].(b.) Overlapping histograms showing Fock distribution of cavity state conditioned on qubit state as a function of delay.(c.) Cavity state overlap with the vacuum state as a function of delay.At a particular value of the delay, the two displacements interfere and cancel each other out.
121Fig. S7 Full geometric phase unitary calibration.(a.) Pulse control protocol for the unitary defined by Eqs B2-B8.This protocol is identical to that of Fig. S3a.(b.) Overlapping histograms showing the probability over outcomes of measuring the qubit and oscillator-parity as a function of the phase of the input signal with |β| = 0.25.As the phase is varied, the probability of the qubit being excited increases.(c.)The probability of measuring the qubit excited as the phase of the input displacement β is varied, plotted for different values of |β|
122Fig. S9Resonator-induced dephasing via pumping on the readout resonator (a.) Protocol for characterizing the effect of a readout pump on qubit decoherence: we perform a typically Ramsey experiment while populating the readout resonator to measure the T 2 .(b.) Ramsey curves as a function of readout pump amplitude.These curves are fit using Eq.C21 to produce estimates of the qubit coherence.(c.) Extracted T 2 values for each of the curves in part (b)
123Fig.S16Simulations comparing the performance of a continuous-time quantum reservoir (our work), and a discrete-time qubit-based quantum reservoir, based on a recently implemented protocol[19].(a.) Schematic reservoir protocol for our experiment (on the left), versus that introduced in[19], involving two qubits as the data qubits, and two as the ancillas.The reservoir consists of single qubit rotations interleaved with CNOT gates between the data qubits and data and ancilla qubits.In this simulation, we simulate the performance of the two reservoirs as a function of the delay τ between two durations of the input.Such a delay can be introduced by the finite pulse durations and latencies introduced by the FPGA.(b.) Classification accuracy curves for the two reservoirs as a function of shots, for different values of delays.The continuous time analog reservoir is much more robust to delays between inputs compared to the discrete time reservoir implementation.(c.) Plot of accuracies at 5000 shots for the two reservoir implementations as a function of delay time.Experimentally relevant times include 4µs for our experiment, and around 8µs[20] for the experimental realization of[19] on an IBM quantum computer.
124Fig.S17Simulations of the performance of the cavity-and-qubit reservoir system with its components: just a cavity reservoir and just a qubit reservoir.(a.)The circuit diagrams of the three quantum reservoir simulated here.1) The circuit diagram of the experimental QRC in this work: a cavity coupled to a qubit.The input is interfaced to the cavity, and the state of the qubit is measured using the standard dispersive readout technique with a readout resonator.2) The circuit diagram of a cavity as a reservoir.In this case, the natural output of the cavity is the transmitted signal.3) The circuit diagram of a qubit reservoir.In this case the input is coupled instead to the qubit.(b.) Simulation of the classification accuracy of the three different reservoirs for the three tasks considered in the paper.As a fair comparison, the output feature vector dimension is kept constant for all three reservoir.The experimental setup drastically outperforms either of its components, just a cavity (in (c.) and just a qubit (in (d.)), which highlights the important role of entanglement in classification accuracy.
Fig. S19
125Fig. S19 Mean spiral classification accuracies and their standard deviations over 100 randomly generated LESN's.
126Hamiltonian description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Reservoir description for time-independent signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Reservoir description for slow varying time-dependent signals . . . . . . . . . . . . . . . . . . . . . . . . .C Quantum reservoir characterization CNOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Reservoir unitary characterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Qubit & parity measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Tuning T 2 via resonator-induced dephasing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .D Machine learning with the quantum reservoir Output feature encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
127Training the linear layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...E Supplementary information machine learning tasksClassification of Radio-Frequency signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Classification of noisy signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .F Simulation of the quantum reservoir Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .The advantage of continuous-time continuous-variable QRCs over discrete-time qubit-based QRCs . . . .Comparison to other reservoirs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multi-qubit reservoirs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .G Theoretical analysis of the expressivity of our QRC for time-independent signals H Leaky Echo State Networks (LESN) Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Digital reservoir comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Appendix A Experimental setup
참고문헌 47건
- Cavity State Manipulation Using Photon-Number Selective Phase Gates Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.115.137002
- Reservoir computing approaches to recurrent neural network training Computer Science Review · Elsevier BV · 2009 10.1016/j.cosrev.2009.03.005
- Harnessing Disordered-Ensemble Quantum Dynamics for Machine Learning Physical Review Applied · American Physical Society · 2017 10.1103/physrevapplied.8.024030
- Quantum machine learning Nature · Nature Portfolio · 2017 10.1038/nature23474
- Commercialize quantum technologies in five years Nature · Nature Portfolio · 2017 10.1038/543171a
- Roads towards fault-tolerant universal quantum computation Nature · Nature Portfolio · 2017 10.1038/nature23460
- Over-the-Air Deep Learning Based Radio Signal Classification IEEE Journal of Selected Topics in Signal Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/jstsp.2018.2797022
- Quantum Computing in the NISQ era and beyond Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2018 10.22331/q-2018-08-06-79
- Barren plateaus in quantum neural network training landscapes Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-07090-4
- Digital-analog quantum computation Physical review. A/Physical review, A · American Physical Society · 2020 10.1103/physreva.101.022305
- Quantum reservoir processing npj Quantum Information · Nature Portfolio · 2019 10.1038/s41534-019-0149-8
- Quantum supremacy using a programmable superconducting processor Nature · Nature Portfolio · 2019 10.1038/s41586-019-1666-5
- Efficient Multiphoton Sampling of Molecular Vibronic Spectra on a Superconducting Bosonic Processor Physical Review X · American Physical Society · 2020 10.1103/physrevx.10.021060
- Temporal Information Processing on Noisy Quantum Computers Physical Review Applied · American Physical Society · 2020 10.1103/physrevapplied.14.024065
- Quantum reservoir computing with a single nonlinear oscillator Physical Review Research · American Physical Society · 2021 10.1103/physrevresearch.3.013077
- Quantum computers Nature · Nature Portfolio · 2010 10.1038/nature08812
- A quantum enhanced search for dark matter axions Nature · Nature Portfolio · 2021 10.1038/s41586-021-03226-7
- The Capacity of Quantum Neural Networks Conference on Lasers and Electro-Optics · 2020 10.1364/cleo_at.2020.jm4g.5
- Quantum supremacy using a programmable superconducting processor Nature · Nature Portfolio · 2019 10.1038/s41586-019-1666-5
- Quantum Reservoir Computing: A Reservoir Approach Toward Quantum Machine Learning on Near-Term Quantum Devices Natural computing series · Springer Science+Business Media · 2021 10.1007/978-981-13-1687-6_18
- Temporal Information Processing on Noisy Quantum Computers Physical Review Applied · American Physical Society · 2020 10.1103/physrevapplied.14.024065
- Harnessing Disordered-Ensemble Quantum Dynamics for Machine Learning Physical Review Applied · American Physical Society · 2017 10.1103/physrevapplied.8.024030
- Near-sensor and in-sensor computing Nature Electronics · Nature Portfolio · 2020 10.1038/s41928-020-00501-9
- Quantum computational advantage using photons Science · American Association for the Advancement of Science · 2020 10.1126/science.abe8770
- Quantum computational advantage using photons Science · American Association for the Advancement of Science · 2020 10.1126/science.abe8770
- A quantum enhanced search for dark matter axions Nature · Nature Portfolio · 2021 10.1038/s41586-021-03226-7
- Dynamical Phase Transitions in Quantum Reservoir Computing Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.127.100502
- Noise-induced barren plateaus in variational quantum algorithms Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-27045-6
- Searching for Dark Matter with a Superconducting Qubit Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.126.141302
- Equivalence of quantum barren plateaus to cost concentration and narrow gorges Quantum Science and Technology · IOP Publishing · 2022 10.1088/2058-9565/ac7d06
- Quantum Microwave Radiometry with a Superconducting Qubit Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.126.180501
- Next generation reservoir computing Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-25801-2
- Quantum-enhanced radiometry via approximate quantum error correction Nature Communications · Nature Portfolio · 2022 10.1038/s41467-022-30410-8
- Natural quantum reservoir computing for temporal information processing Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-05061-w
- Dataset for modulation classification and signal type classification for multi-task and single task learning Computer Networks · Elsevier BV · 2021 10.1016/j.comnet.2021.108441
- Next generation reservoir computing Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-25801-2
- Entanglement-Induced Barren Plateaus OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · Office of Scientific and Technical Information · 2021 10.1103/prxquantum.2.040316
- Experimental photonic quantum memristor Nature Photonics · Nature Portfolio · 2022 10.1038/s41566-022-00973-5
- Hilbert space as a computational resource in reservoir computing Physical Review Research · American Physical Society · 2022 10.1103/physrevresearch.4.033007
- Is Quantum Advantage the Right Goal for Quantum Machine Learning? PRX Quantum · American Physical Society · 2022 10.1103/prxquantum.3.030101
- Practical quantum advantage in quantum simulation Nature · Nature Portfolio · 2022 10.1038/s41586-022-04940-6
- Hybrid quantum-classical reservoir computing of thermal convection flow Physical Review Research · American Physical Society · 2022 10.1103/physrevresearch.4.033176
- Challenges and opportunities in quantum machine learning Nature Computational Science · Nature Portfolio · 2022 10.1038/s43588-022-00311-3
- User trajectory prediction in mobile wireless networks using quantum reservoir computing IET Quantum Communication · Institution of Engineering and Technology · 2023 10.1049/qtc2.12061
- Quantum advantage in microwave quantum radar Nature Physics · Nature Portfolio · 2023 10.1038/s41567-023-02113-4
- Tackling Sampling Noise in Physical Systems for Machine Learning Applications: Fundamental Limits and Eigentasks Physical Review X · American Physical Society · 2023 10.1103/physrevx.13.041020
- Dissipation as a resource for Quantum Reservoir Computing Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2024 10.22331/q-2024-03-20-1291