Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Quantum simulation of Pauli channels and dynamical maps: Algorithm and implementation

  • Tomás Basile ,

    Contributed equally to this work with: Tomás Basile, Carlos Pineda

    Roles Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Facultad de Ciencias. Universidad Nacional Autónoma de México, Ciudad de México, Mexico, Instituto de Física, Universidad Nacional Autónoma de México, Ciudad de México, México

  • Carlos Pineda

    Contributed equally to this work with: Tomás Basile, Carlos Pineda

    Roles Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

    carlospgmat03@gmail.com

    Affiliation Instituto de Física, Universidad Nacional Autónoma de México, Ciudad de México, México

Abstract

Pauli channels are fundamental in the context of quantum computing as they model the simplest kind of noise in quantum devices. We propose a quantum algorithm for simulating Pauli channels and extend it to encompass Pauli dynamical maps (parametrized Pauli channels). A parametrized quantum circuit is employed to accommodate for dynamical maps. We also establish the mathematical conditions for an N-qubit transformation to be achievable using a parametrized circuit where only one single-qubit operation depends on the parameter. The implementation of the proposed circuit is demonstrated using IBM’s quantum computers for the case of one qubit, and the fidelity of this implementation is reported.

1 Introduction

Since their inception, quantum computers were proposed as powerful tools for the simulation of quantum systems [1]. Being open quantum systems of fundamental [2, 3] and practical [4] interest, there has been efforts towards the simulation of the evolution of open quantum systems [57] and specifically for quantum channels [811], which can be used to study and model decoherence. Such quantum algorithms can be represented using what is known as a quantum circuit [12], which we will study in section 3.

Such systems have been simulated because of their many applications, such as studying the emergence of multipartite entanglement [13, 14], studying dissipative processes [15] and modeling non-Markovian dynamics [16]. Among quantum systems, the simplest case is that of a qubit [12], and within them, the simplest class of channels that produce decoherence are Pauli channels [1719]. Indeed, they serve as effective models for the noise affecting quantum devices [20].

In this article we propose a quantum algorithm for simulating Pauli channels and implement it on one of IBM’s quantum computers. The algorithm proposed is straightforward and can be used for any Pauli channel by only changing a couple of parameters in the operations it performs. To represent the algorithm, we use a quantum circuit, which is a common way of representing algorithms intended for quantum computers. [12]. Furthermore, we will also simulate Pauli dynamical maps, which are continuous parametrized curves of Pauli channels. These maps can be used to model a continuous change of a qubit instead of only discrete jumps. The generality of the algorithm proposed for Pauli channels will be very useful in this part, since then using for dynamical maps will come very naturally. Implementing these maps will lead us to study quantum algorithms with free parameters, something that is common in areas such as quantum machine learning [21]. This can be done using parametrized quantum circuits, which consist of quantum circuits in which one or more operations depend on a free parameter.

We start by providing the definition of quantum channels, the general framework used here, and multi-qubit Pauli channels in section 2. Our first objective is to present a general and straightforward quantum algorithm capable of simulating Pauli channels on quantum computers; we do this in section 3, where we also demonstrate its implementation using IBM’s quantum computers for several single and two-qubit Pauli channels. Expanding beyond Pauli channels, we introduce the concept of Pauli dynamical maps, defined as a continuous parametrization of multi-qubit Pauli channels. In fact, in order to implement them, we study parametrized quantum circuits in chapter 4. Furthermore, we contribute to the body of work related to parametrized quantum circuits by establishing a theorem, which sets the mathematical conditions for the transformations that can be done using a parametrized circuit with the restriction that only a controlled single-qubit rotation in the circuit may depend on the parameter. Finally, in section 5, we conclude analyzing the Pauli dynamical maps that fulfill the conditions of theorem 2.

2 Pauli channels and dynamical maps

In this section we introduce the concept of quantum channels, focusing on a specific type called Pauli channels. Furthermore, we define Pauli dynamical maps, which are curves of Pauli channels parametrized by a variable.

2.1 Quantum channels

In quantum mechanics, a closed system’s state is represented by a vector in a Hilbert space . The state’s evolution is unitary and given by Schrodinger’s equation [22]. However, in real-world situations, quantum systems are usually open, which means that they interact with their environment [4]. For instance, the system’s state may become entangled with the environment, leading to a loss of information about the system’s state over time.

To describe open systems, instead of state vectors, we use matrices ρ that act on . These matrices are called density matrices, and they include information about the system’s interaction with its environment. For a density matrix ρ to be physically valid, it must satisfy two conditions: tr(ρ) = 1 and it must be positive semi-definite, which is denoted as ρ ≥ 0 [12].

