This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Error-Mitigated Quantum Routing on Noisy Devices

Wenbo Shi and Robert Malaney The University of New South Wales, Sydney, NSW, Australia.
Abstract

With sub-threshold quantum error correction on quantum hardware still out of reach, quantum error mitigation methods are currently deemed an attractive option for implementing certain applications on near-term noisy quantum devices. One such application is quantum routing - the ability to map an incoming quantum signal into a superposition of paths. In this work, we use a 7-qubit IBM quantum device to experimentally deploy two promising quantum error mitigation methods, Zero-Noise Extrapolation (ZNE) and Probabilistic Error Cancellation (PEC), in the context of quantum routing. Importantly, beyond investigating the improved performance of quantum routing via ZNE and PEC separately, we also investigate the routing performance provided by the concatenation of these two error-mitigation methods. Our experimental results demonstrate that such concatenation leads a very significant performance improvement relative to implementation with no error mitigation. Indeed, an almost perfect performance in terms of fidelity of the output entangled paths is found. These new results reveal that with concatenated quantum error-mitigation embedded, useful quantum routing becomes feasible on current devices without the need for quantum error correction - opening up a potential implementation pathway to other applications that utilize a superposition of communication links.

I Introduction

Quantum routers111The concept of the quantum router in this work should not be confused with classical-routing decisions for entanglement distribution [1], but rather a quantum-only phenomenon where an input signal is routed into a coherent superposition of multiple-output communication paths. are devices that can route quantum signals in superposition over multiple paths and are considered important elements for increasing functionality in quantum networks [2, 3], for the implementation of quantum-enabled memory access [4], for the delivery of superposed quantum error mitigation [5], and in assisting quantum machine learning [6]. A quantum router has to satisfy six key requirements [7, 8]: (i) Both signal and control information are stored in qubits. (ii) The signal information is preserved after the routing process. (iii) The signal should be routed to a coherent superposition of both output paths. (iv) No post-selection for signal qubits. (v) Only one control qubit is utilized for routing one signal qubit. (vi) Entanglement between control and signal qubits is generated after the quantum routing.

The work of [9] provided the first proof-of-principle experimental demonstration of a probabilistic quantum router using entangled photons. However, this quantum router collapsed the signal information, therefore not meeting the requirement (ii). A proposal for an all-linear-optical quantum router with 1/41/4 success probability was given in [10], and an implementation of this proposal was demonstrated in [11]. Nevertheless, two control qubits were required for routing one signal qubit in this demonstration, therefore not meeting the requirement (v). In [7], an all-linear-optical quantum router meeting the requirements (i)-(v) was experimentally demonstrated, although the success probability was only 1/81/8. The work of [8] proposed an optical quantum router meeting all six requirements. This router was deterministic but challenging for experimental implementation - only a probabilistic version of the router was illustrated. In [12], a deterministic quantum router using superconducting qubits was designed and experimentally demonstrated.

Near-term quantum devices, the so called Noisy Intermediate-Scale Quantum (NISQ) devices are now widely available [13]. The high error rates of these current quantum devices usually prevent the realization of quantum applications, and straightforward implementation of quantum error correction is generally not possible on them. As such, quantum error mitigation provides a potential alternate pathway to application deployment - a possibility that has recently attracted widespread attention. Quantum error mitigation methods aim to reduce the effects (e.g. magnitude) of system errors rather than completely eliminate them [14]. Two well-known quantum error mitigation methods are Zero-Noise Extrapolation (ZNE) [15, 16, 17] and Probabilistic Error Cancellation (PEC) [18, 19], which utilize classical post-processing approaches to mitigate errors [20].

Refer to caption
Figure 1: Three methods of local folding gates in ZNE. The value of λ\lambda decides how many gates should be inserted to extend the strength of the noise. The total number of gates after the insertion should be approximately λ\lambda times the number of gates in the unmitigated circuit.
Refer to caption
Figure 2: Working principle of PEC. Suppose that a quantum circuit includes four noiseless unitary gates, namely G1G^{\prime}_{1}, G2G^{\prime}_{2}, G3G^{\prime}_{3}, and G4G^{\prime}_{4}. Each unitary gate can be represented by a group of implementable but noisy gates. Therefore, the quantum circuit can be represented by a linear combination of noisy quantum circuits with implementable gates only.

