<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Belief Propagation for Classical and Quantum Systems: Overview and Recent Results</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>06/13/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10426087</idno>
					<idno type="doi">10.1109/MBITS.2023.3285848</idno>
					<title level='j'>IEEE BITS the Information Theory Magazine</title>
<idno>2692-4080</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Henry D. Pfister</author><author>Christophe Piveteau</author><author>Joseph M. Renes</author><author>Narayanan Rengaswamy</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[This article reviews belief propagation (BP) for classical inference problems and describes its extension to quantum systems, which is known as BP with quantum messages (BPQM). Since BP plays a key role in many low-complexity decoders for error-correcting codes, BPQM enables allows the practical extension of these decoders to classical quantum channels, such as the pure state channel.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Belief propagation (BP) plays a key role in all known capacity-approaching coding schemes with low-complexity decoders. Introduced already in the 1960s, Gallager's low-density parity-check (LDPC) decoder <ref type="bibr">[1]</ref> contains the essence of the BP algorithm which later was formalized by Pearl in <ref type="bibr">[2,</ref><ref type="bibr">3]</ref>. The discovery of turbo codes in 1993 <ref type="bibr">[4]</ref> brought with it the turbo decoding algorithm, now recognized as an instance of BP <ref type="bibr">[5]</ref>. In the late 1990s, these ideas led to formalization of factor graphs and the sumproduct algorithm <ref type="bibr">[6,</ref><ref type="bibr">7]</ref>. More recently, Ar&#305;kan's polar codes provide an elegant deterministic construction of capacity-achieving codes <ref type="bibr">[8]</ref>. For polar codes, the low-complexity successive-cancellation decoder can also be seen as an instance of BP, albeit with a modified processing order that includes intermediate hard decisions.</p><p>Until recently, however, these amazing success stories from classical coding could not be translated into low-complexity capacity-achieving schemes for classical-quantum (CQ) channels. For example, in 2012 polar codes were shown to achieve the symmetric Holevo information rate for any CQ channel <ref type="bibr">[9]</ref>, but a low-complexity decoder for non-commuting outputs was explicitly mentioned as an interesting open prob-lem. The missing element was a BP decoder for CQ channels.</p><p>In 2016, Renes defined BP with quantum messages (BPQM) as a quantum version of BP that applies to some inference problems on CQ channels <ref type="bibr">[10]</ref>. In particular, Renes applied BPQM to binary linear codes defined by tree factor graphs that are transmitted over the CQ pure-state channel (PSC). The PSC is the simplest non-trivial CQ channel and can be seen as the quantum analog of the classical binary symmetric channel (BSC). The PSC is also a good model for a number of practical communication problems involving quantum states <ref type="bibr">[11,</ref><ref type="bibr">12]</ref>. In 2021, after some investigation and evolution, BPQM was shown to provide low-complexity minimum-error detection for this problem <ref type="bibr">[13,</ref><ref type="bibr">14]</ref>. As a result, the large body of practical work on LDPC and polar codes can now be applied to the PSC. Recently, BPQM has been extended to symmetric binary-input CQ channels, though the proposed approach is suboptimal in this case <ref type="bibr">[15,</ref><ref type="bibr">16]</ref>.</p><p>The goal of this paper is to provide a gentle introduction to BP for channels with classical inputs and quantum outputs (i.e., CQ channels). While we defer a precise discussion of this until after the review of quantum theory, the i-th channel output in the CQ case is a quantum system whose state depends on the classical channel input x i . These outputs should not be treated as observations, and there is no natural analog of a conditional distribution (say of X i ) given these outputs. Indeed, the 2022 Nobel prize in physics was awarded to Aspect, Clauser, and Zeilinger for experiments that definitively demonstrate the quantum-mechanical description of photons is incompatible with the possibility that all physical quantities associated with photons, e.g. polarization, always have definite values.</p><p>Instead, one must extract classical information from the channel output via measurement in order to have 1 any knowledge of X i beyond the prior. Moreover, the receiver cannot determine the exact quantum state of these systems with certainty, as measurements are stochastic and fundamentally disturb the state. For that reason, we will discuss generalizations of BP that implement a collective measurement on the entire collection of channel outputs in order to estimate X i (or the entire vector X 1 , . . . , X N ) with a minimal error probability. Belief-propagation with quantum messages (BPQM) <ref type="bibr">[10,</ref><ref type="bibr">14,</ref><ref type="bibr">13,</ref><ref type="bibr">15,</ref><ref type="bibr">16]</ref> is the name given to a family of quantum algorithms (i.e., which are executed on a quantum computer) that can implement this measurement efficiently in some cases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Notation</head><p>We denote the natural numbers by N = {1, 2, . . .} and use the shorthand [n] := {1, . . . , n} for n &#8712; N. The ring of integers modulo-2 is denoted by</p><p>The Kronecker delta function is denoted by &#948; ij . Random variables are written as capital letters. Joint and conditional probability mass functions (pmfs) are denoted by P with a subscript indicating the order and conditioning (e.g., P X 2 ,X 3 |X 1 (x 2 , x 3 |x 1 ) equals the conditional probability that X 2 = x 2 and X 3 = x 3 given that X 1 = x 1 ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Belief Propagation</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Introduction</head><p>The belief propagation (BP) algorithm was introduced by Pearl <ref type="bibr">[2,</ref><ref type="bibr">3]</ref> in 1982 as an efficient inference algorithm for Bayesian belief networks. While it is important to note that similar ideas and special cases (e.g., <ref type="bibr">[17,</ref><ref type="bibr">18,</ref><ref type="bibr">19]</ref>) were proposed earlier in other fields, this work is important because it formalized a general version of the idea and popularized it among computer scientists under the moniker belief propagation <ref type="bibr">[6,</ref><ref type="bibr">20]</ref>.</p><p>From a contemporary viewpoint, the core idea is that a set of random variables (say X 1 , . . . , X N ) can be associated with a graph whose vertices represent the random variables and whose edges encode the conditional independence structure of the random variables. In particular, if a subset of variables forms a</p><p>Figure <ref type="figure">1</ref>: Factor graph associated with <ref type="bibr">(1)</ref>.</p><p>boundary that cuts the graph into two parts, then the random variables in the two parts are conditionally independent given the random variables on the boundary. If the associated graph is a tree, then the BP algorithm computes the exact marginal probability of each X i by using local updating rules that pass messages along the edges. There are a few variations of the precise formulation (e.g., Markov random fields, Bayesian belief networks, factor graphs, and tensor networks) whose details differ but which are all equivalent when the graph is a tree <ref type="bibr">[19,</ref><ref type="bibr">20,</ref><ref type="bibr">6,</ref><ref type="bibr">21]</ref>.</p><p>Example 1. Consider the case where N = 5, X = {0, 1}, and the joint probability mass function (pmf) of (X 1 , . . . , X 5 ) &#8712; X 5 satisfies</p><p>The factor graph associated with this representation is shown in Figure <ref type="figure">1</ref>. Since the last term in (1) does not depend on x 2 or x 3 , it follows that X 4 , X 5 are conditionally independent of X 2 , X 3 given X 1 . This property is represented in the factor graph by the fact that the vertex labeled x 1 forms a boundary that cuts the graph into two parts where the left part contains vertices x 2 , x 3 and the right part contains vertices x 4 , x 5 .</p><p>More formally, a factor graph is defined as follows. Let X be a finite set, [N ] := {1, 2, . . . , N }, and A be a collection of subsets of <ref type="bibr">[N ]</ref>. A factor graph is a bipartite graph that represents a function f :</p><p>where, for A &#8838; [N ], we let f A : This formalism is now used to connect Example 1 with the graph in Figure <ref type="figure">1</ref>. To do this, we choose X = {0, 1}, N = 5, and A = {{1}, {1, 2, 3}, {1, 4, 5}}. Then, we choose</p><p>Using these choices, we find that (2) implies f (x) = P X (x) for the model defined by <ref type="bibr">(1)</ref>.</p><p>While the random variables X = (X 1 , . . . , X N ) define the true system state, one typically has access only to noisy outputs Y = (Y 1 , . . . , Y N ) &#8712; Y N from a memoryless channel described by a conditional pmf,</p><p>where Q i (y|x) is the conditional probability of output y &#8712; Y given input x &#8712; X for the i-th channel. These additional channel outputs could simply be added to the original set of random variables without affecting any key properties (e.g., they cannot introduce cycles in the factor graph). But, that approach is typically avoided due to the notational burden and because the channel outputs are treated as fixed observed values y = (y 1 , . . . , y N ). Then, BP can be used to compute marginals of the conditional distribution P X 1 ,...,X N |Y 1 ,...,Y N (x 1 , . . . , x n |y 1 , . . . , y N ). In this work, we assume that Y is a finite set for simplicity but most of the statements hold under more general conditions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Channel Combining Perspective</head><p>In this section, we describe the channel combining perspective for classical BP decoding, which is the natural bridge to the BPQM decoding algorithm.</p><p>Restricting attention to cases (e.g., Example 1) where the factor graph is a tree rooted at x 1 , the channel combining perspective allows one to easily construct the effective channel from the root, x 1 , of the tree to all the observations in the tree, y, as described by the conditional pmf P Y |X 1 . The construction proceeds recursively from the leaves to the root, and the channel of any given node in the factor graph is formed by combining the channels of its children and any local observations. The initial channels at the leaf nodes are the physical noisy channels themselves. This procedure is equivalent to what is known as density evolution analysis on a tree <ref type="bibr">[22,</ref><ref type="bibr">23]</ref>.</p><p>Given the effective channel P Y |X 1 , the most likely value of x 1 can be computed, in principle, from the observed channel output y. However, the number of possible values taken by y grows very rapidly with the depth of the tree and directly computing the most likely x 1 can be cumbersome. For the case of classical binary-input symmetric channels, this difficulty can be avoided because any channel can be represented as a weighted mixture of BSCs with different error rates <ref type="bibr">[22,</ref><ref type="bibr">23]</ref>. This allows for efficient representation of P Y |X 1 even for very large depth.</p><p>In the case of CQ channels, the effective channel can also be constructed via channel combining. The task of determining the most likely x 1 is then to make the appropriate measurement on the collection of all quantum outputs. However, this is potentially a quite cumbersome task. As with the BSC, for the case of CQ channels with outputs described by pure quantum states, a more efficient representation of the combined channels is possible. This in turn makes it possible to efficiently implement the desired measurement to determine x 1 . Section 4 presents this in detail.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Channel Combining Details</head><p>We now describe the channel combining steps for tree factor graphs. In this case, for any factor node A &#8712; A, we define its parent variable node x pa(A) to be the unique neighbor of A which is closest to the root so that pa(A) is the index of the parent node. We also define the index set of its children, ch(A) = A\pa(A), to contain the indices of all the other adjacent variable nodes. We will also assume that the observer does not receive X but only the noisy channel outputs Y defined by <ref type="bibr">(3)</ref>. Thus, we define the joint function</p><p>and observe that, under our assumptions, this equals the joint probability P X,Y (x, y).</p><p>The channel-combining perspective starts by viewing the entire factor graph as a channel with input x 1 , output y = (y 1 , . . . , y N ), and conditional output probability given by</p><p>The key observation is that the same idea can be applied to any subtree. In particular, for the vertex labeled i &#8712; [N ] which is associated with x i , consider the subtree generated by keeping this vertex and all nodes and edges below it in the tree.</p><p>Let the set S i contain the labels of all variable nodes in the subtree rooted at i (i.e, the labels of x i and all variable below x i in the tree). The channel for this subtree has input x i , output y S i , and conditional output probability <ref type="bibr">(5)</ref> where W A (y A * |x pa(A) ) is the channel defined for the subtree rooted at factor node A &#8712; A and the set A * = S pa(A) \pa(A) contains the indices of all variable nodes below x i in the tree.</p><p>Equation 5 highlights a key property of tree factor graphs. A degree-j variable node, x i , can be seen as the input to j + 1 conditionally independent channels. The first is a direct channel with input x i and conditional output probability Q i (y i |x i ). The other j are subtree channels associated with the j child factor nodes.</p><p>For a child factor node A &#8712; A, the subtree channel is denoted by W A (y A * |x pa(A) ), where the input has index pa(A) because the parent variable in A is the input to the combined channel. The input to this channel is x pa(A) and the output is y A * . The conditional probability of the channel output is</p><p>W j (y S j |x j ), <ref type="bibr">(6)</ref> where Z A is the normalization constant chosen so that the sum over y A * equals 1. This recursive definition terminates when all children of A are leaves because, if x j is a leaf node, then S j = {j} and W j (y S j |x j ) simplifies to Q j (y j |x j ).</p><p>The operation in ( <ref type="formula">6</ref>) is known as factor node combining and it represents the case where the symbol, x pa(A) , is used to conditionally generate the values of the child variable nodes, x ch(A) , and then each of these values are transmitted independently through subchannels W j ( &#8226; | x j ) for j &#8712; ch(A). The two leftmost graphs in Figure <ref type="figure">2</ref> illustrate factor node combining for A 1 and A 2 in the example. In that case, BP decoding of x 1 is performed by first using (6) to compute W A 1 and W A 2 for the observed y values and all x 1 &#8712; X .</p><p>The operation in ( <ref type="formula">5</ref>) is known as variable node combining and it represents the case where the symbol x i is transmitted independently through multiple channels (i.e., Q i and all W A with pa(A) = i). The variable node combining operation for x 1 is depicted by the rightmost graph in Figure <ref type="figure">2</ref>. This operation combines the values of W A 1 and W A 2 computed earlier with the observation of x 1 through Q 1 . Thus, the value of ( <ref type="formula">4</ref>) can be computed by applying channel combining operations like this starting from the leaves. Then, using Bayes' rule, one can compute P X 1 |Y and this is equivalent to performing BP decoding on the tree.</p><p>If the received values are known (e.g., when decoding observed channel outputs), then the inputs and outputs of the recursive steps are vectors in R |X | that specify the relevant conditional probabilities of the actual observations for each possible channel input. This is equivalent to standard BP decoding on tree factor graphs.</p><p>If the received values have not yet been observed (e.g., when analyzing the effective channels themselves), then the inputs and output of this recursion are transition probability matrices for finite output channels with X inputs. The recursion relies implicitly on the fact that, for any finite set of channels with input alphabet X and a finite output alphabet, the new channel formed by combining also has input alphabet X and a finite output alphabet. As noted earlier, this is equivalent to what is known as density evolution analysis on a tree <ref type="bibr">[22,</ref><ref type="bibr">23]</ref>.</p><p>Finally, the channel combining perspective does not extend naturally to factor graphs with cycles whereas the standard BP algorithm is well defined. However, in that case, BP does not compute the marginals exactly <ref type="bibr">[24]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">Symmetric Binary-Input Channels</head><p>BP and density evolution simplify considerably for the case of symmetric binary-input channels. The simplest channel of this type is the binary symmetric channel (BSC) which is defined by Y = X = {0, 1} and a parameter p &#8712; [0, 1  2 ] that specifies the probability the output is not equal to the input (i.e., the transition probability is V p (y|x) = 1  2 +(-1) x+y ( 1 2 -p)). For a random input X &#8712; X , the random output Y &#8712; Y of any symmetric binary-input channel can be mapped into a sufficient statistic ( X, R) &#8712; X &#215; [0, 1  2 ], where X = x(Y ) is the maximum-likelihood (ML) estimate of X given Y and R = r(Y ) := Pr(X &#824; = x(Y )) is the probability the ML estimate is wrong. The channel is symmetric if R is independent of the channel input X. Using this, any symmetric binaryinput channel Q(y|x) is equivalent to a mixture of BSCs and its conditional pmf can be written as</p><p>Variable Node Combining. Using this result, it is sufficient to define the variable node combining rule for two BSCs and then extend it to two general symmetric binary-input channels by considering all pairs of BSCs they can generate. Thus, we first consider two BSCs, with outputs x1 , x2 and error probabilities r 1 , r 2 . The ML estimate of the combined channel is denoted by x and its error probability denoted by r(x 1 , x2 ). From (5), we see that the combined channel will have conditional pmf</p><p>This implies that the ML estimate from the BSC with the smaller error probability will determine the ML estimate for the combined channel and we have</p><p>Once the ML estimate has been determined, one can compute the error probability for the combined channel using the BSC error probabilities. The two channel outputs agree (i.e., x1 = x2 ) with probability</p><p>and, in this case, the error probability of the combined channel is</p><p>because it makes an error only if both BSCs make errors. The two channel outputs disagree (i.e., x1 &#824; = x2 ) with probability r 1 (1 -r 2 ) + (1 -r 1 )r 2 and, in this case, the error probability of the combined channel is</p><p>because it makes an error only if the more reliable BSC makes an error and the less reliable BSC does not.</p><p>Check Node Combining. Check node combining is a specific example of factor node combining used for the decoding of binary linear codes <ref type="bibr">[23,</ref><ref type="bibr">10]</ref>. It corresponds to the case where X = {0, 1} and the factor node (say A) is defined by the even-parity function f A where f A (x 1 , . . . , x k ) = 1 if (x 1 , . . . , x k ) contains an even number of ones and f A equals 0 otherwise.</p><p>Here, we will focus on the case where k = 3 with A = {1, 2, 3} and pa(A) = 1. Using (6), we see that the combined channel takes the input x 1 , draws the child node values x 2 , x 3 according to</p><p>, and then transmits those values through the two channels. Like the variable node combining case, we will assume the two channels are BSCs because symmetric binary-input channels are equivalent to mixtures of BSCs. Since f A (x 1 , x 2 , x 3 ) equals 1 for even-weight inputs and 0 otherwise, this is equivalent to picking X 3 to be a uniform random bit and then computing X 2 = x 1 &#8853; X 3 to satisfy the overall parity constraint. Then, the bits x 2 and x 3 are transmitted through BSCs with error probabilities r 1 and r 2 . The channel outputs are denoted x2 and x3 . The goal of check node combining is to represent all the information about x 1 contained in x2 and x3 as a channel from x 1 to a new output y. Since x 1 = x 2 &#8853; x 3 , it turns out that the ML estimate of x 1 is given by x2 &#8853; x3 and the ML estimate is wrong if and only if exactly one of x2 and x3 is wrong. Thus, the combined channel is a BSC with output y = x2 &#8853; x3 and error probability r 1 (1 -r 2 ) + r 2 (1 -r 1 ).</p><p>Effective channels defined by the channel combining for the factor graph in Figure <ref type="figure">1</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Introduction to Quantum Theory</head><p>This paper is targeted at researchers with little or no background in quantum mechanics but it does assume some familiarity with tensor linear algebra. Therefore, we start with a brief review of the necessary quantum theory. It is worth noting that, while quantum mechanics is a physical theory, this paper treats quantum theory from a purely mathematical perspective where each operation is defined without reference to how it might be implemented physically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Quantum States and Dirac Notation</head><p>An isolated quantum system with d perfectly distinguishable states can be represented by a "pure state" vector &#968; in the Hilbert space C d with unit length. An important special case is where d = 2 because the basic unit of quantum information (based on two-level systems) is a quantum bit or, simply, a qubit. A qubit that is in a deterministic quantum state is called pure state and represented mathematically by a unit vector in C 2 . In this section, we try to provide most of the background required for this work. For a more complete picture, see <ref type="bibr">[25,</ref><ref type="bibr">26,</ref><ref type="bibr">27]</ref>. Let d = 2 n for some integer n &#8805; 1 and recall that a complex length-d vector &#968; &#8712; C d can be expressed as a linear combination of standard basis vectors. For the standard basis vector e v , all elements are zero except the entry indexed by v which equals 1. For n = 1, the two basis vectors e 0 and e 1 are denoted by |0&#10217; and |1&#10217;, respectively, using the Dirac's "braket" notation. These are to be read as "ket 0" and "ket 1", respectively, and they are length d = 2 column vectors.</p><p>Conjugate transposes are denoted by &#10216;0| := |0&#10217; &#8224; and &#10216;1| := |1&#10217; &#8224; , respectively, which are to be read as "bra 0" and "bra 1". This naming was chosen so that the inner product e &#8224; i e j = &#10216;i|j&#10217; = &#948; ij , where i, j &#8712; {0, 1}, appears like a bracket ("braket"). Therefore, any length d = 2 complex vector &#968; can be written as "ket psi" |&#968;&#10217;, where</p><p>Mathematically, such a qubit (n = 1) pure state is simply a unit vector in C 2 , which means it can be represented as |&#968;&#10217; as above with the additional constraint that</p><p>For n &#8805; 1 qubits, the standard basis vectors are defined by</p><p>2 and &#8855; denotes the Kronecker product. In Dirac notation, we write</p><p>where</p><p>This set of standard basis vectors is called the computational basis of a quantum system. If |&#981;&#10217; = v&#8712;Z n 2 &#946; v |v&#10217; is another pure state, then its inner product with |&#968;&#10217; is given by &#10216;&#981;|&#968;&#10217; = v&#8712;Z n 2 &#946; * v &#945; v = &#10216;&#968;|&#981;&#10217; &#8224; , where &#946; * v is the complex conjugate of &#946; v &#8712; C. This inner product is called the overlap between the two states.</p><p>All reversible operations on a quantum system can be represented by unitary evolution. In particular, if |&#968;&#10217; &#8712; C d and U &#8712; C d&#215;d is unitary matrix, then applying U to |&#968;&#10217; to get |&#968; &#8242; &#10217; = U |&#968;&#10217; is assumed to be a physically realizable quantum operation.</p><p>Consider two independent (i.e., non-interacting) quantum systems in pure states |&#968;&#10217; &#8712; C d 1 and |&#981;&#10217; &#8712; C d 2 . Using the Kronecker product, these two systems can be combined into a common Hilbert space of dimension d 1 d 2 . The combined system will be the pure state |&#968;&#10217; &#8855; |&#981;&#10217; &#8712; C d 1 d 2 . After combining, one can apply quantum operations that act jointly on the two systems. We also note that, for</p><p>From this, one can interpret <ref type="bibr">(7)</ref> as joining the Hilbert spaces of n independent qubits so that one can operate on them jointly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Measurement of Pure States</head><p>The only way to obtain classical information about a quantum system is measurement. The simplest type of measurement is called a von Neumann (or projective) measurement and it is the only type we consider in this article. A von Neumann measurement is defined by a set of orthogonal projection matrices</p><p>where &#948; ij is the Kronecker delta and I d is the d &#215; d identity matrix.</p><p>To explain the effect of this measurement on a pure state |&#968;&#10217;, we describe how to simulate the measurement process on a classical computer. One starts with the implied orthogonal decomposition</p><p>, where p i = &#8741;&#928; i |&#968;&#10217; &#8741; 2 = &#10216;&#968;| &#928; i |&#968;&#10217; is the squared Euclidean norm of the i-th component. From the definition of the measurement projectors, it is evident that</p><p>and &#10216;&#968;| &#928; i |&#968;&#10217; = &#10216;&#968; i |&#968; i &#10217; = p i . Thus, we can treat {p i } i&#8712;[M ] as a probability distribution on [M ] and draw a sample j from it. The value j is called the outcome of the measurement. By the Born rule of quantum mechanics, the post-measurement state |&#968; &#8242; &#10217; equals the normalized projection of |&#968;&#10217; onto the range of &#928; j and we get Note that the change in the original state due to measurement is a distinguishing feature of quantum systems. For classical systems, it is assumed that one can read the value of a register without any possibility of disturbing its value. In reality, however, this assumption is based on the fact that the probability of disturbing the value is negligible. Now, we introduce notation for a few special quantum states. The plus and minus states are defined by</p><p>and x &#8712; Z 2 , we define the parameterized qubit pure state</p><p>and note that &#952; will be dropped when it is clear from the context. See Figure <ref type="figure">3</ref> for a diagram of the PSC.</p><p>Definition 1. The pure-state channel (PSC) is a binary-input CQ channel with parameter &#952; &#8712; [0, &#960;/2] whose output is a qubit in a deterministic pure state.</p><p>If the transmitter sends 0, then the receiver's qubit is in the pure state |&#968; 0 (&#952;)&#10217; and if the transmitter sends 1, then the receiver's qubit is in the pure state |&#968; 1 (&#952;)&#10217;. This channel can also be parameterized by its overlap</p><p>At this point we can already appreciate the challenge that the laws of quantum mechanics impose when transmitting classical information over a CQ channel such as the PSC. While the state of the output qubit is fully deterministic, it is impossible for the receiver to learn with certainty whether the state is |&#968; 0 (&#952;)&#10217; or |&#968; 1 (&#952;)&#10217;, since measurements necessarily perturb the system. The following example describes a strategy for the receiver to guess the state of the PSC's qubit output with the highest success probability, assuming an equiprobable input.</p><p>Example 2. To distinguish between |&#968; 0 &#10217; and |&#968; 1 &#10217;, one can use the 2 &#215; 2 projection matrices</p><p>Using these, the conditional probability of outcome y given the channel input x is given by</p><p>This measurement minimizes the error probability when the channel inputs are equally likely.</p><p>Perhaps the most straightforward strategy for transmitting information over a collection of PSCs would be to perform individual optimal measurements (as in Example 2) on each channel output, effectively converting each PSC to a BSC. While this approach is simpler, its performance is degraded because the classical capacity of the resulting BSC is strictly lower than the quantum (Holevo) capacity of the original PSC if &#952; &#8712; (0, &#960;/2). In this case, a truly quantum decoder, which performs quantum information processing on the channel outputs, is required to achieve optimal performance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Mixed Quantum States</head><p>A quantum system can also be in a mixed state, which is equivalent to a classical random mixture of pure states. In particular, it can be in one of several distinct states {|&#968; j &#10217;} j&#8712;[J] with associated probabilities p j . For such a "bag of states" model, a succinct description of the quantum state is given by its density matrix &#961; &#8712; C d&#215;d which is defined by</p><p>It is easy to verify that this matrix is positive semidefinite and has trace 1.</p><p>Let D(d) denote the set of d &#215; d positive semidefinite matrices with unit trace. Any &#961; &#8712; D(d) is a valid density matrix for some quantum system with d distinguishable states. While the density matrix of a "bag of states" model is unique, the interpretation of a density matrix as a mixture of pure states is not necessarily unique. Moreover, it is not possible to distinguish between mixed states whose density matrices are equal even if they were generated by different "bag of states" models. We note that it is typical in quantum to refer to mixed state simply as a state and instead use the modifier "pure state" to distinguish between the two cases.</p><p>When a system in a mixed state &#961; &#8712; D(d) undergoes a reversible evolution according to the unitary U &#8712; C d&#215;d , its state evolves to U &#961;U H . This can be understood by observing that, for all j &#8712; [J], the state |&#968; j &#10217; in our bag of states (e.g., see (2)) separately evolves to U |&#968; j &#10217;.</p><p>Consider the effect of a von Neumann measurement {&#928; i } on a system described by the state &#961; = J j=1 p j |&#968; j &#10217; &#10216;&#968; j |. Let q j,i = &#10216;&#968; j | &#928; i |&#968; j &#10217; denote the conditional probability of measurement outcome i given that the system is in pure-state |&#968; j &#10217;. If the outcome is i, then the overall post-measurement state is</p><p>where p j q j,i /p i equals the probability that the system is in pure-state |&#968; j &#10217; given measurement outcome i and the associated pure state is</p><p>Computing the trace on both sides of (12) and using the cyclic property of the trace shows that</p><p>Therefore, the density matrix encodes all the necessary information about the system in order to track its evolution through arbitrary quantum processes, i.e., unitary operations and measurements. Now, we can define a CQ channel to have a classical input and quantum output. Definition 2. A CQ channel W is defined by an input alphabet X , an output dimension d, and a mapping W : X &#8594; D(d) that specifies the mixed state channel output for each input.</p><p>If the channel W 1 is unitarily equivalent to W 2 , then we can effectively realize W 2 by post-processing the output of W 1 with the appropriate unitary transformation (and vice versa). For this reason, two unitarily equivalent channels are identical from an information theoretic perspective.</p><p>Combining Quantum Systems. Consider two independent (i.e., non-interacting) quantum systems in mixed states &#961; 1 &#8712; D(d 1 ) and &#961; 2 &#8712; D(d 2 ). These two systems can be combined into a common Hilbert space of dimension d 1 d 2 . The combined system will have the density matrix &#961; = &#961; 1 &#8855; &#961; 2 &#8712; D(d 1 d 2 ) whose "marginalization" (i.e., partial trace) down to either component system equals the original density matrix for that system. In the combined space, one can apply operations that act jointly on the two systems.</p><p>Similarly, consider two independent CQ channels W 1 , W 2 with input alphabets X 1 , X 2 and output dimensions d 1 , d 2 . These can be combined into a single "product channel" W :</p><p>This is the quantum analog of the classical channel W (y 1 , y 2 |x 1 , x 2 ) = W (y 1 |x 1 )W (y 2 |x 2 ) defined by the independent uses of classical channels W 1 (y 1 |x 1 ) and W 2 (y 2 |x 2 ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Channel Combining for PSCs</head><p>Now we are in a position to consider the effect of applying the channel combining operations to binaryinput pure-state channels, as first introduced in [10].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Variable Node Combining</head><p>Consider the binary-input PSCs W 1 and W 2 with parameters &#952; 1 and &#952; 2 . The variable node combining operation sends the same input through both channels and combines their output spaces using a tensor product. If the channel input is x, then the first PSC will output |&#968; x (&#952; 1 )&#10217; and the second PSC will output |&#968; x (&#952; 2 )&#10217;. Thus, for input x, the output of both channels in the combined Hilbert space C 4 will be</p><p>Since the tensor product of pure states is a pure state, it will become evident below that the combined channel must be unitarily equivalent to a PSC (e.g., with parameter &#952;).</p><p>To consolidate these two channel outputs into a single channel output for the new PSC whose output will be stored in the first qubit, we need a unitary operation V &#8712; C 4&#215;4 that satisfies</p><p>Since V is unitary, this operation will preserve all the information in the two channel outputs.</p><p>Here, we note that unitary transforms preserve inner products between vectors and, for any four unit vectors |&#967; 1 &#10217; , |&#967; 2 &#10217; , |&#967; 3 &#10217; , |&#967; 4 &#10217; &#8712; C d with &#10216;&#967; 1 |&#967; 2 &#10217; = &#10216;&#967; 3 |&#967; 4 &#10217;, there is a unitary transformation mapping |&#967; 1 &#10217; to |&#967; 3 &#10217; and |&#967; 2 &#10217; to |&#967; 4 &#10217;. Thus, we can use <ref type="bibr">(9)</ref> and <ref type="bibr">(10)</ref> to see that the unitary U exists if and only if</p><p>. This demonstrates that lossless variable node combining is possible for the PSC and that the new PSC will have &#952; = cos -1 cos(&#952; 1 ) cos(&#952; 2 ) . We note that the matrix V is not unique and it depends on the values of &#952; 1 and &#952; 2 . Following <ref type="bibr">[10,</ref><ref type="bibr">Eqn. 6]</ref>, we will denote one such V by</p><p>1 -cos(&#952; 1 ) cos(&#952; 2 ) .</p><p>This idea generalizes easily to combining any finite number of PSCs and is illustrated in Figure <ref type="figure">4</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Check Node Combining</head><p>Now, we describe check node combining for two PSCs by building on the approach for two BSCs in Section 2.4. In particular, we let x 1 denote the input to the combined channel and let x 2 and x 3 denote the inputs to the channels which are being combined. As before, due to the even-parity constraint, the combined channel output only depends on x 1 and x 3 . Specifically, it equals the pure state The result is unitarily equivalent to the weighted superposition, with weights &#8730; p 0 and &#8730; p 1 , of two PSCs with parameters &#945; 1 and &#945; 2 .</p><p>where the last step in each derivation follows from applying the product identities for sine and cosine a few times. Thus, the post-measurement states for the two outcomes will be</p><p>where &#945; 0 and &#945; 1 are the parameters of the postmeasurement PSCs associated with &#928; 0 and &#928; 1 respectively. We also note that the overall phase factor of (-1) x 3 on the second state does not affect the measurement error rate (e.g., see Example 2) or future processing. By computing the overlap of these channels and applying trigonometric identities, one can also compute the two possible channel parameters</p><p>While the previous calculation is based on measuring the second qubit, this can be avoided by using the quantum principle of deferred measurement <ref type="bibr">[10,</ref><ref type="bibr">13,</ref><ref type="bibr">14]</ref>. The primary drawback of deferring measurements is that all unitary operations done after the deferred measurement must be implemented as conditional unitary operations that depend on the system that was not measured.</p><p>This operation is illustrated in Figure <ref type="figure">5</ref>. It can also be extended to any finite number of PSCs by sequentially combining the channels as one would compute a cumulative sum.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Decoding with BPQM</head><p>For mixtures of PSC channels, both channel combining operations result in mixtures of PSC channels, just as combining mixtures of BSCs results in mixtures of BSCs. Thus, the effective channel from x 1 to all the PSC outputs can be succinctly described as a mixture of PSCs. This yields a method of performing the optimal measurement on the actual PSC output systems in order to determine x 1 .</p><p>Working from the leaves toward the root, the quantum operations associated to the two combinations are recursively applied to the appropriate qubits. At variable nodes, the unitary in ( <ref type="formula">15</ref>) is applied, using the classical information describing the parameters of the two PSCs, and one qubit is discarded. At check nodes, a CNOT gate is applied and the target qubit is measured. The measurement result determines the PSC parameter of the remaining control qubit, and this information is used in subsequent variable node operations. The sequence of operations defines a quantum circuit consisting of unitary operations and measure-ments. The output of the circuit is a single qubit, associated to the root node, which is then measured to determine the most-likely channel input. The depth of the resulting quantum circuit is precisely the depth of the factor graph.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Combining General CQ Channels</head><p>Now, we will apply the channel combining perspective to factor graphs where the classical random variables are transmitted through CQ channels. First, we generalize (3) to the quantum case. Consider the case where the i-th factor graph variable is transmitted through the CQ channel Q i : X &#8594; D(d i ), where D(d i ) is the set of density matrices for the i-th quantum system of dimension d i . In this case, the conditional independence of the observations implies that the overall density matrix for input x = (x 1 , . . . , x N ) is given by the tensor product</p><p>Using this, the quantum generalization of ( <ref type="formula">4</ref>) is</p><p>This gives the density matrix for the entire joint quantum system as a function of the root variable x 1 . Given the set of density matrices {W 1 (x 1 )} x 1 &#8712;X , one can solve for an optimal quantum measurement whose outcome maximizes the guessing probability for x 1 .</p><p>The goal of BPQM is to implement an optimal measurement efficiently using unitary operations acting on small numbers of qubits. To do this, one needs to identify simple quantum operations that implement the combining transformations one step at a time. For example, the classical variable node combining rule in (5) generalizes to the quantum rule</p><p>where W i (x) is the combined CQ channel for variable node i. Similarly, the classical factor node combining rule in <ref type="bibr">(6)</ref> generalizes to the quantum rule</p><p>where W A (x) is the combined CQ channel factor node A and Z A is the normalization constant chosen so that the resulting matrix has unit trace.</p><p>These recursions allow one to analyze general treelike factor graphs where the variables are observed through independent CQ channels. However, the dimensions of the density matrices may grow so rapidly that this approach becomes infeasible. This is similar to growth in output alphabet which is challenging for the classical case. For binary-input PSCs, however, the combining rules outlined in Section 4 can be used to efficiently represent these density matrices as weighted mixtures of PSCs with different parameters. This can be seen as a special case of the techniques introduced in <ref type="bibr">[15,</ref><ref type="bibr">16]</ref>. Still, this problem is much less studied in the quantum case and it would be interesting to find efficient methods that work in more generality.</p><p>For general CQ channels, the decoding problem on a quantum computer is even more challenging. While the rules outlined in Section 4 were introduced in <ref type="bibr">[10]</ref> and studied further in <ref type="bibr">[28,</ref><ref type="bibr">13,</ref><ref type="bibr">14]</ref>, it is still not clear if there are efficient and optimal BPQM decoding rules for channels besides the PSC. Suboptimal rules have been introduced and analyzed for symmetric binaryinput CQ channels in <ref type="bibr">[15,</ref><ref type="bibr">16]</ref>. The primary challenge is finding ways to compress the relevant information, from all the CQ observations in a subtree, into the small number of qubits to be passed as messages.</p><p>Classical BP also extends to factor graphs with cycles (as an approximate marginalization algorithm) by simply continuing to pass messages around loops in the factor graph <ref type="bibr">[6,</ref><ref type="bibr">24]</ref>. While something similar can be managed for BPQM <ref type="bibr">[14]</ref>, another peculiarity of quantum mechanics makes this extension much more challenging. The "no cloning" theorem says that quantum states cannot be cloned exactly. Thus, if a variable is measured the first time around a loop, its quantum information collapses and leaves only the classical outcome for subsequent rounds. One approach that provides some gain in experiments is to use "approxi-mate" cloning <ref type="bibr">[14]</ref>. But, this is really the only method that has been explored so far.</p><p>Lastly, we mention that there is a powerful theory of duality for CQ channels that relates the performance of optimal inference for problems utilizing a code and a channel to related problems utilizing the dual code and dual channel <ref type="bibr">[29]</ref>. For this work, it is particularly relevant to note that the dual channel for the BSC is the PSC and vice versa. This special case is discussed in more detail in <ref type="bibr">[30,</ref><ref type="bibr">31]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusions and Open Problems</head><p>This article notes the importance of BP in efficient error-correction schemes for classical channels and discusses the extension of BP to BPQM in order to apply the same ideas to CQ channels. While the extension to PSCs is well understood, many questions remain for more general CQ channels. In particular, we list here some interesting open questions:</p><p>1. Can we apply BPQM to loopy factor graphs and achieve gains or understanding beyond <ref type="bibr">[14]</ref>?</p><p>2. What assumptions are required to generalize BPQM for PSCs to non-binary CQ channels with pure-state outputs?</p><p>3. Is there a BPQM algorithm that is lossless, or with arbitrarily small loss, for general symmetric binary-input CQ channels with qubit outputs where the messages consist of a bounded number of qubits?</p><p>4. Is there a BPQM algorithm that is lossless, or with arbitrarily small loss, for general CQ channels where the message dimension is a bounded multiple of the channel output dimension?</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>This article has been accepted for publication in IEEE BITS the Information Theory Magazine. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/MBITS.2023.3285848 &#169; 2023 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See https://www.ieee.org/publications/rights/index.html for more information. Authorized licensed use limited to: The University of Arizona. Downloaded on June 27,2023 at 18:08:48 UTC from IEEE Xplore. Restrictions apply.</p></note>
		</body>
		</text>
</TEI>