Knowing this, we can now define quantum channels. Quantum channels are operators that can describe the evolution of open quantum systems, such that . Quantum channels are the most general linear operations that a quantum system can undergo independently of its past [23, 24]. These channels are constructed based on three fundamental properties: linearity, trace preservation, and complete positivity.

Linearity ensures that a quantum channel maps any ensemble of density matrices into the corresponding ensemble of their evolution. The trace preserving property is given by and guarantees that the quantum channel does not change the condition that tr(ρ) = 1. Finally, the channel should also preserve the condition ρ ≥ 0, and a map that does this is called a positive map. However, positivity of is not enough, and we actually require the more restrictive condition of complete positivity. Complete positivity means that is positive for any positive integer n (where is the n × n identity matrix). This ensures that even if the main system is entangled with another system, applying to the main system while doing nothing to the other one still results in a positive semidefinite state for the main system [12].

Given a quantum channel , the condition of trace preservation is straightforward to verify but complete positivity is not as simple. To test complete positivity of a quantum channel, Jamiołkowski and Choi [25, 26] developed a simple algorithm that exploits the isomorphism between a channel and the state , where is a maximally entangled state between the original system and an ancilla. Remarkably, the map is completely positive if and only if (also known as the Choi or dynamical matrix of ) is positive semidefinite.

2.2 Pauli channels

We have discussed the main features of quantum channels and now we turn our attention to a specific type of channels for N-qubit systems called Pauli channels. First we will define these channels for single-qubit systems, whose most general density matrix can be written as [12]: (1) with , and σ1,2,3 the usual Pauli matrices. The condition tr(ρ) = 1 requires that r0 = 1 while ρ ≥ 0 implies that the remaining r1,2,3 form a vector inside a unit sphere known as the Bloch sphere [27]. That is, every possible density matrix for a one-qubit system is uniquely associated with a point in a unit sphere.

Given a one-qubit system described by ρ, a Pauli channel is defined as an operation that with probability kγ applies the Pauli matrix σγ to the system, for γ = 0, 1, 2, 3 [17]. Mathematically, the Pauli channel is written in the following way: (2) where the probabilities kγ of applying σγ are non-negative real numbers such that ∑γ kγ = 1 (these conditions also ensure that the channel is trace preserving and completely positive).

Pauli channels are some of the most fundamental noise models in quantum information science [28]. Some notable examples of Pauli channels are the following:

  • Bit Flip Channel: This is a channel that with probability 1 − p leaves the qubit as it is and with probability p applies the σ1 matrix (which flips the basis states |0〉 and |1〉 of the qubit), and so it is given by: Analogous channels exist using σ3 (called the bit flip channel, which has a probability p of adding a relative phase π to the state) or using σ2 (called the phase flip channel, which has a probability p of flipping the base states and also add a relative phase π).
  • Depolarizing channel: This channel has a probability 1 − p of doing nothing to the qubit and a probability p of converting it into the maximally mixed state and it can be written as: (3)

We can also see how an arbitrary Pauli channel acts on an arbitrary density matrix. To do it, we substitute Eq (1) in Eq (2): (4) This can be simplified noting that (5) which was obtained following the commutation relation of Pauli matrices [σα, σβ] = 2αβγσγ and ϵαβγ is the Levi-Civita tensor. Then, Eq (4) takes the form (6) Eq (6) once again has the form of Eq (1) but with components (∑γ Aα,γkγ)rα. This gives us another way of understanding Pauli channels as operations that take each component rα of the density matrix and multiplies them by ∑γ Aα,γkγ, that is: (7) Notice that τ0 = 1, which is a consequence of ∑γ kγ = 1 and ensures that after the channel, the resulting density matrix still has trace one. Furthermore, reverting the definition of τα by using that , we get that . Then, using that kγ ≥ 0 we get the following conditions on the multipliers τα: (8) (9)

These conditions imply that (τ1, τ2, τ3) has to be inside a tetrahedron with vertices (1, 1, 1), (1, −1, −1), (−1, 1, −1) and (−1, −1, 1). Therefore, the τ1,2,3 are numbers between −1 and 1, which means that the components rα of the density matrix are always attenuated and possibly sign flipped.

Having defined the one qubit case, we can now generalize to N qubits. In order to do it, we need to introduce the so-called Pauli strings, defined as (10) where denotes a multi-index (α1, ⋯, αN) and αi ∈ {0, 1, 2, 3}. These operators form an orthogonal basis in the space of operators acting on N qubits. Similarly to the single-qubit case, the density matrix ρ of a system of N qubits can be written using Pauli strings as: (11) Then, just as before, we define a Pauli channel as a transformation that applies the operator to ρ with probability and is therefore described mathematically by: (12) where just as before, are non-negative real numbers such that .