In this work we focus on NISQ devices manufactured by IBM - superconducting quantum devices made accessible to the research community [21]. On such devices, our previous work [22] experimentally realized the quantum router with a quantum error-correcting code of [23]. However, the results of [22] demonstrated that such error correction is, in general, ineffective on the current IBM quantum devices in the context of quantum routing. In this work, we apply, for the first time, two quantum error mitigation techniques (ZNE and PEC) in a concatenated form to the quantum routing problem. We shall see that these quantum error mitigation techniques significantly improve the entanglement fidelity of the quantum router - to the point that quantum applications based on quantum routing become effective on current devices.

Although our work focuses on the IBM devices, we believe that superconducting-based quantum routers can be generalized for use in future large-scale quantum communication networks via interface techniques which convert photons to superconducting qubits and vice versa [24, 25]. As such, we believe the new results reported here will have wider implications beyond routing within the computer hardware itself - important as that is. The rest of this paper is organized as follows. Section II introduces the working principles of ZNE and PEC. Section III presents the quantum routing protocol as well as the experimental results. A brief discussion on the use of quantum routing in a related application is also given there. Section IV concludes this work.

II Quantum Error Mitigation

II-A Overview of ZNE

Suppose that EE is a Hermitian operator that has discrete eigenvalues {a1,a2,,ab}\{a_{1},a_{2},\cdots,a_{b}\} with associated eigenstates {|all=1,2,,b}\{|a_{l}\rangle\text{, }l=1,2,\cdots,b\}, where bb represents the number of eigenvalues. These eigenstates form a complete and orthonormal set such that any state |χ|\chi\rangle can be written as |χ=l|alal|χ|\chi\rangle=\sum_{l}|a_{l}\rangle\langle a_{l}|\chi\rangle. The probability PP of measuring |χ|\chi\rangle to be in the state |al|a_{l}\rangle via a measurement of EE is P=|al|χ|2=AlA.P=|\langle a_{l}|\chi\rangle|^{2}=\frac{A_{l}}{A}\text{.} Here, AA is the number of copies of |χ|\chi\rangle and AlA_{l} represents the number of these that become |al|a_{l}\rangle upon measurement of EE. In most calculations presented here, the eigenstates will be the three-qubit states |φ3|\varphi\rangle^{\otimes 3}, where |φ{|0,|1}|\varphi\rangle\in\{|0\rangle,|1\rangle\}.

As one of the main quantum error mitigation techniques, ZNE extrapolates to the zero-noise limit of a quantum device by scaling the strength of noise [17, 15]. ZNE estimates an ideal (noiseless) expectation value EidealTr[E|χχ|]\left<E\right>_{ideal}\equiv\text{Tr}\left[E|\chi\rangle\langle\chi|\right] from a group of noisy measurements by extrapolating to the zero-noise case. The Eideal\left<E\right>_{ideal} denotes the expected result in a measurement, i.e., Eideal=lal|al|χ|2\left<E\right>_{ideal}=\sum_{l}a_{l}|\langle a_{l}|\chi\rangle|^{2}. The strength of the noise is represented by a noise scale factor, λ1\lambda\geq 1, and the expectation value of EE for that λ\lambda is represented as Enoisyλ\left<E\right>_{noisy}^{\lambda}.

Generally, three noise-scaling methods can be utilized: (i) pulse stretching, (ii) local folding, and (iii) global folding. (i) Pulse stretching is an analog method that amplifies the noise of the quantum device by stretching microwave gate pulses to longer time intervals. (ii) Local folding maps unitary gates in a quantum circuit with a mapping logic of GG(GG)kG\rightarrow G\left(G^{\dagger}G\right)^{k}, where GG represents an implementable gate and kk is a positive integer influenced by λ\lambda. With a given λ\lambda, one could fold some or all gates in a quantum circuit with k1k\geq 1. The total number of quantum gates of a folded circuit is approximately λ\lambda times of the number of gates of the unmitigated circuit (λ=1\lambda=1 circuit). Three methods can be utilized for inserting the folding gates locally, namely, from the left, from the right, or at random (see Fig. 1). (iii) Global folding utilizes the same mapping logic but folds a collection of unitary gates together, i.e., UU(UU)kU\rightarrow U\left(U^{\dagger}U\right)^{k}, where UU is used to represent a circuit [26].

Refer to caption
Figure 3: Quantum circuits of the quantum routing protocol before and after transpilation. In the circuits, H stands for the Hadamard gate, T is a phase gate introducing a π/4\pi/4 phase, X represents the NOT gate, X\sqrt{\text{X}} rotates a qubit about the X-axis by π/2\pi/2, and Rz rotates a qubit about the Z-axis with a given phase. The three-qubit gate is the controlled-swap gate which realizes the quantum routing process, and the two-qubit gate is the Controlled-X (CX) gate.