As in the one qubit case, Pauli channels for N qubits attenuate the components of the density matrix. This can be seen by substituting Eq (11) in Eq (12) and using the property of Eq (5): which means that applying the Pauli channel multiplies the components by .

2.3 Pauli dynamical maps

As seen in the last section, Pauli channels and in general quantum channels are discrete maps that transform a density matrix ρ into . However, we could also define a continuous set of channels εp with p a real parameter.

For the special case of Pauli channels, we define a Pauli dynamical map as a continuous parametrized curve drawn inside the set of Pauli channels and starting at the identity channel. Therefore, a Pauli dynamical map can be written as (13) where p is a parameter in an interval [a, b] and is a Pauli channel for every p, with being the identity channel.

3 Circuit for a Pauli channel

In this section we propose a quantum circuit that simulates N-qubit Pauli channels. A quantum circuit is a model for representing computation on a quantum system. This computation may include preparing the initial state of the system, applying unitary operations and measuring the whole system or parts of it [22]. Our systems always consists of some number of qubits, that can be divided into the ones to which we will apply the quantum channel, or main qubits and the ones that help us complete said operation, or ancilla qubits. The circuit implements a unitary operator U on the system consisting of all the qubits and then the effect on the main qubits is measured. Moreover, we implement the circuit for N = 1 on a quantum computer and analyze the results using the diamond norm. We find that close to the depolarizing channel, the general circuit simulator can implement such channels with the highest fidelity.

3.1 Description of the circuit for a Pauli channel

To design the circuit that implements Eq (12), we construct a state that includes the probabilities kγ on the ancilla qubits and subsequently apply controlled Pauli operations on the main qubits. The circuit that does this is presented in Fig 1.

thumbnail
Fig 1. Circuit for an N-qubit Pauli channel.

The circuit creates the state on the 2N ancilla qubits denoted by .

https://doi.org/10.1371/journal.pone.0297210.g001

The first part of the circuit involves the creation of the state (14) on the ancilla qubits, where are numbers such that and the 2N-qubit state is defined as |γ1〉⋯|γN〉. When measured in the computational basis, the state given in Eq (15) collapses to with a probability . The circuit in Fig 1 uses this fact to apply on the main qubits with a probability by using controlled operations conditioned on the state of the system being , just as the Pauli channel is supposed to do.

3.2 Simulation for one-qubit Pauli channels

For the particular case of a Pauli channel on one qubit, the circuit that simulates it can be constructed as in Fig 2, which is a special case of Fig 1 but with all details explicitly shown. In said figure, the ancilla state of Eq (14) can be taken to be and it is created on the ancilla qubits with the help of three rotations of angles defined by the following equations: (15)

thumbnail
Fig 2. One-qubit Pauli channel circuit.

Circuit for a one-qubit Pauli channel, which is a particular case of Fig 1. Here we have two ancilla qubits and we use three rotations of angles given by Eq (15) to create the Ancilla State of of Eq (14) for the two ancilla qubits.

https://doi.org/10.1371/journal.pone.0297210.g002

We took a sample of one-qubit Pauli channels and evaluated their implementation on IBM’s ibmq-lima quantum computer [29], as shown in Fig 3. For each of the channels sampled, we used quantum process tomography [29, 30] to obtain the operator ξI corresponding to the implementation of the circuit in the quantum computer. Then, we compared ξI with the theoretical operator ξT of the Pauli channel we wanted to implement. To see how close the operators ξI and ξT are, we shall use the diamond distance [31], which is defined by (16) with I the identity map, || ⋅ ||1 the trace norm and the maximization done over all density matrices ρ. The calculation of this norm is done using the semi-definite program from reference [32]. When the two channels are the same, the diamond distance has a value of 0, while in the case that the channels are completely distinguishable, the distance reaches its maximum value of 2 [33]. For the analysis done in Fig 3, we define a sort of “diamond fidelity” as: (17) which ranges from 0, when the channels have a maximum distance, to 1, when they are exactly equal.

thumbnail
Fig 3. Results of the diamond fidelities as defined in Eq (18) for a sample of Pauli channels in the tetrahedron.

Notice that channels close to the center of the tetrahedron have high fidelities, while those close to the borders do not. Moreover, we show the results for cuts of the tetrahedron at different values of τ3.

https://doi.org/10.1371/journal.pone.0297210.g003

Finally, using the representation of Pauli channels in a tetrahedron as in Eq (8), we show in Fig 3 the diamond fidelity defined by Eq (17) for the channels analyzed. We can see that channels close to the completely depolarizing channel (that is close to the center of the tetrahedron) have a high f, while those close to unitary channels have much lower f. This is reasonable because quantum computers are prone to errors that depolarize qubits, which isn’t very problematic when trying to simulate depolarization but it is when simulating unitary processes. Moreover, as can be seen in Fig 3, the algorithm of Fig 2 is not optimal for channels in the edges of the tetrahedron, which corresponds to unitary channels. These channels could be accomplished more efficiently by simply applying the corresponding unitary operator directly. In this case we would be trading generality for fidelity. The main advantage of the algorithm is that we can simulate with a unitary circuit any Pauli channel, only varying a couple of angles in the circuit. In fact, as we will see, sometimes only changing one angle in the circuit will be enough to simulate many non-unitary dynamical maps of physical interest.

3.3 Simulation of a two-qubit Pauli channel

For the general case of a two-qubit Pauli channel, the circuit of Fig 1 requires two main qubits and four ancilla qubits. However, the quantum computer which we are using has only 5 qubits. We could still simulate a two qubit Pauli channel that applies at most 8 Pauli operations, instead of 16 which would be the most general case, using the three ancilla qubits. For example, consider the following two-qubit dephasing channel: (18) where p ∈ [0, 1] is a parameter that defines the channel. Since this channel has four Pauli operations, only 2 ancilla qubits will be necessary, and thus it can be implemented using the circuit of Fig 4b.

thumbnail
Fig 4. Circuit for 2-qubit dephasing channel.

Circuit implementation for the 2-qubit dephasing channel of Eq (17) and fidelity results of its implementation using ibmq-lima. The circuit is shown in figure a), where the state on the two ancilla qubits can be constructed just as it was done for Fig 2. In figure b) we show the results of fidelities after implementing this circuit on ibmq-lima for 25 values of p between 0 and 1, each of which is simulated 10 times.

https://doi.org/10.1371/journal.pone.0297210.g004

Just as for the one-qubit Pauli channels, this channel was implemented on IBM’s ibmq-lima quantum computer. We obtained the Choi matrix by doing quantum process tomography on the main qubits. Then, we calculated the diamond fidelity for different values of p and obtained the results shown in Fig 4a. As can be seen in the figure, the fidelity doesn’t vary much as we change the value of p. The average fidelity over all values of p is 0.758 and it is biggest when p = 0, corresponding to the identity channel, where it reaches a fidelity of 0.874.

4 One parameter circuits

Finally, we consider the simulation of Pauli dynamical maps. This is pretty much already solved, since just as Pauli channels, Pauli dynamical maps can be implemented using the circuit of Fig 1. However, there is one difference: the state to be created on the ancilla qubits now depends on a parameter p, and it is represented by the expression: (19) Thus, we temporarily shift our focus from Pauli channels and dynamical maps to the general problem of creating a circuit to generate a curve of states like the one described in Eq (19).

In general, producing this curve of states for N qubits will require many rotations parametrized by p, such as the three rotations used for the ancilla qubits in Fig 2. However, it would be preferable to achieve the same effect using only one parametrized rotation. This would allow us to interpret said rotation as a knob that smoothly traverses the curve of states. Consequently, we are faced with the question of which curves of states, such as the one described in Eq (19), can be produced using just a single parametrized rotation. To clarify this, we provide the following definition for a circuit with one parametrized rotation.

Definition 1 1-Parameter Rotation Circuit: A 1-Parameter Rotation (1PR) circuit is a parametrized quantum circuit that includes only one gate dependent on a parameter p. Moreover, the parametrized gate is a one-qubit rotation about any axis, whether controlled or not.

Therefore, a 1PR circuit implements a unitary operator U(p) on some number N of qubits, such that U depends on the parameter p only locally on one specific qubit.

Based on this definition, we aim to determine which curves of states can be generated using 1PR circuits. To accomplish this, we begin by proving that all 1PR circuits have the form depicted in Fig 5, where the parametrized rotation is around σ3 and is applied to the last qubit.

thumbnail
Fig 5. General form of a 1PR circuit.

Any 1PR circuit can be transformed into this form, where the rotation on the last qubit can be controlled or not by any of the other qubits. A and B are N-qubit gates that do not depend on the parameter p and s = s(p) is a function of the parameter.

https://doi.org/10.1371/journal.pone.0297210.g005

Theorem 1 An Nqubit 1PR circuit can always be transformed into the form shown in Fig 5.

Proof: First, we observe that according to the definition, a 1PR circuit always consists of an operation B followed by the parametrized rotation on a specific qubit and then another operation A, where A and B are not parametrized.