If one chooses λ=[λ1,λ2,,λj]\lambda=\left[\lambda_{1},\lambda_{2},\cdots,\lambda_{j}\right], then jj ancillary quantum circuits would be constructed accordingly. After executing these ancillary circuits on the quantum device, jj values of Enoisyλ\left<E\right>_{noisy}^{\lambda} can be collected. Extrapolation is implemented as a post-processing method acting on the collected Enoisyλ\left<E\right>_{noisy}^{\lambda}. Multiple extrapolation methods, such as linear extrapolation, polynomial extrapolation, and exponential extrapolation, can be considered. These methods fit the curve plotted by Enoisyλ\left<E\right>_{noisy}^{\lambda} as a function of λ\lambda. Based on the fitted curve, Eideal\left<E\right>_{ideal} can be found via extrapolation to λ=0\lambda=0.

II-B Overview of PEC

Different from ZNE, PEC attempts to represent noiseless gates (non-implementable) with noisy gates (implementable). The working principle of PEC is illustrated in Fig. 2. Assume that a unitary circuit UU^{\prime} is applied to mm qubits initially prepared as |0m|0\rangle^{\otimes m}, and UU^{\prime} is composed of TT noiseless gates GtG^{\prime}_{t}, where t{1,2,,T}t\in\{1,2,\cdots,T\}. Suppose that GtG^{\prime}_{t} also indicates the specific qubits that are to be applied. This noiseless circuit, UU^{\prime}, can be expressed as U=GTG2G1U^{\prime}=G^{\prime}_{T}\cdots G^{\prime}_{2}G^{\prime}_{1}, which is a noiseless version of UU.

The first core step of PEC is the representation of each GtG^{\prime}_{t}, by a set of noisy, but implementable, gates {Gt,nt}\{G_{t,n_{t}}\} in the form of

Gt=ntηt,ntGt,nt=ηt,1tGt,1t+ηt,2tGt,2t++ηt,NtGt,Nt,\begin{split}G^{\prime}_{t}&=\sum_{n_{t}}\eta_{t,n_{t}}G_{t,n_{t}}\\ &=\eta_{t,1_{t}}G_{t,1_{t}}+\eta_{t,2_{t}}G_{t,2_{t}}+\cdots+\eta_{t,N_{t}}G_{t,N_{t}}\text{,}\end{split} (1)

where ηt,nt\eta_{t,n_{t}} are real coefficients and satisfy the trace-preserving condition, i.e., ntηt,nt=1\sum_{n_{t}}\eta_{t,n_{t}}=1. The number of gates, ntn_{t}, required to represent GtG^{\prime}_{t} at any time is a variable between 1 and NtN_{t}. Note that ntn_{t} varies gate by gate and is dependent on tt. The method of deriving the noisy representation of a specific noiseless gate in our experiments is detailed in Section III-B.

The second core step of PEC is the estimation of Eideal\left<E\right>_{ideal} by sampling from the noisy representations via a Monte Carlo average [15, 27]. If the noisy representation of each noiseless gate in UU^{\prime} is known, then Eideal\left<E\right>_{ideal} can be estimated as a Monte Carlo average over different noisy circuits, where each noisy circuit is sampled according to the noisy representations. In principle, with full tomographic knowledge of {Gt,nt}\{G_{t,n_{t}}\} and sufficiently large number of samples, one could cancel all hardware noise [28]. Replacing each GtG^{\prime}_{t} in UU^{\prime} with its noisy representation, Eideal\left<E\right>_{ideal} can be expressed as

Eideal=Tr[U(ρ0)E]=nηnEnnoisy,\left<E\right>_{ideal}=\text{Tr}\left[U^{\prime}(\rho_{0})E\right]=\sum_{\vec{n}}\eta_{\vec{n}}\left<E_{\vec{n}}\right>_{noisy}\text{,} (2)

where ρ0\rho_{0} is the initial state, |0m|0\rangle^{\otimes m}, of UU^{\prime},

ηn:=t=1Tηt,nt𝕌n:=t=1TGt,nt, and\eta_{\vec{n}}:=\prod_{t=1}^{T}\eta_{t,n_{t}}\text{, }\mathbb{U}_{\vec{n}}:=\prod_{t=1}^{T}G_{t,n_{t}}\text{, and} (3)
Ennoisy:=Tr[𝕌n(ρ0)E], such that\left<E_{\vec{n}}\right>_{noisy}:=\text{Tr}\left[\mathbb{U}_{\vec{n}}\left(\rho_{0}\right)E\right]\text{, such that} (4)
U=nηn𝕌n=t=1T(ntηt,ntGt,nt).U^{\prime}=\sum_{\vec{n}}\eta_{\vec{n}}\mathbb{U}_{\vec{n}}=\prod_{t=1}^{T}\left(\sum_{n_{t}}\eta_{t,n_{t}}G_{t,n_{t}}\right)\text{.} (5)

Again, ηn\eta_{\vec{n}} are real coefficients, satisfying nηn=1\sum_{\vec{n}}\eta_{\vec{n}}=1 [18]. Note that 𝕌n\mathbb{U}_{\vec{n}} represents the unitary of a noisy quantum circuit that is sampled from the noisy representations of the noiseless gates and is regarded as an ancillary circuit of PEC. The number of 𝕌n\mathbb{U}_{\vec{n}} is the number of samples, and we denote this number as ss. All Ennoisy\left<E_{\vec{n}}\right>_{noisy} can be obtained from the NISQ devices since the 𝕌n\mathbb{U}_{\vec{n}} only require implementable gates. With sufficient and a suitable linear combination of Ennoisy\left<E_{\vec{n}}\right>_{noisy}, one can obtain an unbiased estimate of Eideal\left<E\right>_{ideal}.

III Experiments

III-A Quantum Routing with Error Mitigation

We now apply the mitigation methods to quantum routing realized on the ibmq_jakarta superconducting quantum device - a device which has seven physical qubits with a horizontal H shape [21]. We use the quantum routing protocol utilized in [22] as the application to benchmark the performance of the mitigation methods. This routing protocol requires three qubits: a signal qubit |ϕs|\phi_{s}\rangle, a control qubit |ϕc|\phi_{c}\rangle, and a null qubit |ϕn=|0n|\phi_{n}\rangle=|0\rangle_{n}, which is an ancillary qubit of the quantum router. We define |ϕs=cos(π/4)|0s+eiπ/4sin(π/4)|1s|\phi_{s}\rangle=\cos(\pi/4)|0\rangle_{s}+e^{i\pi/4}\sin(\pi/4)|1\rangle_{s} representing the transmitted signal information, and note |ϕs|\phi_{s}\rangle can be prepared by sequentially implementing the Hadamard gate and the T phase gate (which introduces a π/4\pi/4 phase). We prepare |ϕc=(|0c+|1c)/2|\phi_{c}\rangle=(|0\rangle_{c}+|1\rangle_{c})/\sqrt{2} via the Hadamard gate, where |ϕc|\phi_{c}\rangle stands for the control information directing the path of |ϕs|\phi_{s}\rangle. The signal qubit is injected into the quantum router via path 11, and the null qubit is initially prepared at path 22. The input of the quantum router is thus given by |Φ=|ϕs1|ϕn2|ϕc|\Phi\rangle=|\phi_{s}\rangle_{1}|\phi_{n}\rangle_{2}|\phi_{c}\rangle, where the subscripts 11 and 22 represent the paths 11 and 22, respectively. The quantum router routes the signal qubit to the paths 11 and 22 simultaneously since the control qubit is in a superposition state. Therefore, the output of the quantum router is |Φf=(|ϕs1|ϕn2|0c+|ϕn1|ϕs2|1c)/2|\Phi\rangle_{f}=\left(|\phi_{s}\rangle_{1}|\phi_{n}\rangle_{2}|0\rangle_{c}+|\phi_{n}\rangle_{1}|\phi_{s}\rangle_{2}|1\rangle_{c}\right)/\sqrt{2}, which is an entanglement between the control qubit and the two paths.

We build a quantum circuit to realize the quantum routing protocol, and then execute this quantum circuit via a transpiled version of the circuit - see Fig. 3. The quantum gates in the transpiled circuit can be implemented directly on the quantum device. The construction of the quantum circuit and the implementation of the transpilation are realized via IBM’s open-source software development kit—the Quantum Information Science toolKit (Qiskit) [29]. We choose three physically connected qubits with relatively low quantum gate error rates to act as the three qubits of the transpiled circuit. Note that the quantum gate error rates may change over time - the ibmq_jakarta is calibrated daily.

III-B Experimental Setups