Next, we note that it is not necessary to consider rotations about an arbitrary axis, as a rotation about any axis parameterized by p can be transformed into a rotation about σ3 without introducing gates that depend on p. To see this, consider the rotation , where 2s is a function of p (the factor of 2 is for convenience later on) and represents the rotation axis. We can express as (sin θ cos ϕ, sin θ sin ϕ, cos θ), where θ and ϕ are fixed angles dependent on . The rotation can then be rewritten as follows: (20) Since the angles θ and ϕ do not depend on the parameter p, any 1PR circuit can be transformed into a circuit where the parametrized rotation is around σ3 instead of an arbitrary axis. Moreover, without loss of generality, we can choose the last qubit as the target qubit for the rotation, since if it is not, we could use swap gates to move the rotation to the first qubit without adding gates that depend on p.

Therefore, a 1PR circuit can be transformed such that the rotation is around σ3 and is applied to the last qubit (possibly controlled by other qubits), resulting in the form depicted in Fig 5.

With the aid of this theorem, we can now determine the curves of states of N qubits that can be generated using a 1PR circuit. This result is stated in the following theorem.

Theorem 2 Consider a 1PR circuit of N qubits parametrized by p and denote by U(p) the operator it implements on this system. Then, for every j ∈ {0, 1, ⋯, 2N − 1}, we have that: (21) with s(p) some function of p, |aj〉, |bj〉, |cjorthogonal states andaj|aj〉 + 〈bj|bj〉 + 〈cj|cj〉 = 1. Here |jrepresents an element of the N-qubit computational basis.

Proof: As before, from the definition of a 1PR circuit, we know that U(p) can be decomposed as ARB, where A, B are unitary operators acting on the N-qubit system and R is a rotation applied to one qubit. From theorem 1, we conclude that R can be taken in general as a σ3 rotation of angle 2s(p) applied to the last qubit and controlled by some of the other ones. To prove this theorem, we will apply U(p) to |j〉 by first applying B, then and finally A, with the goal of getting to Eq (21).

First, applying B to |j〉 results in , with Bi,j the entries of matrix B. This can be rewritten by separating the last qubit from the other N − 1: (22) After the operator B, the circuit applies the controlled rotation . To simplify the analysis, we separate the states of the first N − 1 qubits into those that fulfill the control conditions of the rotation (which we denote as the set ) and those that do not, and write it as (23)

Then, the rotation R will only affect the states on the first sum (since they fulfill the control conditions) and not the others. Therefore, using that a rotation acts by adding a phase eis(p) to |0〉 and a phase eis(p) to |1〉, we have that, (24) where we defined These states are clearly orthogonal because they are each linear combinations of different orthogonal states of the computational basis. Moreover, they satisfy 〈aj|aj〉 + 〈bj|bj〉 + 〈cj|cj〉 = 1 because this quantity is the squared norm of the jth column of B, which is unitary.

Finally, after having applied the rotation, the circuit applies gate A, so that the result is given by: (25) where are still orthogonal states that satisfy 〈a|a〉 + 〈b|b〉 + 〈c|c〉 = 1 because A is unitary.

This theorem implies that when starting from the state |0〉 or any other initial state, the only possible curves of states that can be created using a 1PR circuit are of the following form: (26) with conditions defined by the equations: (27)

Moreover, it is possible to construct a 1PR circuit to generate any given curve of states described by Eq (26). One approach to achieve this is by utilizing the circuit depicted in Fig 5, with the parametrized rotation R applied to the last qubit controlled by all the other qubits. There is some freedom when choosing the operators A and B, we only need to make sure that: (28) The remaining part of the operators A and B can be chosen in any arbitrary manner as long as they are unitary. Examples of these matrices are shown for particular dynamical maps in the next section.

To see that in fact creates the curve of states described in Eq (26), we can rewrite the expression of B|0〉 by separating the first N − 1 qubits from the last one: Since the parametrized rotation is controlled by all the first N − 1 qubits, it only applies to the first two terms of B|0〉. As a result, we obtain:

Finally, applying the operator A to this state yields: With this, we prove that any curve of states as that in Eq (26) can be constructed by the circuit in Fig 5 with the parametrized rotation controlled by all the other qubits by correctly choosing matrices A and B.

5 1PR circuit for a Pauli map

We can now use the previous results to conclude directly which Pauli dynamical maps can be implemented with a 1PR circuit. For this, the curve of states of Eq (19) has to be constructed with only one parametrized rotation, so it has to satisfy the conditions of theorem 2. Therefore, this implies that the map (29) can be implemented if there are numbers such that and (30) where |a〉, |b〉, |c〉 fulfill the conditions of Eq (27).

For the particular case of one qubit, we can show some examples of Pauli dynamical maps implementable with a 1PR circuit, which are plotted in Fig 6. The examples we show include some of the most common maps: the bit flip, phase flip, bit-phase flip and depolarizing. However, we also include the parabolic dynamical map, defined in Eq (32) and shown in Fig 6. This map traces a parabola inside the tetrahedron connecting two of its vertices and it describes a frontier in the tetrahedron between Pauli channels that are reachable by Lindbladian dynamics and those that are not [19].

  • Depolarizing: This dynamical map is given by (31) with p ∈ [0, 1]. Therefore, the curve of states |β(p)〉 needed on the ancilla qubits is such that |β0(p)|2 = (1 − 3p/4), |β1(p)|2 = |β2(p)|2 = |β3(p)|2 = p/4. Then, taking the βj to be real, the curve of states can be
    This state can be rewritten as: with . We can see that this curve satisfies the conditions of Eq (27), meaning that it can be created with a 1PR circuit. Explicitly, following the discussion after theorem 2, we know that this curve of states can be constructed by the circuit of Fig 7.
    The circuit requires defining A and B as in Eq (28), and for the particular vectors |a〉, |b〉, |c〉 of this dynamical map, we have that where, as mentioned before, the first column of A and the last three of B can be chosen arbitrarily as long as the resultant matrices are unitary. We ran this circuit in IBM’s quantum computer ibmq-lima for 25 different values of p between 0 and 1, with 20 repetitions for each value of p. The diamond fidelity was calculated in each case and is shown in Fig 8.
  • Parabolic dynamical map: We define the parabolic dynamical map as: (32) with p ∈ [0, 1]. If we take the βj to be real, the curve of states needed on the ancilla qubits can be: (33) This can be rewritten as with sin s = 2p − 1, so that this curve fulfills the conditions of Eq (27). This means that it can be created with the 1PR circuit of figure Fig 7. In this case, matrices A and B can be taken to be: where again, the first column of A and the last three of B can be chosen arbitrarily. As before, we ran this circuit for 25 values of p between 0 and 1, with 20 repetitions for each, obtaining as a result the fidelities shown in Fig 8.
  • Bit flip map: This dynamical map is defined as for p ∈ [0, 1]. In particular, if we take the βj to be real, we need to create the curve of states: This can be rewritten as with . Therefore, we can see that the curve satisfies the conditions of Eq (27) and it can be created with a 1PR circuit. Matrices A and B can be obtained as for the other dynamical maps and we ran the resulting circuit in ibmq-lima with the same specifications as for the other examples, with the results are shown in Fig 8.
    The exact same thing can be done for the phase flip and bit phase flip dynamical maps by changing σ1 to σ3 and σ2 respectively. For example, the bit phase flip map was implemented in [13, 34] using an optical arrangement, and it was indeed done by varying only one angle that depends on the parameter p (the angle of a half waveplate).
thumbnail
Fig 6. Some Pauli dynamical maps that can be implemented with a 1PR circuit.

The curves painted in these tetrahedrons represent Pauli dynamical maps that can be implemented with 1PR circuits. (a) shows the dynamical maps mentioned in the main text, which are: depolarizing (purple), bit flip (blue), phase flip (green), bit-phase flip (red) and parabolic (orange). (b) shows dynamical maps selected at random that can be implemented with 1PR circuits.

https://doi.org/10.1371/journal.pone.0297210.g006

thumbnail
Fig 7. 1PR Circuit for one qubit curve of states.

This is a 1PR circuit for creating a curve of states that satisfies the conditions of theorem 2. given the curve of states, operations A and B can be defined as in Eq (28).

https://doi.org/10.1371/journal.pone.0297210.g007

thumbnail
Fig 8. Fidelities for dynamical maps.

Results of the fidelities obtained when simulating the three dynamical maps considered (depolarizing, parabolic and bit flip). The implementation was done on IBM’s ibmq-lima quantum computer. Furthermore, we can see that the fidelities are comparable to those of Fig 3, so that using the 1PR circuit doesn’t considerably affect fidelity.

https://doi.org/10.1371/journal.pone.0297210.g008

From the results of Fig 8, we can see that just as in figure Fig 3, fidelities are high for points close to the depolarizing channel (p = 1 for depolarizing map, p = 1/2 for parabolic map) and lower for points close to unitary channels (p = 0 for all maps and p = 1 for parabolic and bit flip). Furthermore, we can see that the actual values of the fidelities are comparable to those of Fig 3, which means that using the 1PR circuit as opposed to implementing each channel with Fig 2 does not considerably affect fidelity.