The two quantum error mitigation methods, ZNE and PEC, mainly focus on quantum gate errors, decoherence errors, and cross-talk errors - they cannot mitigate measurement errors. Measurement errors mistakenly read a qubit in the |0|0\rangle state as the |1|1\rangle state, and vice versa. We choose a measurement error mitigation protocol [30] provided by Qiskit to reduce measurement errors. This protocol requires ancillary quantum circuits, which we call calibration circuits. One needs 2m2^{m} calibration circuits to construct a 2m×2m2^{m}\times 2^{m} calibration matrix MM, where mm is the number of qubits that are measured. Each calibration circuit prepares the mm qubits to one of 2m2^{m} Z-basis states before using the Z-basis measurements to measure them, where the Z-basis states are |φm|\varphi\rangle^{\otimes m} and |φ{|0,|1}|\varphi\rangle\in\{|0\rangle,|1\rangle\}. The measurement results of the calibration circuits determine MM, and M1M^{-1} is then applied to the experimental results to eliminate measurement errors. Typically, fidelity improvements of order 10%10\% are found via elimination of measurement errors. Henceforth by the term “unmitigated” we will mean without any ZNE or PEC included in the results - measurement error mitigation is by default included in all results we show here. The term “error mitigation” will henceforth refer only to ZNE and/or PEC.

To investigate the experimental performance of the quantum routing protocol with quantum error mitigation, we utilize an open-source package named Mitiq [28] to implement ZNE and PEC. Although Qiskit recently released built-in functions for employing quantum error mitigation methods (twirled readout error extinction, ZNE, and PEC) [31], one cannot implement these methods step by step and obtain detailed data. Another reason why we choose Mitiq instead of Qiskit’s built-in functions is that we can concatenate multiple mitigation methods through Mitiq. For implementing ZNE, we set the noise scale factor λ=[1,3,5,7,9,11,13]\lambda=\left[1,3,5,7,9,11,13\right], and we choose local folding at random to scale the noise. Seven noise-scaled circuits are generated based on the seven values of λ\lambda, and each noise-scaled circuit is executed A=100,000A=100,000 times (this number of executions applied to all experiments). We choose polynomial extrapolation with order 22 to extrapolate to Eideal\left<E\right>_{ideal}.

In principle, we need to acquire full tomographic knowledge of the quantum gates in the transpiled circuit to implement PEC. However, to simplify our experiments, we make two assumptions: (i) We assume we can neglect single-qubit gate errors and only focus on two-qubit gate errors since the two-qubit gate error rates are an order of magnitude higher. (ii) We assume that the two-qubit gates are followed by a global depolarizing noise. The transpiled circuit only has one type of two-qubit gate, the CX gate. Based on assumption (ii), we have

GnoisyCX=𝒟𝒫GidealCX,G_{noisy}^{CX}=\mathcal{D}\circ\mathcal{P}\circ G_{ideal}^{CX}\text{,} (6)

where GnoisyCXG_{noisy}^{CX} is the implementable CX gate that we assumed, GidealCXG_{ideal}^{CX} is the noiseless CX gate, and 𝒫{I,X,Y,Z}2\mathcal{P}\in\{I,X,Y,Z\}^{\otimes 2} is a Pauli trace-preserving completely positive map. Note that

𝒟(ρ^)=(1ϵ)ρ^+Iϵ/4,\mathcal{D}(\hat{\rho})=(1-\epsilon)\hat{\rho}+I\epsilon/4, (7)

represents the two-qubit depolarizing channel, where ρ^\hat{\rho} stands for the input state of this channel and ϵ\epsilon is the noise level of the CX gate [15]. For each CX gate in the transpiled circuit, we acquire the associated CX gate error ϵ\epsilon, which varies over time, from the calibration data reported in [21]. Based on Eqs. (6) and (7), and with known ϵ\epsilon, GidealCXG_{ideal}^{CX} can be represented by a group of noisy gates in the form of Eq. (1). Then, using noisy representation of the noiseless CX gate, we conduct a Monte Carlo sampling process via Mitiq with s=20s=20 (2020 ancillary circuits are generated for PEC). From the many executions, the measurement results of the ancillary circuits are collected to calculate Eideal\left<E\right>_{ideal}.

To concatenate ZNE and PEC, we first fold gates (from the left) of the transpiled circuit with λ=[1,3,5,7,9]\lambda=\left[1,3,5,7,9\right], generating five noise-scaled circuits. We then apply PEC to each noise-scaled circuit with s=20s=20, which means that we represent each CX gate in the noise-scaled circuits by its noisy representation that we derived before. From the many executions, the error-mitigated data of the noise-scaled circuits are collected, the data will be utilized for extrapolating to Eideal\left<E\right>_{ideal}, again by polynomial extrapolation with order 22.

Refer to caption
Figure 4: PP as a function of λ\lambda using ZNE. The circles represent PP obtained from the quantum device, and the circles plotted on the vertical dashed lines indicate the unmitigated results of PP. The solid lines are polynomial fitted curves with order 22, and the cross markers stand for the corresponding mitigated results of PP.
Refer to caption
Figure 5: Results using ZNE or/and PEC obtained from the quantum device. The green bars are noiseless results plotted for reference, and the missing green bars indicate that the noiseless results should be 0.