Furthermore, we can construct other examples of Pauli dynamical maps such that they can be implemented with a 1PR circuit. To do it, we only need to choose the three states |a〉, |b〉, |c〉 that satisfy the conditions of Eq (27). For example, this can be done systematically for the case of curves of states of two qubits (that is, for Pauli dynamical maps of one qubit) with the following procedure:

  1. We first choose the norms |a|, |b|, |c| such that 〈a|a〉 + 〈b|b〉 + 〈c|c〉 = 1. This can be done by selecting two angles μ ∈ [0, π/2], ν ∈ [0, π/2] and defining:
  2. We define |a′〉 = |a||0〉, |b′〉 = |b||1〉, |c′〉 = |c||2〉.
  3. Finally, we choose a unitary matrix V with the condition that its first row is equal to e(|a|, |b|, |c|, 0) with θ a uniform random phase. That way, we can define |a〉 = V|a′〉, |b〉 = V|b′〉, |c〉 = V|c′〉 and since V is unitary, these unprimed vectors will fulfill the conditions of Eq (27). Furthermore, the form of the first row ensures that the dynamical map begins at the identity, since it implies that when s = 0, the state created in Eq (30) is |a〉 + |b〉 + |c〉 = e|0〉, which corresponds with applying the identity channel.
    Such a matrix V can be randomly constructed by first finding three vectors orthogonal to the first row using the Gram-Schmidt process. Then selecting random complex numbers r1, r2, r3 such that |r1|2 + |r2|2 + |r3|2 = 1 and defining the second row of V to be . Once the first two rows are chosen, use Gram-Schmidt to find two vectors orthogonal to them and similarly define the third row as with |q1|2+ |q2|2 and q1, q2 selected at random. Finally, there is only one choice for the fourth row so that it is orthonormal to the first three and a random phase can be given to it.

Following this procedure for random angles and unitary matrices V, we plot four Pauli dynamical maps selected at random that can be implemented with a 1PR circuit in Fig 6.

6 Conclusion

In this work, we found a quantum algorithm for simulating Pauli channels in N-qubit systems and generalized it to Pauli dynamical maps by using parametrized quantum circuits. Furthermore, we implemented single-qubit Pauli channels on one of IBM’s quantum computers and obtained their fidelities.

Then, when working with Pauli dynamical maps, we searched for a way of minimizing the amount of parametric operations in the circuit by requiring that only one single-qubit rotation depends on the parameter. In theorem 2 we found the general mathematical conditions for this, applicable to any parametrized circuit. Given this condition, we considered the space of Pauli maps that are possible to parametrize with one parameter, and gave some explicit examples for a system of one qubit. As the number of qubits gets bigger, the degrees of freedom for choosing a Pauli dynamical map also gets bigger, so we would expect that the space of maps that can be done with only one parameter becomes a relatively smaller part of the whole space of Pauli dynamical maps. However, some paradigmatic maps as the dephasing one we studied for 2 qubits will still be possible to do with a 1PR circuit (for this case, this can be seen by noticing that said dephasing channel has the same form as the depolarizing channel for one qubit, which we proved to be possible to implement with a 1PR circuit).

In conclusion, this work presents yet another example of the current exploration into simulating open quantum systems in quantum computers, and we observe the effect that the error of a quantum computer have on these simulations, quantified by the fidelity. On the other hand, the result of theorem 2 shows what can be done with the condition of using only one parametrized rotation and can be applied to any quantum algorithm that requires parametrized circuits, such as those used for quantum machine learning [21].