III-C Experimental Results

We define that ρ=|ΦfΦ|\rho=|\Phi\rangle_{f}\langle\Phi| is the “theoretical” density matrix of the quantum router’s output, i.e., the final state of the transpiled circuit executed on a noiseless quantum device. We define ρ\rho^{\prime} as the “experimental” density matrix of the quantum router’s output obtained from the quantum device. Instead of using the expectation values, we utilize PP as one of our performance metrics. In this quantum routing experiment, PP is the probability of measuring ρ\rho^{\prime} to be in one of the eigenstates |η=|φ3|\eta\rangle=|\varphi\rangle^{\otimes 3} with the measurement operator ZZZZ\otimes Z\otimes Z.

The values of PP as a function of λ\lambda using ZNE are demonstrated in Fig. 4. In the noiseless situation, the probability of observing one of the |000|000\rangle, |001|001\rangle, |011|011\rangle, and |100|100\rangle states is 0.250.25, and the probability of observing one of the remaining states is 0. We see that the noise grows with increasing λ\lambda, and the extrapolated results are closer to (or even the same as) the noiseless results, indicating that ZNE is an effective method to mitigate quantum errors. The unmitigated and mitigated PP using different error mitigation methods are demonstrated in Fig. 5. One can observe that PP are closer to the noiseless results after introducing an error mitigation method. However, some over-correction can be noticed, especially when the concatenation of ZNE and PEC is applied.

Beyond PP, we choose entanglement fidelity FF as our main performance metric, where FF is expressed as F=(Trρρρ)2F=\left(\text{Tr}\sqrt{\sqrt{\rho}\,\,\rho^{\prime}\sqrt{\rho}}\right)^{2}. Note that ρ\rho^{\prime} is reconstructed by quantum state tomography, which requires at least 33=273^{3}=27 copies of the transpiled circuits (since there are three qubits in the circuit) to apply 2727 measurements of operators {XXX,XXY,,ZZZ}\{X\otimes X\otimes X,X\otimes X\otimes Y,\cdots,Z\otimes Z\otimes Z\}, which are tensor products of 33 Pauli operators. For each transpiled circuit with a distinct measurement operator, we apply ZNE or/and PEC to improve its corresponding values of PP. One can reconstruct ρ\rho^{\prime} with PP and the corresponding operators via the quantum state tomography.

The values of FF determined with different error mitigation methods are plotted in the main part of Fig. 6. For comparison, in the inset of Fig. 6 we also demonstrate the unmitigated FF values determined from other IBM’s quantum devices, namely, the ibmq_belem, ibm_oslo, and ibm_lagos. These inset values show that the machine we use here, the ibm_jakarta, offers the best performance in terms of unmitigated results and therefore forms the best starting point to apply mitigation methods to. Reverting back to the main part of the figure, we can see the fidelity results for singular use of ZNE and PEC are similar, showing a minor improvement in FF compared to the unmitigated result obtained from the ibm_jakarta. However, interestingly the concatenation method demonstrates F1F\approx 1, representing an almost-perfect performance. We should note this improvement does come at a cost - the concatenation method has a higher resource requirement and demands a longer execution time compared to singular use of ZNE or PEC. The almost-unity fidelity outcome of Fig. 6 represents the main result of this work.

Refer to caption
Figure 6: FF of the quantum router with and without quantum error mitigation techniques. The dashed horizontal line indicates the fidelity with measurement error mitigation only. The inset figure indicates the unmitigated result of the quantum routing protocol conducted on other quantum devices, namely ibmq_belem, ibm_oslo, and ibm_lagos. One can observe that these machines obtained lower values of FF compared to the one of the ibmq_jakarta, such that we take the unmitigated value F=0.83F=0.83 as the baseline for comparing the mitigated results.

III-D QRAM with Error Mitigation

It is perhaps useful to close this work with a short discussion on another application that uses quantum-routing-like functionality. Quantum Random Access Memory (QRAM) is an analogy of classical RAM - a critical element of a classical computing architecture. Different from classical RAM, however, QRAM allows one to query a superposition of memory addresses that store either classical or quantum information [32]. A QRAM query is given by

dαd|d|0QRAM|Ψf=dαd|d|Dd,\sum_{d}\alpha_{d}|d\rangle|0\rangle\xrightarrow{\text{QRAM}}|\Psi\rangle_{f}=\sum_{d}\alpha_{d}|d\rangle|D_{d}\rangle\text{,} (8)