References

  1. 1. Feynman RP. Simulating physics with computers. Int J Theor Phys. 1982;21(6/7):467–488.
  2. 2. Zurek WH. Decoherence and the transition from quantum to classical. Phys Today. 1991;44(10):36–44.
  3. 3. Schlosshauer M. Decoherence, the measurement problem, and interpretations of quantum mechanics. Rev Mod Phys. 2005;76(4):1267–1305.
  4. 4. Breuer HP, Petruccione F. The theory of open quantum systems. 1st ed. New York: Oxford University Press; 2002.
  5. 5. García-Pérez G, Rossi M, Maniscalco S. IBM Q Experience as a versatile experimental testbed for simulating open quantum systems. npj Quantum Inf. 2020;6(1):1–11.
  6. 6. Wang H, Ashhab S, Nori F. Quantum algorithm for simulating the dynamics of an open quantum system. Phys Rev A. 2011;83(6):062317.
  7. 7. Weimer H, Kshetrimayum A, Orús R. Simulation methods for open quantum many-body systems. Rev Mod Phys. 2021;93(1):015008.
  8. 8. Lu H, Liu C, Wang DS, Chen LK, Li ZD, Yao XC, et al. Experimental quantum channel simulation. Phys Rev A. 2017;95:042310.
  9. 9. Xin T, Wei SJ, Pedernales JS, Solano E, Long GL. Quantum simulation of quantum channels in nuclear magnetic resonance. Phys Rev A. 2017;96(6):062303.
  10. 10. Wei S, Xin T, Long G. Efficient universal quantum channel simulation in IBM’s cloud quantum computer. Sci China Phys Mech Astron. 2018;61(7):70311.
  11. 11. Zanetti M, Pinto D, Basso M, Maziero J. Simulating noisy quantum channels via quantum state preparation algorithms. Phys B At Mol Opt Phys. 2023;56(11):115501.
  12. 12. Nielsen MA, Chuang IL. Quantum computation and quantum information: 10th anniversary edition. 10th ed. New York: Cambridge University Press; 2011.
  13. 13. Farías OJ, Aguilar GH, Valdés-Hernández A, Ribeiro PHS, Davidovich L, Walborn SP. Observation of the emergence of multipartite entanglement between a bipartite system and its environment. Phys Rev Lett. 2012;109(15):150403. pmid:23102279
  14. 14. Aguilar GH, Valdés-Hernández A, Davidovich L, Walborn SP, Souto Ribeiro PH. Experimental entanglement redistribution under decoherence channels. Phys Rev Lett. 2014;113(24):240501. pmid:25541759
  15. 15. Barreiro J, Müller M, Schindler P, Nigg D, Monz T, Chwalla M, et al. An open-system quantum simulator with trapped ions. Nature. 2011;470(7335):486–491. pmid:21350481
  16. 16. Head-Marsden K, Krastanov S, Mazziotti D, Narang P. Capturing non-Markovian dynamics on near-term quantum computers. Phys Rev Res. 2021;3:013182.
  17. 17. Bengtsson I, Życzkowski K. Geometry of quantum states: an introduction to quantum entanglement. 1st ed. Cambridge: Cambridge University Press; 2006.
  18. 18. Puchała Z, Łukasz Rudnicki, Życzkowski K. Pauli semigroups and unistochastic quantum channels. Phys Lett A. 2019;383(20):2376–2381.
  19. 19. Davalos D, Ziman M, Pineda C. Divisibility of qubit channels and dynamical maps. Quantum. 2019;3:144.
  20. 20. Flammia S, Wallman J. Efficient estimation of Pauli channels. ACM Transactions on Quantum Computing. 2020;1(3):1–32.
  21. 21. Benedetti M, Lloyd E, Sack S, Fiorentini M. Parameterized quantum circuits as machine learning models. Quantum Sci Technol. 2019;4(4):043001.
  22. 22. Rieffel E, Polak W. Quantum computing: a gentle introduction. 1st ed. Massachusetts: The MIT Press; 2011.
  23. 23. Heinosaari T, Ziman M. The Mathematical Language of Quantum Theory: From Uncertainty to Entanglement. 2nd ed. Cambridge: Cambridge University Press; 2012.
  24. 24. Wolf MM, Cirac JI. Dividing quantum channels. Comm Math Phys. 2008;279(1):147–168.
  25. 25. Choi MD. Completely positive linear maps on complex matrices. Linear Algebra Appl. 1975;10(3):285–290.
  26. 26. Jamiołkowski A. Linear transformations which preserve trace and positive semidefiniteness of operators. Rep Math Phys. 1972;3(4):275–278.
  27. 27. Marinescu D, Marinescu G. Classical and Quantum Information. 1st ed. Oxford: Elsevier; 2012.
  28. 28. Terhal BM. Quantum error correction for quantum memories. Rev Mod Phys. 2015;87(2):307–346.
  29. 29. Qiskit contributors. Qiskit: An Open-source Framework for Quantum Computing; 2023.
  30. 30. Chuang IL, Nielsen MA. Prescription for experimental determination of the dynamics of a quantum black box. J Mod Opt. 1997;44:2455–2467.
  31. 31. Wilde M. From classical to quantum Shannon theory. 2nd ed. Cambridge: Cambridge University Press; 2019.
  32. 32. Watrous J. Simpler semidefinite programs for completely bounded norms. Theor Comput Sci. 2013;19(8):1–19.
  33. 33. Benenti G, Strini G. Computing the distance between quantum channels: usefulness of the Fano representation. J Phys B At Mol Opt Phys. 2010;43(21):215508.
  34. 34. Aguilar GH, Farías OJ, Valdés-Hernández A, Souto Ribeiro PH, Davidovich L, Walborn SP. Flow of quantum correlations from a two-qubit system to its environment. Phys Rev A. 2014;89(2):022339.