where dαd|d\sum_{d}\alpha_{d}|d\rangle is a superposition of queried addresses and |Dd|D_{d}\rangle stands for the quantum or classical data stored in address |d|d\rangle. This illustrates the similarities of QRAM with quantum routing. One of the most efficient QRAM schemes is the bucket brigade scheme, which employs a binary-tree-based query architecture [33]. Based on this scheme, we construct a bucket-brigade style QRAM circuit, as shown in Fig. 7. The qubit |ϕc|\phi\rangle_{c} in this QRAM circuit represents an address qubit, including the query information (addresses that one wants to query). The qubits |T0|T_{0}\rangle and |T1|T_{1}\rangle stand for the binary tree and |D0|D_{0}\rangle and |D1|D_{1}\rangle are data stored at the memory cells. We define that |D0|D_{0}\rangle is a random qubit storing quantum information and |D1=|1|D_{1}\rangle=|1\rangle stores classical information. The last qubit in the QRAM circuit is regarded as the output of the QRAM and stores all of the data queried by the address qubit. For this QRAM circuit, |Ψf=(|0c|D0out+|1c|D1out)/2|\Psi\rangle_{f}=\left(|0\rangle_{c}|D_{0}\rangle_{out}+|1\rangle_{c}|D_{1}\rangle_{out}\right)/\sqrt{2}, since we define the address qubit as |ϕc|\phi\rangle_{c}.

We again chose the entanglement fidelity FF as our performance metric but with the theoretical density matrix ρ=|ΨfΨ|\rho=|\Psi\rangle_{f}\langle\Psi| and the experimental density matrix reconstructed by applying quantum state tomography on the first (count from the top) and the last qubits of the QRAM circuit illustrated. However, from our QRAM experiments we find the maximum increase in fidelity due to error mitigation is only 5%5\% (maximum fidelity found being 0.76). This phenomenon is caused by the complexity of the transpiled circuits, relative to the transpiled quantum routing application discussed earlier. In particular, one can observe that the QRAM circuit includes two controlled-swap gates (see Fig. 7), while the quantum routing circuit requires one such gate. The increase in the number of controlled-swap gates leads to a longer time and a higher complexity for the execution of QRAM. The longer execution time amplifies the decoherence errors, and the increase of the number of gates in the execution accumulates the gate errors. Future work for implementing QRAM on the NISQ devices should focus on the improvement of the quantum error mitigation methods designed for complicated quantum circuits.

Refer to caption
Figure 7: An example of a QRAM circuit. The purple gate indicates the preparation of |ψ|\psi\rangle.

IV Conclusions

In this work, we experimentally tested the performance of two quantum error mitigation methods, ZNE and PEC, implemented in the context of a quantum routing protocol. Our results indicated that utilizing ZNE or PEC helped improve the performance of the near-term quantum devices. More importantly, we found concatenating ZNE and PEC impressively increased the entanglement fidelity of the quantum router to effectively one. This result reveals the capacity of concatenating quantum error mitigation methods as applied to NISQ devices. Although quantum error mitigation methods require additional executions of ancillary quantum circuits, our results show the critical role such methods can have for applications run on current NISQ devices. More specifically, our results provide an overview of what can be anticipated for an error-mitigated quantum router in practice - illustrating that full-blown quantum error correction processes need not be implemented on current devices for this important quantum application.

References

  • [1] M. Pant et al., “Routing entanglement in the quantum internet,” NPJ Quantum Inf., vol. 5, no. 1, p. 25, 2019.
  • [2] L.-M. Duan and C. Monroe, “Colloquium: Quantum networks with trapped ions,” Rev. Mod. Phys., vol. 82, pp. 1209–1224, 2010.
  • [3] S. Wehner, D. Elkouss, and R. Hanson, “Quantum internet: A vision for the road ahead,” Science, vol. 362, no. 6412, 2018.
  • [4] V. Giovannetti, S. Lloyd, and L. Maccone, “Quantum random access memory,” Phys. Rev. Lett., vol. 100, no. 16, 160501, 2008.
  • [5] J. Miguel-Ramiro et al., “SQEM: Superposed quantum error mitigation,” arXiv:2304.08528, 2023.
  • [6] S. J. Nawaz et al., “Quantum machine learning for 6G communication networks: State-of-the-art and vision for the future,” IEEE Access, vol. 7, pp. 46 317–46 350, 2019.
  • [7] K. Lemr et al., “Resource-efficient linear-optical quantum router,” Phys. Rev. A, vol. 87, no. 6, 062333, 2013.
  • [8] X. X. Yuan et al., “Experimental demonstration of a quantum router,” Sci. Rep., vol. 5, no. 1, 12452, 2015.
  • [9] X. Y. Chang et al., “Experimental demonstration of an entanglement-based quantum router,” arXiv:1207.7265, 2013.
  • [10] K. Lemr and A. Černoch, “Linear-optical programmable quantum router,” Opt. Commun., vol. 300, pp. 282–285, 2013.
  • [11] K. Bartkiewicz et al., “Implementation of an efficient linear-optical quantum router,” Sci. Rep., vol. 8, no. 1, 13480, 2018.
  • [12] B. K. Behera, T. Reza, A. Gupta, and P. K. Panigrahi, “Designing quantum router in IBM quantum computer,” Quantum Inf. Process., vol. 18, no. 11, p. 328, 2019.
  • [13] J. Preskill, “Quantum computing in the NISQ era and beyond,” Quantum, vol. 2, p. 79, 2018.
  • [14] A. Lowe et al., “Unified approach to data-driven quantum error mitigation,” Phys. Rev. Res., vol. 3, no. 3, 033098, 2021.
  • [15] K. Temme, S. Bravyi, and J. M. Gambetta, “Error mitigation for short-depth quantum circuits,” Phys. Rev. Lett., vol. 119, no. 18, 180509, 2017.
  • [16] A. Kandala et al., “Error mitigation extends the computat. reach of a noisy quantum processor,” Nat., vol. 567, no. 7749, pp. 491–495, 2019.
  • [17] Y. Li and S. C. Benjamin, “Efficient variational quantum simulator incorporating active error minimization,” Phys. Rev. X, vol. 7, no. 2, 021050, 2017.
  • [18] A. Mari, N. Shammah, and W. J. Zeng, “Extending quantum probabilistic error cancellation by noise scaling,” Phys. Rev. A, vol. 104, no. 5, 052607, 2021.
  • [19] Z. Cai et al., “Quantum error mitigation,” arXiv:2210.00921, 2022.
  • [20] D. Bultrini et al., “Simple mitigation strategy for a systematic gate error in IBMQ,” arXiv:2012.00831, 2020.
  • [21] “IBM Quantum,” ibm.com. https://quantum-computing.ibm.com.
  • [22] W. Shi and R. Malaney, “Entanglement of signal paths via noisy superconducting quantum devices,” Entropy, vol. 25, no. 1, p. 153, 2023.
  • [23] R. Laflamme et al., “Perfect quantum error correcting code,” Phys. Rev. Lett., vol. 77, no. 1, pp. 198–201, 1996.
  • [24] L. Fan et al., “Superconducting cavity electro-optics: A platform for coherent photon conversion between superconducting and photonic circuits,” Sci. Adv., vol. 4, no. 8, eaar4994, 2018.
  • [25] M. Mirhosseini et al., “Superconducting qubit to optical photon transduction,” Nature, vol. 588, no. 7839, pp. 599–603, 2020.
  • [26] T. Giurgica-Tiron et al., “Digital zero noise extrapolation for quantum error mitigation,” in 2020 IEEE International Conference on Quantum Computing and Engineering (QCE), 2020, pp. 306–316.
  • [27] S. Endo, S. C. Benjamin, and Y. Li, “Practical quantum error mitigation for near-future applications,” Phys. Rev. X, vol. 8, no. 3, 031027, 2018.
  • [28] R. LaRose et al., “Mitiq: A software package for error mitigation on noisy quantum computers,” Quantum, vol. 6, p. 774, 2022.
  • [29] M. S. Anis et al., “Qiskit: An open-source framework for quantum computing,” doi.org. https://doi.org/10.5281/zenodo.2573505.
  • [30] “Measurement error mitigation,” qiskit.org. https://qiskit.org/textbook/ ch-quantum-hardware/measurement-error-mitigation.html.
  • [31] “Error suppression and error mitigation with Qiskit Runtime,” qiskit.org. https://qiskit.org/documentation/partners/qiskit_ibm_runtime/tutorials/ Error-Suppression-and-Error-Mitigation.html.
  • [32] O. D. Matteo, V. Gheorghiu, and M. Mosca, “Fault-tolerant resource estimation of quantum random-access memories,” IEEE Transactions on Quantum Engineering, vol. 1, pp. 1–13, 2020.
  • [33] S. Arunachalam et al., “On the robustness of bucket brigade quantum RAM,” New J. Phys., vol. 17, no. 12, 123010, 2015.