Introduction
The paradigm of a simple unstable theory is the theory of the random graph [26 , 17 ] . A first-order theory, a set of axioms in a formal language, is simple, in the sense of Shelah, when no formula has the tree property, a branching pattern of consistent and inconsistent conditions that we describe later in this Introduction; the theory of the random graph is unstable because its edge relation has the independence property: for any finitely many vertices and any choice among them, some vertex is adjacent to the chosen ones and to none of the others. The random graph has two modes of presentation: as the Rado graph, it is the Fraïssé limit of the finite graphs, that is, the countable graph, unique up to isomorphism, that contains every finite graph as an induced subgraph and in which every isomorphism between finite induced subgraphs extends to an automorphism [Fra54, Rad64]; as a random object, it is the graph to which a random network of couplings on countably many sites, in which each pair of sites is coupled independently with probability one half, is isomorphic with probability one [15 ] . Quantum error correction, the protection of quantum information against noise, rests on a structure of its own. In a stabilizer code, errors are detected by measuring checks, which are Pauli strings: tensor products of factors on the individual qubits, or two-level quantum systems, each factor being the identity, a bit flip, a phase flip or, up to a phase, their product. The checks of a code commute, and the code stores quantum information in their common eigenspace for the eigenvalue 1. It suffices to correct errors that are themselves Pauli strings, since a code that corrects a set of errors corrects every linear combination of them (see [18 ] ).
To make this precise, let F 2 \mathbb{F}_2 F 2 be the two-element field and let n n n be a positive integer. The Hilbert space of a qubit is C 2 \mathbb{C}^2 C 2 , on which the bit flip X X X and the phase flip Z Z Z , two of the Pauli matrices, exchange the two vectors of the standard basis and change the sign of the second, respectively. A Pauli string on n n n qubits is a tensor product of n n n factors X x k Z z k X^{x_k}Z^{z_k} X x k Z z k , for k = 1 , … , n k=1,\ldots,n k = 1 , … , n , with x k , z k ∈ F 2 x_k,z_k \in\mathbb{F}_2 x k , z k ∈ F 2 , multiplied by one of the phases ± 1 \pm1 ± 1 and ± i \pm i ± i ; up to its phase, it is determined by its label, the vector ( x , z ) ∈ F 2 2 n (x,z) \in\mathbb{F}_2^{2n} ( x , z ) ∈ F 2 2 n with x = ( x 1 , … , x n ) x=(x_1,\ldots,x_n) x = ( x 1 , … , x n ) and z = ( z 1 , … , z n ) z=(z_1,\ldots,z_n) z = ( z 1 , … , z n ) . Let ω \omega ω be the form on F 2 2 n \mathbb{F}_2^{2n} F 2 2 n given by ω ( ( x , z ) , ( x ′ , z ′ ) ) = x ⋅ z ′ + z ⋅ x ′ \omega((x,z),(x',z'))=x\cdot z'+z\cdot x' ω (( x , z ) , ( x ′ , z ′ )) = x ⋅ z ′ + z ⋅ x ′ for x , z , x ′ , z ′ ∈ F 2 n x,z,x',z' \in\mathbb{F}_2^{n} x , z , x ′ , z ′ ∈ F 2 n , where x ⋅ z ′ = ∑ k = 1 n x k z k ′ x\cdot z'=\sum_{k=1}^{n}x_kz'_k x ⋅ z ′ = ∑ k = 1 n x k z k ′ ; it is bilinear, alternating and nondegenerate, and it is the standard symplectic form on F 2 2 n \mathbb{F}_2^{2n} F 2 2 n . Two Pauli strings on n n n qubits either commute or anticommute, that is, their products in the two orders are equal or opposite, and their labels decide which: the strings anticommute exactly when ω \omega ω takes the value 1 at their labels. We disregard phases and identify each Pauli string with its label. Measuring a check g g g on a state that g g g fixes, after an error e e e , itself a Pauli string on the n n n qubits, has acted on the state, reveals whether the two strings anticommute: the syndrome bit of e e e with respect to g g g is 1 if they anticommute and 0 if they commute, and in terms of labels it is ω ( g , e ) \omega(g,e) ω ( g , e ) . The syndrome of e e e with respect to checks g 1 , … , g m g_1,\ldots,g_m g 1 , … , g m , for a positive integer m m m , is the vector of its syndrome bits with respect to g 1 , … , g m g_1,\ldots,g_m g 1 , … , g m .
On countably many qubits, the labels of the Pauli strings that act nontrivially on only finitely many qubits form a vector space over F 2 \mathbb{F}_2 F 2 of countably infinite dimension, on which the form ω \omega ω , given by the same formula, is nondegenerate. This countable symplectic space is, under our identification, the Pauli group on countably many qubits taken modulo phases, which we call simply the Pauli group. In Section § 3 we show that, with this form, the Pauli group is the Fraïssé limit of the finite alternating spaces over F 2 \mathbb{F}_2 F 2 , the finite vector spaces over F 2 \mathbb{F}_2 F 2 with an alternating bilinear form, and that its theory, like that of the random graph, is simple and unstable. For each of the two structures, we prove simplicity by exhibiting an explicit relation of independence between two sets over a third and verifying for it the Kim–Pillay axioms, which ensure that the theory is simple (see Fact 2.2 ). The Pauli group is thus the quantum counterpart of the random graph, and in this paper we study the two paradigms side by side.
In Section § 4 we give a dictionary between model theory and quantum error correction, and we prove the three results on which it rests. The checks of a stabilizer code generate its stabilizer group; an error is undetectable when it commutes with every check, and an undetectable error is a logical error when it alters the encoded information, that is, when it lies outside the stabilizer group. Clifford unitaries, the unitary operators that map Pauli strings to Pauli strings under conjugation, up to phases, implement the homogeneity of the Pauli group: every isomorphism between finite-dimensional substructures of the Pauli group extends to an automorphism induced by a Clifford unitary on finitely many qubits, and every stabilizer code has an encoding circuit made of Clifford gates. The type of an error over a set of Pauli strings records which elements of the set anticommute with it and how, if at all, it is a product of them. An extension of such a type to a larger set forks over the original set when it confines the error to one of infinitely many alternatives that the original type cannot tell apart. Forking recognizes the logical errors: an undetectable error is a logical error exactly when its type over the stabilizer group and a set of logical operators, which generate the undetectable errors modulo the stabilizer group, forks over the stabilizer group. The Kim–Pillay independence theorem becomes a rule for syndromes: if two sets of checks are independent over a common set, then any two syndromes, each realized by some error on its own set of checks, that agree on the common set are realized by a single error. Here two sets of checks are independent over a common set when a Pauli string that is, up to a phase, both a product of checks of the first set and the common set and a product of checks of the second set and the common set is already, up to a phase, a product of checks of the common set. As first-order structures the two paradigms are alike: both are Fraïssé limits, and both have simple unstable theories. We show that the bipartite observables that they define, which we introduce in the next two paragraphs, tell them apart.
This paper is the third of a series on bipartite observables. A bipartite observable is a bounded self-adjoint operator on the tensor product of the Hilbert spaces of two systems, one prepared by Alice and the other probed by Bob. A preparation of Alice, a state of her system, averages the observable to an operator on Bob’s space. These operators and the identity generate the probe algebra, the smallest algebra of operators on Bob’s space that contains them and is closed under adjoints and under limits in the operator norm. A probe of Bob is a state of the probe algebra, that is, a positive linear functional on it with value 1 1 1 at the identity; it assigns to the operator of each preparation a real number, the response of the preparation at the probe. In the first paper [13 ] we studied stability in the sense of Shelah: an observable is stable when its expectation, for independently prepared systems, does not depend on which of the two systems is idealized first. A system is idealized when its state is replaced by the limit, along a nonprincipal ultrafilter on the natural numbers, of a sequence of its states given by density operators, the positive operators of trace one. This limit assigns to each bounded operator on the space of the system the ultralimit of its expectations in the states of the sequence, that is, the unique complex number that these expectations approximate, to within any prescribed error, on a set of indices belonging to the ultrafilter. In the second paper [14 ] we called a sequence of Alice’s preparations independent when there are real numbers α < β \alpha< \beta α < β such that, for any two disjoint finite sets of these preparations, some probe gives responses at most α \alpha α on the first set and at least β \beta β on the second; an observable with no independent sequence is NIP, an acronym for “no independence property”. We showed there that an observable is stable exactly when its idealized responses, the responses of its idealized preparations, are continuous functions on the probe space, the set of probes with the weak* topology of pointwise convergence on the probe algebra, and that it is NIP exactly when they are of the first Baire class, that is, pointwise limits of sequences of continuous functions. The idealized responses of a NIP observable form a Rosenthal compactum, a compact set, in the topology of pointwise convergence, of functions of the first Baire class on a compact metrizable space; this compactum is separable, and Todorčević’s trichotomy for separable Rosenthal compacta applies to it. Simplicity is another of Shelah’s dividing lines, the properties by which he classified first-order theories; it neither implies nor follows from NIP, and a theory is stable exactly when it is both simple and NIP. It is, moreover, a property of a different kind: stability and NIP of an observable are characterized by properties of the closure of its family of responses in the topology of pointwise convergence, whereas simplicity concerns the joint consistency of conditions on an unknown element, such as a probe. A theory fails to be simple exactly when, for some formula and some integer k ≥ 2 k \ge2 k ≥ 2 , there is a tree of instances of the formula, indexed by the finite sequences of natural numbers, whose branches are consistent while any k k k distinct children of each node are jointly inconsistent. In error correction, the unknown element is an error, and the conditions are statements about its syndrome.
In § 5 we define the observables of the two paradigms. Both are diagonal observables: the Hilbert spaces of Alice and Bob have orthonormal bases indexed by countable sets of labels, and the observable reports whether a relation holds between Alice’s label and Bob’s. In the Rado observable, Alice and Bob each hold a site of the network, that is, a vertex of the Rado graph, and the observable reports whether the two sites are coupled; in the Pauli observable, Alice holds a check and Bob an error, and the observable reports whether the two anticommute. A mixed preparation of Alice, a density operator on her space, enters a diagonal observable only through its diagonal, a probability measure on her labels; a single mixed preparation can therefore spread its weight over arbitrarily many labels, and its response is affine in the mixture. We call the point masses at single labels her pure preparations. Bob’s probes differ in the two observables, as we establish in Lemma 5.5 and Proposition 5.4: for the Rado observable they are the Radon probability measures on the space of all sets of vertices, with the product topology, that is, the random sets of neighbors, and for the Pauli observable they are the Pauli channels, the probability laws of random Pauli errors of arbitrary support, the support of an error being the set of qubits on which it acts nontrivially. The pure probes are the point masses among the probes, and we identify each of them with the point at which it is concentrated. Every set of vertices is thus a pure probe of the Rado observable; we express this by saying that the pure responses of this observable, the responses of pure preparations, are freely independent. The pure probes of the Pauli observable, its idealized errors, are the Pauli strings of arbitrary support. The syndrome sector of a syndrome with respect to finitely many checks is the set of idealized errors with that syndrome. The depolarizing noise of rate p p p , for 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 , which acts independently on each qubit, leaving it unchanged with probability 1 − p 1-p 1 − p and applying a bit flip, a phase flip or their product, each with probability p / 3 p/3 p /3 , is a Pauli channel concentrated on the Pauli strings of infinite support, which lie outside the Pauli group; it models the noise of a quantum memory on countably many qubits.
The real-valued theory of an observable is the theory of the structure formed by its mixed preparations, its probes and its response, in Keisler’s real-valued logic [21 ] , whose formulas take real values. A formula has the tree property of the second kind when, for some integer k ≥ 2 k \ge2 k ≥ 2 , there is an array of instances of the formula, with rows and columns indexed by the natural numbers, in which any k k k distinct instances of a row are jointly inconsistent while every path, which chooses one instance from each row, is consistent. In real-valued logic these conditions are inequalities with a gap: a sequence of instances is uniformly k k k -inconsistent when, for some reals α < β \alpha< \beta α < β , each instance takes a value at least β \beta β somewhere while no k k k of them exceed α \alpha α at a common point. We prove in § 6 that the real-valued theory of every diagonal observable with the independence property, and in particular of the Rado observable and of the Pauli observable, has the tree property of the second kind: the difference between the responses to the uniform mixtures on a half of a finite set of labels and on the complementary half reaches its maximum, 1, at a probe exactly when the probe answers 1 on the first half and 0 on the second, and the differences given by two halves that meet in a quarter of the set are never both greater than 1 / 2 1/2 1/2 . Actual preparations are those of the structure of the observable, and idealized preparations are the new preparations in its elementary extensions, the larger structures, such as its ultrapowers, in which every formula with parameters from the structure takes the same value as in the structure itself. In an ultrapower along a nonprincipal ultrafilter on the natural numbers, the preparations and the probes are given by sequences ( μ k ) k ∈ N (\mu_k)_{k\in\mathbb{N}} ( μ k ) k ∈ N of mixed preparations and ( ν k ) k ∈ N (\nu_k)_{k\in\mathbb{N}} ( ν k ) k ∈ N of probes, respectively; the response of the preparation at the probe is the limit, along the ultrafilter, of the response of μ k \mu_k μ k at ν k \nu_k ν k . In § 7 and § 8 we show that, for the Pauli observable, the tree property of the second kind is witnessed by an array of actual preparations, while, for the Rado observable, every array that witnesses it for a quantifier-free formula contains idealized preparations. Finally, in § 9 we compare mixing in our sense with the affine logic of Ben Yaacov, Ibarlucía and Tsankov, in which a mixture of structures is a direct integral, and we close with open questions in § 10 .
Theorem 1.1 (Main results). (A) The Rado graph and the symplectic space of countably infinite dimension over F 2 \mathbb{F}_2 F 2 , which is the Pauli group on countably many qubits modulo phases, have simple unstable theories (Theorems 3.1 and 3.3 ).
(B) Let n n n be a positive integer, let a stabilizer code on n n n qubits be given, let S S S be the set of labels of its stabilizer group, and let L L L be a set of logical operators of the code, labels that together with S S S span the labels of its undetectable errors; labels on n n n qubits are regarded as elements of the Pauli group through the first n n n of countably many qubits. An undetectable error is a logical error exactly when its type over S ∪ L S\cup L S ∪ L , in the theory of the Pauli group, forks over S S S ; all logical errors have the same type over S S S , and this type does not fork over the empty set (Theorem 4.5 and Proposition 4.7 ). Every isomorphism between finite-dimensional substructures of the Pauli group extends to an automorphism induced by a Clifford unitary on finitely many qubits, and every stabilizer code has an encoding circuit made of Clifford gates (Theorem 4.3 and Corollary 4.4 ). The independence theorem becomes the gluing of syndromes: if two sets of checks are independent over a common set, then any two syndromes, each realized by some error on its own set of checks, that agree on the common set are realized by a single error (Proposition 4.8 ). The probes of the Pauli observable are the Pauli channels, and the depolarizing noise of every positive rate on countably many qubits is concentrated on the Pauli strings of infinite support, which are idealized errors and not actual ones (Proposition 5.4).
(C) For every diagonal observable whose pure responses, the responses of single labels, have the independence property, and in particular for the Rado observable and the Pauli observable, the real-valued theory of the observable has the tree property of the second kind, for the formula that is the difference of two responses. Since the independence property of a diagonal observable passes to its pure responses, it follows that a diagonal observable whose real-valued theory is simple is NIP (Theorem 6.1 ).
(D) For the Pauli observable, the indicator of the syndrome sector of every nonzero syndrome of finitely many linearly independent checks is, on pure probes, the difference of the responses of two uniform mixtures of checks, and the response itself has the tree property of the second kind, witnessed by actual preparations: for blocks of checks that are linearly independent all together, the conditions that a given check is the first of its block to fire, that is, to anticommute with the unknown error, form the rows of a witnessing array; in the bit-flip repetition code, whose checks compare neighboring qubits of a chain, the first check to fire marks the first domain wall of a bit flip, the first boundary between flipped and unflipped qubits (Proposition 7.1, Theorem 7.2 and Example 7.4 ).
(E) For the Rado observable, and more generally for every diagonal observable with freely independent pure responses, that is, one in which every pattern of answers to Alice’s labels is a pure probe, such as the observable of the random bipartite graph, the Fraïssé limit of the finite bipartite graphs with the two sides as two sorts, the conditions on a probe given by instances of a quantifier-free formula with actual mixtures as parameters are compatible along every sequence: no such sequence is uniformly k k k -inconsistent, for any integer k ≥ 2 k\geq2 k ≥ 2 . Hence, for these observables, every array that witnesses the tree property of the second kind of the formula in (C) contains idealized preparations (Theorems 8.1 and 8.3 , and Corollary 8.2 ).
The difference between (D) and (E) lies in the probes. For the Pauli observable we show in Proposition 5.4 that the pure probes are the Pauli strings of arbitrary support, which form a compact group in the product topology. Alice’s pure responses are then, up to an affine change, the characters of this group, that is, its continuous homomorphisms into the multiplicative group { ± 1 } \{\pm1\} { ± 1 } . Products of characters are characters, and the indicators of syndrome sectors can therefore be computed by averaging: for finitely many linearly independent checks and a nonzero syndrome, the indicator of its syndrome sector is, on pure probes, the average response over those elements of the group generated by the checks which anticommute with the errors of the sector, minus the average response over those which commute with them (see Proposition 7.1); this identity is the counterpart, for responses, of the familiar expression of the projector onto the states of a given syndrome as an average over the stabilizer group [18 ] , although it requires the checks only to be linearly independent, not to commute. With it, a single mixture of checks can single out the first check of a block to fire, that is, to anticommute with a given error: for linearly independent checks g 0 , g 1 , … g_0, g_1, \ldots g 0 , g 1 , … and each j ∈ N j \in\mathbb{N} j ∈ N , the uniform mixture on the coset of g j g_j g j modulo the span of the earlier checks has response 1 at an error exactly when g j g_j g j is the first of these checks to anticommute with the error. For the Rado observable, by contrast, we show in Lemma 5.5 that the pure probes are all the sets of neighbors, which form the whole Cantor cube, the space of all subsets of the vertex set with the product topology, and that the pure responses are its coordinate functions. Averages of coordinates depend on a probe only through its marginals, the probabilities with which it declares the individual vertices neighbors; in the proof of Theorem 8.1 , a gliding hump argument, which passes to a subsequence whose weights lie, up to small errors, on a common finite set and on pairwise disjoint finite blocks, shows that no sequence of conditions given by affine combinations of responses of actual mixtures, with a common bound on the sum of the absolute values of the constant term and the coefficients, is uniformly k k k -inconsistent, for any k ≥ 2 k \ge2 k ≥ 2 . The same gliding hump, in which maximizers of the individual conditions are glued on disjoint blocks of labels, extends this conclusion to the conditions given by quantifier-free formulas, which are continuous functions of finitely many responses (see Theorem 8.3 ). For the observable of the paradigm, the Rado graph, every array of mixtures that witnesses the tree property of the second kind for a quantifier-free formula therefore contains idealized preparations; for the observable of its quantum counterpart, the Pauli group, the linear relations among the labels, which make the syndrome bit of a product of checks the sum of their syndrome bits, allow actual preparations to witness the same property.
Simple theories and the Kim–Pillay theorem
In this section we recall the tree property, whose absence defines simple theories, together with its two variants, and the Kim–Pillay theorem, which characterizes simple theories by an independence relation; in Section 3 we use this theorem to prove that the theories of both paradigms, the Rado graph and the Pauli group, are simple.
To fix the setting, we work in a monster model M \mathbb{M} M of a complete first-order theory T T T : a model of very large cardinality in which every set of formulas in finitely many variables with parameters from a subset of smaller cardinality is satisfied whenever it is finitely satisfiable, and in which every elementary map between two such subsets, that is, every map under which each tuple and its image satisfy the same formulas, extends to an automorphism. These subsets are called small, and from now on all sets of parameters are assumed to be small. The type tp ( a / C ) \operatorname{tp}(a/C) tp ( a / C ) of a tuple a a a over a set C C C is the set of formulas with parameters from C C C that a a a satisfies. For sets B B B and D D D we write B D BD B D for B ∪ D B \cup D B ∪ D , and, identifying a tuple a a a with the set of its entries, we write a B aB a B for the union of that set with B B B . For a finite sequence s ∈ N < N s \in\mathbb{N}^{<\mathbb{N}} s ∈ N < N of natural numbers and j ∈ N j \in\mathbb{N} j ∈ N , we write s ⌢ j s^\frown j s ⌢ j for the sequence obtained by appending j j j to s s s , and for an infinite sequence η ∈ N N \eta\in\mathbb{N}^{\mathbb{N}} η ∈ N N and n ∈ N n \in\mathbb{N} n ∈ N , we write η ↾ n \eta\mathord{\upharpoonright} n η ↾ n for the sequence of the first n n n terms of η \eta η . Two finite sequences are incomparable when neither is an initial segment of the other.
Definition 2.1. Let φ ( x , y ) \varphi(x,y) φ ( x , y ) be a formula, where x x x and y y y are finite tuples of variables.
(1) For an integer k ≥ 2 k \ge2 k ≥ 2 , a sequence ( b j ) j ∈ N (b_j)_{j\in\mathbb{N}} ( b j ) j ∈ N of tuples of M \mathbb{M} M of the length of y y y is k k k -inconsistent for φ \varphi φ if for all j 1 < ⋯ < j k j_1 < \cdots< j_k j 1 < ⋯ < j k in N \mathbb{N} N there is no x x x with φ ( x , b j 1 ) ∧ ⋯ ∧ φ ( x , b j k ) \varphi(x,b_{j_1}) \land\cdots\land\varphi(x,b_{j_k}) φ ( x , b j 1 ) ∧ ⋯ ∧ φ ( x , b j k ) .
(2) The formula φ \varphi φ has the tree property if, for some k ≥ 2 k \ge2 k ≥ 2 , there is a tree ( b s ) s ∈ N < N (b_s)_{s\in\mathbb{N}^{<\mathbb{N}}} ( b s ) s ∈ N < N such that for every η ∈ N N \eta\in\mathbb{N}^{\mathbb{N}} η ∈ N N the set { φ ( x , b η ↾ n ) : n ∈ N } \{\varphi(x,b_{\eta\upharpoonright n}) : n \in\mathbb{N}\} { φ ( x , b η ↾ n ) : n ∈ N } is consistent and for every s s s the sequence ( b s ⌢ j ) j ∈ N (b_{s^\frown j})_{j\in\mathbb{N}} ( b s ⌢ j ) j ∈ N is k k k -inconsistent for φ \varphi φ .
(3) The formula φ \varphi φ has the tree property of the first kind if there is a tree ( b s ) s ∈ N < N (b_s)_{s\in\mathbb{N}^{<\mathbb{N}}} ( b s ) s ∈ N < N such that for every η ∈ N N \eta\in\mathbb{N}^{\mathbb{N}} η ∈ N N the set { φ ( x , b η ↾ n ) : n ∈ N } \{\varphi(x,b_{\eta\upharpoonright n}) : n \in\mathbb{N}\} { φ ( x , b η ↾ n ) : n ∈ N } is consistent and for all incomparable s , t ∈ N < N s,t \in\mathbb{N}^{<\mathbb{N}} s , t ∈ N < N the set { φ ( x , b s ) , φ ( x , b t ) } \{\varphi(x,b_s),\varphi(x,b_t)\} { φ ( x , b s ) , φ ( x , b t )} is inconsistent.
(4) The formula φ \varphi φ has the tree property of the second kind (T P 2 \mathrm{TP}_2 TP 2 ) if, for some k ≥ 2 k \ge2 k ≥ 2 , there is an array ( b i j ) i , j ∈ N (b_{ij})_{i,j\in\mathbb{N}} ( b ij ) i , j ∈ N such that every row ( b i j ) j ∈ N (b_{ij})_{j\in\mathbb{N}} ( b ij ) j ∈ N is k k k -inconsistent for φ \varphi φ and for every f : N → N f:\mathbb{N}\to\mathbb{N} f : N → N the set { φ ( x , b i f ( i ) ) : i ∈ N } \{\varphi(x,b_{if(i)}) : i \in\mathbb{N}\} { φ ( x , b i f ( i ) ) : i ∈ N } is consistent.
(5) The theory T T T is simple if no formula has the tree property.
Recall that the theory T T T is stable when no formula φ ( x , y ) \varphi(x,y) φ ( x , y ) has the order property, that is, when there are no tuples a i a_i a i and b i b_i b i , for i ∈ N i \in\mathbb{N} i ∈ N , such that, for all i , j ∈ N i,j \in\mathbb{N} i , j ∈ N , the formula φ ( a i , b j ) \varphi(a_i,b_j) φ ( a i , b j ) holds exactly when i < j i<j i < j . It is NIP when no formula φ ( x , y ) \varphi(x,y) φ ( x , y ) has the independence property, that is, when there are no tuples b i b_i b i , for i ∈ N i \in\mathbb{N} i ∈ N , such that every subset of N \mathbb{N} N has the form { i ∈ N : φ ( a , b i ) holds } \{i \in\mathbb{N} : \varphi(a,b_i)\text{ holds}\} { i ∈ N : φ ( a , b i ) holds } for some tuple a a a . Every stable theory is simple, and the tree property of the second kind implies the tree property; by a theorem of Shelah, a theory is simple exactly when it has neither T P 2 \mathrm{TP}_2 TP 2 nor the tree property of the first kind (see [27 Theorem III.7.11] ). A simple theory is stable if and only if it is NIP (see [26 , 17 ] ), so a simple unstable theory has the independence property. To prove simplicity we do not build trees; instead, we exhibit an independence relation directly and show that it is nonforking independence, which we now recall. For a formula φ ( x , y ) \varphi(x,y) φ ( x , y ) and a tuple b b b of M \mathbb{M} M of the length of y y y , the formula φ ( x , b ) \varphi(x,b) φ ( x , b ) divides over C C C when, for some integer k ≥ 2 k \ge2 k ≥ 2 , there is a sequence ( b j ) j ∈ N (b_j)_{j\in\mathbb{N}} ( b j ) j ∈ N with b 0 = b b_0=b b 0 = b that is k k k -inconsistent for φ \varphi φ and indiscernible over C C C , that is, such that any two of its increasing finite subsequences of the same length have the same type over C C C . The formula forks over C C C when it implies a finite disjunction of formulas each of which divides over C C C ; a type forks over C C C when one of its formulas does. Nonforking independence is the relation under which A ⊥ C B A \mathrel{\perp_C} B A ⊥ C B holds, for small sets A A A , B B B and C C C , when, for every finite tuple a a a from A A A , the type tp ( a / B C ) \operatorname{tp}(a/BC) tp ( a / B C ) does not fork over C C C . By the Kim–Pillay theorem (see Fact 2.2 ), every relation with the properties listed there coincides with nonforking independence.
Fact 2.2 (Kim and Pillay). Let ⊥ \mathrel{\perp} ⊥ be a ternary relation on small subsets of M \mathbb{M} M , written A ⊥ C B A \mathrel{\perp_C} B A ⊥ C B , and assume that it satisfies the following:
(i) invariance under automorphisms of M \mathbb{M} M ;
(ii) symmetry: the relation A ⊥ C B A \mathrel{\perp_C} B A ⊥ C B holds if and only if B ⊥ C A B \mathrel{\perp_C} A B ⊥ C A holds;
(iii) monotonicity and transitivity: the relation A ⊥ C B D A \mathrel{\perp_C} BD A ⊥ C B D holds if and only if both A ⊥ C B A \mathrel{\perp_C} B A ⊥ C B and A ⊥ C B D A \mathrel{\perp_{CB}} D A ⊥ C B D hold;
(iv) finite character: the relation A ⊥ C B A \mathrel{\perp_C} B A ⊥ C B holds if and only if a ⊥ C b a \mathrel{\perp_C} b a ⊥ C b holds for all finite tuples a a a from A A A and b b b from $B;
(v) local character: for every finite tuple a a a and every set B B B there is B 0 ⊆ B B_0 \subseteq B B 0 ⊆ B with ∣ B 0 ∣ ≤ ∣ T ∣ \lvert B_0\rvert\leq\lvert T\rvert ∣ B 0 ∣ ≤ ∣ T ∣ and a ⊥ B 0 B a \mathrel{\perp}_{B_0} B a ⊥ B 0 B , where ∣ T ∣ \lvert T\rvert ∣ T ∣ is the number of formulas of the language of T T T ;
(vi) extension: for every tuple a a a and all sets C ⊆ B C \subseteq B C ⊆ B there is a ′ a' a ′ with tp ( a ′ / C ) = tp ( a / C ) \operatorname{tp}(a'/C) = \operatorname{tp}(a/C) tp ( a ′ / C ) = tp ( a / C ) and a ′ ⊥ C B a' \mathrel{\perp}_{C} B a ′ ⊥ C B ;
(vii) independence theorem over models: if M M M is a small elementary substructure of M \mathfrak{M} M , B ⊥ M D B \mathrel{\perp}_{M} D B ⊥ M D , a 1 ⊥ M B a_1 \mathrel{\perp}_{M} B a 1 ⊥ M B , a 2 ⊥ M D a_2 \mathrel{\perp}_{M} D a 2 ⊥ M D and tp ( a 1 / M ) = tp ( a 2 / M ) \operatorname{tp}(a_1/M) = \operatorname{tp}(a_2/M) tp ( a 1 / M ) = tp ( a 2 / M ) , then there is a a a with tp ( a / M B ) = tp ( a 1 / M B ) \operatorname{tp}(a/MB) = \operatorname{tp}(a_1/MB) tp ( a / M B ) = tp ( a 1 / M B ) , tp ( a / M D ) = tp ( a 2 / M D ) \operatorname{tp}(a/MD) = \operatorname{tp}(a_2/MD) tp ( a / M D ) = tp ( a 2 / M D ) and a ⊥ M B D a \mathrel{\perp}_{M} BD a ⊥ M B D .
Then the theory T T T is simple and the relation ⊥ \mathrel{\perp} ⊥ coincides with nonforking independence (see [23 Theorem 4.2] ).
The two paradigms
Here we prove Theorem 1.1 (A): the Rado graph and the Pauli group on countably many qubits, taken modulo phases and with anticommutation as its relation, have simple unstable theories. In the subsections below we show that both are Fraïssé limits whose theories eliminate quantifiers, and that in both the independence relation of the Kim–Pillay theorem (see Fact 2.2 ) is read off from algebraic closure, which adds to a set the elements that lie in finite sets definable with parameters from it, and which takes each set to itself in the graph and to its linear span in the Pauli group.
The Rado graph
The class of finite graphs has the amalgamation property, since two graphs that share an induced subgraph can be glued along it without new edges. Its Fraïssé limit is the Rado graph ( Γ , E ) (\Gamma, E) ( Γ , E ) , with vertex set Γ \Gamma Γ and edge relation E E E , and a countable graph is isomorphic to the Rado graph if and only if it has the extension property : for all finite disjoint sets Γ 1 \Gamma_1 Γ 1 and Γ 0 \Gamma_0 Γ 0 of vertices, there are infinitely many vertices outside Γ 1 ∪ Γ 0 \Gamma_1 \cup\Gamma_0 Γ 1 ∪ Γ 0 adjacent to every vertex of Γ 1 \Gamma_1 Γ 1 and to no vertex of Γ 0 \Gamma_0 Γ 0 [Fra54, Rad64]. The theory of ( Γ , E ) (\Gamma, E) ( Γ , E ) is ℵ 0 \aleph_0 ℵ 0 -categorical and eliminates quantifiers, so the type of a tuple over a set D D D is determined by the equalities and edges among its entries and between its entries and the elements of D D D . By saturation, the monster model M \mathfrak{M} M of the theory of ( Γ , E ) (\Gamma, E) ( Γ , E ) has the extension property for small disjoint sets Γ 1 \Gamma_1 Γ 1 and Γ 0 \Gamma_0 Γ 0 of vertices.
The relation E ( x , y ) E(x,y) E ( x , y ) has the independence property, since, by compactness, it suffices to realize every finite pattern: for every positive integer n n n , all distinct vertices a 1 , … , a n a_1,\ldots,a_n a 1 , … , a n of the Rado graph and every set of indices among 1 , … , n 1,\ldots,n 1 , … , n , the extension property gives a vertex adjacent to a i a_i a i exactly when i i i is in the set. Hence the theory of the Rado graph is unstable.
Theorem 3.1. The theory of the Rado graph is simple, and, for small sets A A A , B B B and C C C of vertices of the monster model M \mathfrak{M} M of this theory, nonforking independence A ⊥ C B A \mathrel{\perp}_{C} B A ⊥ C B holds if and only if A ∩ B ⊆ C A \cap B \subseteq C A ∩ B ⊆ C .
Proof. We verify the hypotheses of Fact 2.2 for the relation A ⊥ C B A \mathrel{\perp}_{C} B A ⊥ C B defined by A ∩ B ⊆ C A \cap B \subseteq C A ∩ B ⊆ C . The first five are set algebra, and extension and the independence theorem follow from the extension property of M \mathfrak{M} M . Invariance, symmetry and finite character are immediate. Monotonicity and transitivity hold together, since the conditions A ∩ B ⊆ C A \cap B \subseteq C A ∩ B ⊆ C and A ∩ D ⊆ C ∪ B A \cap D \subseteq C \cup B A ∩ D ⊆ C ∪ B say jointly that every element of A ∩ ( B ∪ D ) A \cap(B \cup D) A ∩ ( B ∪ D ) lies in C C C . For local character, given a finite tuple a a a and a set B B B , the finite set B 0 = B ∩ a ⊆ B B_0 = B \cap a \subseteq B B 0 = B ∩ a ⊆ B , which is the relation a ⊥ B 0 B a \mathrel{\perp}_{B_0} B a ⊥ B 0 B .
For extension, let a a a and C ⊆ B C \subseteq B C ⊆ B be given, and write a = ( c , a 0 ) a = (c,a_0) a = ( c , a 0 ) , where c c c lists the entries of a a a in C C C . The type of a 0 a_0 a 0 over C C C prescribes only the equalities and edges of a 0 a_0 a 0 within itself and to C C C . Hence the extension property of M \mathfrak{M} M , applied one entry at a time, with B ∖ C B \setminus C B ∖ C added to the set of vertices to which nonadjacency is prescribed, gives a tuple a 0 ′ a'_0 a 0 ′ disjoint from B B B with the same type over C C C , and the tuple a ′ = ( c , a 0 ′ ) a'=(c,a'_0) a ′ = ( c , a 0 ′ ) satisfies a ′ ∩ B ⊆ C a'\cap B\subseteq C a ′ ∩ B ⊆ C .
For the independence theorem, let M M M , B B B , D D D , a 1 a_1 a 1 and a 2 a_2 a 2 be as in Fact 2.2(vii). Since tp ( a 1 / M ) = tp ( a 2 / M ) \operatorname{tp}(a_1/M)=\operatorname{tp}(a_2/M) tp ( a 1 / M ) = tp ( a 2 / M ) , the two tuples have the same entries in M M M and the same remaining equalities; write a ℓ = ( m , a ℓ ′ ) a_\ell=(m,a'_\ell) a ℓ = ( m , a ℓ ′ ) for ℓ = 1 , 2 \ell=1,2 ℓ = 1 , 2 , where the tuple m m m lists these common entries and each a ℓ ′ a'_\ell a ℓ ′ is disjoint from M M M . The hypotheses a 1 ⊥ ⊥ M B a_1\mathrel{\perp\!\!\!\perp}_M B a 1 ⊥ ⊥ M B and a 2 ⊥ ⊥ M D a_2\mathrel{\perp\!\!\!\perp}_M D a 2 ⊥ ⊥ M D say that a 1 ′ a'_1 a 1 ′ is disjoint from B B B and a 2 ′ a'_2 a 2 ′ from D D D . We look for a tuple x x x , disjoint from M ∪ B ∪ D M\cup B\cup D M ∪ B ∪ D , whose equalities and edges within itself and edges to M M M are those of a 1 ′ a'_1 a 1 ′ (equivalently, of a 2 ′ a'_2 a 2 ′ ), whose edges to B ∖ M B\setminus M B ∖ M are those of a 1 ′ a'_1 a 1 ′ , and whose edges to D ∖ M D\setminus M D ∖ M are those of a 2 ′ a'_2 a 2 ′ . These prescriptions concern disjoint sets of vertices, because B ∩ D ⊆ M B\cap D\subseteq M B ∩ D ⊆ M ; the extension property of M M M therefore provides such an x x x , and by quantifier elimination the tuple a = ( m , x ) a=(m,x) a = ( m , x ) is as required. □
Pauli strings
The Hilbert space of a qubit is C 2 \mathbb{C}^2 C 2 , and the bit flip and the phase flip are two of the Pauli matrices, which anticommute:
X = ( 0 1 1 0 ) , Z = ( 1 0 0 − 1 ) , X Z = − Z X . X=\begin{pmatrix}0&1\\1&0\end{pmatrix},\qquad Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix},\qquad XZ=-ZX. X = ( 0 1 1 0 ) , Z = ( 1 0 0 − 1 ) , X Z = − Z X .
For a positive integer n n n , a Pauli string on n n n qubits is, up to a phase, a tensor product X x 1 Z z 1 ⊗ ⋯ ⊗ X x n Z z n X^{x_1}Z^{z_1}\otimes\cdots\otimes X^{x_n}Z^{z_n} X x 1 Z z 1 ⊗ ⋯ ⊗ X x n Z z n with x k x_k x k and z k z_k z k in the two-element field F 2 \mathbb{F}_2 F 2 for k = 1 , … , n k=1,\ldots,n k = 1 , … , n , and it is labeled by the vector ( x , z ) ∈ F 2 2 n (x,z)\in\mathbb{F}_2^{2n} ( x , z ) ∈ F 2 2 n , where x = ( x 1 , … , x n ) x=(x_1,\ldots,x_n) x = ( x 1 , … , x n ) and z = ( z 1 , … , z n ) z=(z_1,\ldots,z_n) z = ( z 1 , … , z n ) ; products of strings correspond to sums of labels. For a label v = ( x , z ) v=(x,z) v = ( x , z ) we write P v P_v P v for the Hermitian string i N ( v ) X x 1 Z z 1 ⊗ ⋯ ⊗ X x n Z z n i^{N(v)}X^{x_1}Z^{z_1}\otimes\cdots\otimes X^{x_n}Z^{z_n} i N ( v ) X x 1 Z z 1 ⊗ ⋯ ⊗ X x n Z z n , where N ( v ) N(v) N ( v ) is the number of indices k k k with x k = z k = 1 x_k=z_k=1 x k = z k = 1 ; it satisfies P v 2 = I P_v^2=I P v 2 = I , where I I I is the identity, and the label ( 1 , 1 ) (1,1) ( 1 , 1 ) of one qubit gives the third Pauli matrix P ( 1 , 1 ) = i X Z = Y P_{(1,1)}=iXZ=Y P ( 1 , 1 ) = i X Z = Y . Two strings either commute or anticommute, and
P ( x , z ) P ( x ′ , z ′ ) = ( − 1 ) ω ( ( x , z ) , ( x ′ , z ′ ) ) P ( x ′ , z ′ ) P ( x , z ) , ω ( ( x , z ) , ( x ′ , z ′ ) ) = x ⋅ z ′ + z ⋅ x ′ , P_{(x,z)}P_{(x',z')}=(-1)^{\omega((x,z),(x',z'))}P_{(x',z')}P_{(x,z)},\qquad\omega((x,z),(x',z'))=x\cdot z'+z\cdot x', P ( x , z ) P ( x ′ , z ′ ) = ( − 1 ) ω (( x , z ) , ( x ′ , z ′ )) P ( x ′ , z ′ ) P ( x , z ) , ω (( x , z ) , ( x ′ , z ′ )) = x ⋅ z ′ + z ⋅ x ′ ,
where x ⋅ z ′ = ∑ k = 1 n x k z k ′ x\cdot z'=\sum_{k=1}^{n}x_kz'_k x ⋅ z ′ = ∑ k = 1 n x k z k ′ , computed in F 2 \mathbb{F}_2 F 2 , as in the Introduction. The form ω \omega ω is bilinear, alternating and nondegenerate on F 2 2 n \mathbb{F}_2^{2n} F 2 2 n . Recall that in error correction an error is a Pauli string that acts on an encoded state as noise, and a check is a Pauli string whose measurement detects errors; as in the Introduction, we identify each Pauli string, up to its phase, with its label. The syndrome of an error e e e with respect to checks g 1 , … , g m g_1,\ldots,g_m g 1 , … , g m , for a positive integer m m m , is the vector ( ω ( g 1 , e ) , … , ω ( g m , e ) ) (\omega(g_1,e),\ldots,\omega(g_m,e)) ( ω ( g 1 , e ) , … , ω ( g m , e )) : when the checks commute pairwise, measuring them on a state that they fix, after the error has acted on it, reveals which of them anticommute with the error. On countably many qubits we write V V V for the direct sum ⨁ k ∈ N F 2 2 \bigoplus_{k\in\mathbb{N}}\mathbb{F}_2^2 ⨁ k ∈ N F 2 2 , with the form given by the same formula, now a finite sum for each pair of vectors; its elements are the labels of the Pauli strings that act nontrivially on only finitely many qubits.
The Pauli group as a Fraïssé limit
In the language with + + + , $0$ and a binary relation for ω ( x , y ) = 1 \omega(x,y)=1 ω ( x , y ) = 1 , substructures are F 2 \mathbb{F}_2 F 2 -subspaces with the restricted form. Finite alternating spaces over F 2 \mathbb{F}_2 F 2 , the finite vector spaces over F 2 \mathbb{F}_2 F 2 with an alternating bilinear form, amalgamate: if W 0 ⊆ W 1 W_0\subseteq W_1 W 0 ⊆ W 1 and W 0 ⊆ W 2 W_0\subseteq W_2 W 0 ⊆ W 2 , write W 1 = W 0 ⊕ W 1 ′ W_1=W_0\oplus W'_1 W 1 = W 0 ⊕ W 1 ′ and W 2 = W 0 ⊕ W 2 ′ W_2=W_0\oplus W'_2 W 2 = W 0 ⊕ W 2 ′ , and give W 0 ⊕ W 1 ′ ⊕ W 2 ′ W_0\oplus W'_1\oplus W'_2 W 0 ⊕ W 1 ′ ⊕ W 2 ′ the bilinear form that extends the forms of W 1 W_1 W 1 and $W_2 and vanishes on W 1 ′ × W 2 ′ W'_1\times W'_2 W 1 ′ × W 2 ′ and on W 2 ′ × W 1 ′ W'_2\times W'_1 W 2 ′ × W 1 ′ . Every finite alternating space embeds in a nondegenerate one, and by Witt’s theorem [2 ] every isometry between subspaces of a finite nondegenerate alternating space extends to an isometry of the whole space. A back-and-forth argument along symplectic bases therefore shows that ( V , ω ) (V,\omega) ( V , ω ) is the Fraïssé limit of the finite alternating spaces over F 2 \mathbb{F}_2 F 2 . Its theory is ℵ 0 \aleph_0 ℵ 0 -categorical and eliminates quantifiers, so the type of a tuple a a a over a set D D D is determined by the linear relations of a a a over span ( D ) \operatorname{span}(D) span ( D ) and the values of ω \omega ω on span ( a D ) \operatorname{span}(aD) span ( a D ) . The algebraic closure of a set is its span.
Lemma 3.2. Let n n n be a positive integer. If a 1 , … , a n ∈ V a_1,\ldots,a_n \in V a 1 , … , a n ∈ V are linearly independent and ε 1 , … , ε n ∈ F 2 \varepsilon_1,\ldots,\varepsilon_n \in\mathbb{F}_2 ε 1 , … , ε n ∈ F 2 , then there is b ∈ V b \in V b ∈ V with ω ( a i , b ) = ε i \omega(a_i,b)=\varepsilon_i ω ( a i , b ) = ε i for i = 1 , … , n i=1,\ldots,n i = 1 , … , n .
Proof. The vectors a i a_i a i lie in the span W W W of the labels of X X X and Z Z Z on the first m m m qubits, for a large enough integer m m m , and the form is nondegenerate on W W W . Hence the functionals ω ( a i , ⋅ ) \omega(a_i,\mathord{\cdot}) ω ( a i , ⋅ ) restricted to W W W are linearly independent, and the linear map b ↦ ( ω ( a i , b ) ) i ≤ n b \mapsto(\omega(a_i,b))_{i\leq n} b ↦ ( ω ( a i , b ) ) i ≤ n from W W W to F 2 n \mathbb{F}_2^n F 2 n is onto. □
By Lemma 3.2 and compactness, the formula ω ( x , y ) = 1 \omega(x,y)=1 ω ( x , y ) = 1 has the independence property: every syndrome with respect to finitely many linearly independent checks is the syndrome of some error. Hence the theory of ( V , ω ) (V,\omega) ( V , ω ) is unstable. By saturation, for every small subspace D D D of the monster model M \mathbb{M} M of the theory of ( V , ω ) (V,\omega) ( V , ω ) and every positive integer n n n , every alternating space D ⊕ span ( x 1 , … , x n ) D\oplus\operatorname{span}(x_1,\ldots,x_n) D ⊕ span ( x 1 , … , x n ) that extends D D D by n n n linearly independent vectors is realized over D D D by elements of M \mathbb{M} M ; in particular, for every linear functional f f f on D D D there is b ∈ M b\in\mathbb{M} b ∈ M with ω ( ⋅ , b ) = f \omega(\mathord{\cdot},b)=f ω ( ⋅ , b ) = f on D D D .
Theorem 3.3. The theory of ( V , ω ) (V,\omega) ( V , ω ) is simple, and, for small subsets A A A , B B B and C C C of the monster model M \mathbb{M} M of this theory, nonforking independence A ⊥ ⊥ C B A\mathrel{\perp\!\!\!\perp}_{C}B A ⊥ ⊥ C B holds if and only if span ( A C ) ∩ span ( B C ) = span ( C ) \operatorname{span}(AC)\cap\operatorname{span}(BC)=\operatorname{span}(C) span ( A C ) ∩ span ( B C ) = span ( C ) .
Proof. The proof follows that of Theorem 3.1 , with linear spans in place of the sets themselves: the first five axioms are linear algebra, and extension and the independence theorem come from the freedom to prescribe the form on a complement. We verify the hypotheses of Fact 2.2 for the relation A ⊥ ⊥ C B A\mathrel{\perp\!\!\!\perp}_{C}B A ⊥ ⊥ C B defined by span ( A C ) ∩ span ( B C ) = span ( C ) \operatorname{span}(AC)\cap\operatorname{span}(BC)=\operatorname{span}(C) span ( A C ) ∩ span ( B C ) = span ( C ) . Invariance and symmetry are immediate, and finite character holds because a vector of span ( A C ) ∩ span ( B C ) \operatorname{span}(AC)\cap\operatorname{span}(BC) span ( A C ) ∩ span ( B C ) outside span ( C ) \operatorname{span}(C) span ( C ) is a combination of finitely many elements of A A A , B B B and C C C .
For monotonicity and transitivity, put Q 1 = span ( A C ) Q_1=\operatorname{span}(AC) Q 1 = span ( A C ) , Q 2 = span ( B C ) Q_2=\operatorname{span}(BC) Q 2 = span ( B C ) , Q 3 = span ( B C D ) Q_3=\operatorname{span}(BCD) Q 3 = span ( B C D ) and Q 0 = span ( C ) Q_0=\operatorname{span}(C) Q 0 = span ( C ) ; these subspaces satisfy Q 2 ⊆ Q 3 Q_2\subseteq Q_3 Q 2 ⊆ Q 3 and span ( A B C ) = Q 1 + Q 2 \operatorname{span}(ABC)=Q_1+Q_2 span ( A B C ) = Q 1 + Q 2 . It remains to be shown that Q 1 ∩ Q 3 = Q 0 Q_1\cap Q_3=Q_0 Q 1 ∩ Q 3 = Q 0 if and only if Q 1 ∩ Q 2 = Q 0 Q_1\cap Q_2=Q_0 Q 1 ∩ Q 2 = Q 0 and ( Q 1 + Q 2 ) ∩ Q 3 = Q 2 (Q_1+Q_2)\cap Q_3=Q_2 ( Q 1 + Q 2 ) ∩ Q 3 = Q 2 . Suppose that Q 1 ∩ Q 3 = Q 0 Q_1\cap Q_3=Q_0 Q 1 ∩ Q 3 = Q 0 . Since Q 2 ⊆ Q 3 Q_2\subseteq Q_3 Q 2 ⊆ Q 3 , the intersection Q 1 ∩ Q 2 Q_1\cap Q_2 Q 1 ∩ Q 2 is contained in Q 0 Q_0 Q 0 . If u 1 + u 2 ∈ Q 3 u_1+u_2\in Q_3 u 1 + u 2 ∈ Q 3 with u 1 ∈ Q 1 u_1\in Q_1 u 1 ∈ Q 1 and u 2 ∈ Q 2 u_2\in Q_2 u 2 ∈ Q 2 , then the vector u 1 u_1 u 1 also lies in Q 3 Q_3 Q 3 , hence in Q 1 ∩ Q 3 = Q 0 ⊆ Q 2 Q_1\cap Q_3=Q_0\subseteq Q_2 Q 1 ∩ Q 3 = Q 0 ⊆ Q 2 ; thus the sum lies in Q 2 Q_2 Q 2 . Conversely, every u ∈ Q 1 ∩ Q 3 u\in Q_1\cap Q_3 u ∈ Q 1 ∩ Q 3 lies in ( Q 1 + Q 2 ) ∩ Q 3 = Q 2 (Q_1+Q_2)\cap Q_3=Q_2 ( Q 1 + Q 2 ) ∩ Q 3 = Q 2 , and therefore in Q 1 ∩ Q 2 = Q 0 Q_1\cap Q_2=Q_0 Q 1 ∩ Q 2 = Q 0 .
Local character follows from finite dimension. Given a finite tuple a a a and a set B B B , the space span ( a ) ∩ span ( B ) \operatorname{span}(a)\cap\operatorname{span}(B) span ( a ) ∩ span ( B ) is finite, so it is contained in span ( B 0 ) \operatorname{span}(B_0) span ( B 0 ) for some finite B 0 ⊆ B B_0\subseteq B B 0 ⊆ B . If u + w ∈ span ( B ) u+w\in\operatorname{span}(B) u + w ∈ span ( B ) with u ∈ span ( a ) u\in\operatorname{span}(a) u ∈ span ( a ) and w ∈ span ( B 0 ) w\in\operatorname{span}(B_0) w ∈ span ( B 0 ) , then the vector u u u lies in span ( a ) ∩ span ( B ) ⊆ span ( B 0 ) \operatorname{span}(a)\cap\operatorname{span}(B)\subseteq\operatorname{span}(B_0) span ( a ) ∩ span ( B ) ⊆ span ( B 0 ) . It follows that span ( a B 0 ) ∩ span ( B ) = span ( B 0 ) \operatorname{span}(aB_0)\cap\operatorname{span}(B)=\operatorname{span}(B_0) span ( a B 0 ) ∩ span ( B ) = span ( B 0 ) , which is the relation a ⊥ ⊥ B 0 B a\mathrel{\perp\!\!\!\perp}_{B_0}B a ⊥ ⊥ B 0 B .
For extension, let a a a and C ⊆ B C\subseteq B C ⊆ B be given. Replacing a a a by a maximal subtuple linearly independent over span ( C ) \operatorname{span}(C) span ( C ) , we may assume that a a a is linearly independent over span ( C ) \operatorname{span}(C) span ( C ) , since the remaining entries are then determined. Choose a complement B ′ B' B ′ of span ( C ) \operatorname{span}(C) span ( C ) in span ( B C ) \operatorname{span}(BC) span ( B C ) . By saturation, for a tuple x x x of new vectors of the same length as a a a , the alternating space span ( B C ) ⊕ span ( x ) \operatorname{span}(BC)\oplus\operatorname{span}(x) span ( B C ) ⊕ span ( x ) in which x x x has the values of ω \omega ω prescribed by tp ( a / C ) \operatorname{tp}(a/C) tp ( a / C ) on span ( x C ) \operatorname{span}(xC) span ( x C ) and is orthogonal to B ′ B' B ′ is realized over span ( B C ) \operatorname{span}(BC) span ( B C ) by a tuple a ′ a' a ′ ; this tuple has the type of a a a over C C C and is linearly independent over span ( B C ) \operatorname{span}(BC) span ( B C ) , whence span ( a ′ C ) ∩ span ( B C ) = span ( C ) \operatorname{span}(a'C)\cap\operatorname{span}(BC)=\operatorname{span}(C) span ( a ′ C ) ∩ span ( B C ) = span ( C ) , which is the relation a ′ ⊥ ⊥ C B a'\mathrel{\perp\!\!\!\perp}_{C}B a ′ ⊥ ⊥ C B .
The independence theorem reduces to a gluing of functionals. Let M M M , B B B , D D D , a 1 a_1 a 1 and a 2 a_2 a 2 be as in Fact 2.2 (vii). As in the proof of extension, we may assume that a 1 a_1 a 1 is linearly independent over M M M ; then so is a 2 a_2 a 2 , and the hypotheses a 1 ⊥ ⊥ M B a_1\mathrel{\perp\!\!\!\perp}_{M}B a 1 ⊥ ⊥ M B and a 2 ⊥ ⊥ M D a_2\mathrel{\perp\!\!\!\perp}_{M}D a 2 ⊥ ⊥ M D make a 1 a_1 a 1 linearly independent over span ( M B ) \operatorname{span}(MB) span ( M B ) and a 2 a_2 a 2 over span ( M D ) \operatorname{span}(MD) span ( M D ) . Let n n n be the common length
of a 1 a_1 a 1 and a 2 a_2 a 2 , and, for ℓ = 1 , 2 \ell= 1, 2 ℓ = 1 , 2 and k = 1 , … , n k = 1, \ldots, n k = 1 , … , n , let a ℓ , k a_{\ell,k} a ℓ , k be the k k k th entry of a ℓ a_\ell a ℓ . For each k k k , the functionals ω ( a 1 , k , ⋅ ) \omega(a_{1,k}, \mathord\cdot) ω ( a 1 , k , ⋅ ) on span ( M B ) \operatorname{span}(MB) span ( M B ) and ω ( a 2 , k , ⋅ ) \omega(a_{2,k}, \mathord\cdot) ω ( a 2 , k , ⋅ ) on span ( M D ) \operatorname{span}(MD) span ( M D ) agree on M M M , because tp ( a 1 / M ) = tp ( a 2 / M ) \operatorname{tp}(a_1/M) = \operatorname{tp}(a_2/M) tp ( a 1 / M ) = tp ( a 2 / M ) . Since B ⊥ M D B \mathrel{\perp_M} D B ⊥ M D , their domains meet in span ( M B ) ∩ span ( M D ) = M \operatorname{span}(MB) \cap\operatorname{span}(MD) = M span ( M B ) ∩ span ( M D ) = M , and the two functionals glue to a linear functional on span ( M B D ) \operatorname{span}(MBD) span ( M B D ) . Realize over span ( M B D ) \operatorname{span}(MBD) span ( M B D ) a tuple a a a , linearly independent over span ( M B D ) \operatorname{span}(MBD) span ( M B D ) , with these functionals and with the values of ω \omega ω on a a a given by tp ( a 1 / M ) \operatorname{tp}(a_1/M) tp ( a 1 / M ) . By quantifier elimination, the type of a a a over M B MB M B is that of a 1 a_1 a 1 , and its type over M D MD M D is that of a 2 a_2 a 2 ; the relation a ⊥ M B D a \mathrel{\perp_M} BD a ⊥ M B D holds by construction. □ \square □
In both structures, then, nonforking independence is the independence given by algebraic closure: for small sets A A A , B B B and C C C , the relation A ⊥ C B A \mathrel{\perp_C} B A ⊥ C B holds exactly when the closures of A C AC A C and B C BC B C meet in the closure of C C C . The independence theorem then reduces to the freedom to prescribe the remaining relations, edges or values of the form, on each side separately.
Remark 3.4. The proof of Theorem 3.3 applies over every finite field F q \mathbb{F}_q F q , for a prime power q q q , in the language with a unary function for multiplication by each scalar and a binary relation for each value of the form. For symmetric forms in characteristic two, and for arbitrary bilinear forms, the identification of the limit through symplectic bases and Witt’s theorem is no longer available, but the Fraïssé limit still exists, since the finite spaces with such a form have free amalgamation. The verification of Fact 2.2 goes through with the values ω ( x , x ) \omega(x,x) ω ( x , x ) prescribed by the type and, for forms that are not symmetric, with the functionals ω ( x , ⋅ ) \omega(x,\mathord\cdot) ω ( x , ⋅ ) and ω ( ⋅ , x ) \omega(\mathord\cdot,x) ω ( ⋅ , x ) glued separately.
Stabilizer codes as a structure: a dictionary
Three notions of model theory, namely Fraïssé limits, forking and the independence theorem, are already at work in quantum error correction under other names, and in this section we identify them. After a brief account of stabilizer codes, in each of the three subsections that follow it we state a theorem, prove it, and interpret it twice: once for the physicist, who knows stabilizer codes but not model theory, and once for the logician, who knows model theory but not stabilizer codes. A single example runs through the section: the Laflamme–Miquel–Paz–Zurek five-qubit code [24 ] , the smallest code that corrects an arbitrary error on one qubit, which Bennett, DiVincenzo, Smolin and Wootters [3 ] found independently. The dictionary is summarized in Table 1 .
Table 1. The Pauli group as a structure: the dictionary of Sections 4, 5 and 7.
Stabilizer codes in brief
We recall what the logician needs (see [18 ] ). For a positive integer n n n , a stabilizer group on n n n qubits is a group G \mathcal{G} G of pairwise commuting Pauli strings that does not contain − I -I − I . Its common eigenspace for the eigenvalue 1 1 1 is the code space ; if G \mathcal{G} G has n − k n-k n − k independent generators, for an integer k k k with 0 ≤ k ≤ n 0 \leq k \leq n 0 ≤ k ≤ n , then the code space has dimension 2 k 2^k 2 k and encodes k k k qubits. In the labels of Section 3, the group G \mathcal{G} G corresponds, up to signs, to an isotropic subspace S ⊆ F 2 2 n S \subseteq\mathbb{F}_2^{2n} S ⊆ F 2 2 n , that is, a subspace on which the symplectic form ω \omega ω vanishes. An error is a Pauli string e e e ; measuring independent generators g 1 , … , g n − k g_1,\ldots,g_{n-k} g 1 , … , g n − k of G \mathcal{G} G on the corrupted state returns the syndrome ( ω ( g 1 , e ) , … , ω ( g n − k , e ) ) (\omega(g_1,e),\ldots,\omega(g_{n-k},e)) ( ω ( g 1 , e ) , … , ω ( g n − k , e )) , and the decoder guesses the error from the syndrome. An error with zero syndrome is undetectable. It is harmless if it lies in G \mathcal{G} G up to a phase, since it then acts on the code space as a scalar, and it is a logical error otherwise. On labels, the errors with zero syndrome form the centralizer S ⊥ = { e ∈ F 2 2 n : ω ( s , e ) = 0 for all s ∈ S } S^\perp= \{e \in\mathbb{F}_2^{2n} : \omega(s,e) = 0 \text{ for all } s \in S\} S ⊥ = { e ∈ F 2 2 n : ω ( s , e ) = 0 for all s ∈ S } , which contains S S S and has dimension 2 n − ( n − k ) = n + k 2n - (n-k) = n+k 2 n − ( n − k ) = n + k ; a set L L L of logical operators is a set of 2 k 2k 2 k labels with S ⊥ = S ⊕ span ( L ) S^\perp= S \oplus\operatorname{span}(L) S ⊥ = S ⊕ span ( L ) , and the values ω ( ℓ , e ) \omega(\ell,e) ω ( ℓ , e ) for ℓ ∈ L \ell\in L ℓ ∈ L record which logical operator an error of S ⊥ S^\perp S ⊥ applies to the encoded qubits. If k ≥ 1 k \geq1 k ≥ 1 , the distance of the code is the least number of qubits on which a logical error acts. A Clifford unitary is a unitary operator U U U that maps Pauli strings to Pauli strings under conjugation, up to a phase; on labels, conjugation by U U U is a linear map of F 2 2 n \mathbb{F}_2^{2n} F 2 2 n that preserves ω \omega ω .
Example 4.1. The five-qubit code has the stabilizer generators
g 1 = X Z Z X I , g 2 = I X Z Z X , g 3 = X I X Z Z , g 4 = Z X I X Z , g_1 = XZZXI,\qquad g_2 = IXZZX,\qquad g_3 = XIXZZ,\qquad g_4 = ZXIXZ, g 1 = X Z Z X I , g 2 = I X Z Z X , g 3 = X I X Z Z , g 4 = Z X I X Z , where each word stands for the tensor product of its letters (thus X Z Z X I XZZXI X Z Z X I stands for X ⊗ Z ⊗ Z ⊗ X ⊗ I X \otimes Z \otimes Z \otimes X \otimes I X ⊗ Z ⊗ Z ⊗ X ⊗ I ), the letters being the Pauli matrices X X X , Z Z Z and Y = i X Z Y = iXZ Y = i X Z of § 3 and the identity I I I of C 2 \mathbb{C}^2 C 2 . The code encodes one qubit, with logical operators X ‾ = X X X X X \overline{X} = XXXXX X = X X X X X and Z ‾ = Z Z Z Z Z \overline{Z} = ZZZZZ Z = Z Z Z Z Z . Each of the fifteen errors that act as X X X , Y Y Y or Z Z Z on a single qubit has its own nonzero syndrome, and there are exactly fifteen nonzero syndromes of four bits; for instance, the error X I I I I XIIII X I I I I has syndrome ( 0 , 0 , 0 , 1 ) (0,0,0,1) ( 0 , 0 , 0 , 1 ) and the error I I Z I I IIZII I I Z I I has syndrome ( 0 , 0 , 1 , 0 ) (0,0,1,0) ( 0 , 0 , 1 , 0 ) . The code therefore corrects every error on one qubit, and its distance is at least
3; after Proposition 4.7 we exhibit a logical error that acts on exactly three qubits, which shows that the distance is exactly 3.
Fraïssé limits and Clifford circuits
In Proposition 4.2 and Theorem 4.3 below, we show that every finite piece of commutation structure occurs among Pauli strings, and that every symmetry between finite pieces is implemented by a Clifford circuit, a product of elementary Clifford unitaries on one or two qubits that serve as the gates of a quantum computer; every Clifford unitary is such a product, up to a phase (see [18 , 12 ] ).
Proposition 4.2. Let d d d be a positive integer. If Θ \Theta Θ is a symmetric d × d d \times d d × d matrix over F 2 \mathbb{F}_2 F 2 with zero diagonal, then there are Pauli strings P 1 , … , P d P_1,\ldots,P_d P 1 , … , P d with linearly independent labels, on at most d d d qubits, such that, for all i , j ∈ { 1 , … , d } i,j \in\{1,\ldots,d\} i , j ∈ { 1 , … , d } , the strings P i P_i P i and P j P_j P j anticommute exactly when Θ i j = 1 \Theta_{ij}=1 Θ ij = 1 .
Proof. The matrix Θ \Theta Θ defines an alternating form on F 2 d \mathbb{F}_2^d F 2 d . Let W 0 W_0 W 0 be its radical and choose a complement W W W of W 0 W_0 W 0 ; the form is nondegenerate on W W W , which therefore has a symplectic basis of r r r pairs, where 2 r = dim W 2r=\dim W 2 r = dim W . Send the r r r pairs to the labels of X X X and Z Z Z on the first r r r qubits, and a basis of W 0 W_0 W 0 to the labels of X X X on dim W 0 \dim W_0 dim W 0 further qubits. This linear map is injective and preserves the form, and the images of the standard basis vectors of F 2 d \mathbb{F}_2^d F 2 d are the required strings, on r + dim W 0 ≤ d r+\dim W_0\le d r + dim W 0 ≤ d qubits. □
Theorem 4.3. Let n n n be a positive integer, let W W W and W ′ W' W ′ be subspaces of F 2 2 n \mathbb{F}_2^{2n} F 2 2 n , and let f : W → W ′ f: W \to W' f : W → W ′ be a linear bijection with ω ( f ( v ) , f ( w ) ) = ω ( v , w ) \omega(f(v),f(w))=\omega(v,w) ω ( f ( v ) , f ( w )) = ω ( v , w ) for all v , w ∈ W v,w \in W v , w ∈ W . Then there is a Clifford unitary U U U on n n n qubits with U P v U ∗ = ± P f ( v ) UP_vU^*=\pm P_{f(v)} U P v U ∗ = ± P f ( v ) for all v ∈ W v \in W v ∈ W , where P v P_v P v is the Hermitian Pauli string with label v v v (see § 3 ). If, moreover, the subspace W W W is isotropic and the vectors v 1 , … , v m v_1,\ldots,v_m v 1 , … , v m form a basis of W W W , then the unitary U U U can be chosen with U P v i U ∗ = P f ( v i ) UP_{v_i}U^*=P_{f(v_i)} U P v i U ∗ = P f ( v i ) for all i ≤ m i\le m i ≤ m .
Proof. By Witt’s theorem, the map f f f extends to a linear bijection τ \tau τ of F 2 2 n \mathbb{F}_2^{2n} F 2 2 n that preserves ω \omega ω . Every such τ \tau τ is induced by conjugation by a Clifford unitary [11 , 12 ] ; let U U U be one. Since the operator U P v U ∗ UP_vU^* U P v U ∗ is a Pauli string up to a phase, Hermitian and with square I I I , the phase is a sign. For the second statement, let ε i ∈ { ± 1 } \varepsilon_i \in\{\pm1\} ε i ∈ { ± 1 } be the sign with U P v i U ∗ = ε i P f ( v i ) UP_{v_i}U^*=\varepsilon_iP_{f(v_i)} U P v i U ∗ = ε i P f ( v i ) . The vectors f ( v i ) f(v_i) f ( v i ) are linearly independent, so by nondegeneracy there is b ∈ F 2 2 n b \in\mathbb{F}_2^{2n} b ∈ F 2 2 n with ( − 1 ) ω ( f ( v i ) , b ) = ε i (-1)^{\omega(f(v_i),b)}=\varepsilon_i ( − 1 ) ω ( f ( v i ) , b ) = ε i for all i i i . Conjugation by P b P_b P b multiplies P f ( v i ) P_{f(v_i)} P f ( v i ) by ( − 1 ) ω ( f ( v i ) , b ) (-1)^{\omega(f(v_i),b)} ( − 1 ) ω ( f ( v i ) , b ) , so the Clifford unitary P b U P_bU P b U has the required property. □
Corollary 4.4. Let n n n be a positive integer. Any two stabilizer groups on n n n qubits with the same number of independent generators are conjugate by a Clifford unitary. In particular, for every integer k k k with 0 ≤ k ≤ n 0\le k\le n 0 ≤ k ≤ n , every stabilizer code that encodes k k k qubits into n n n has an encoding circuit made of Clifford gates: a Clifford unitary that maps the code space of the trivial code, with generators Z 1 , … , Z n − k Z_1,\ldots,Z_{n-k} Z 1 , … , Z n − k , where Z i Z_i Z i is the phase flip on the i i i th qubit, onto the code space of the given code.
Proof. Let G \mathcal{G} G and G ′ \mathcal{G}' G ′ be the two stabilizer groups, let m m m be their common number of independent generators, and let g 1 , … , g m g_1,\ldots,g_m g 1 , … , g m and g 1 ′ , … , g m ′ g'_1,\ldots,g'_m g 1 ′ , … , g m ′ be independent generators of G \mathcal{G} G and of G ′ \mathcal{G}' G ′ , respectively, with labels v i v_i v i and v i ′ v'_i v i ′ for i = 1 , … , m i=1,\ldots,m i = 1 , … , m . Both families span isotropic subspaces, so the linear map v i ↦ v i ′ v_i\mapsto v'_i v i ↦ v i ′ preserves ω \omega ω , and Theorem 4.3 gives a Clifford unitary U 0 U_0 U 0 with U 0 P v i U 0 ∗ = P v i ′ U_0P_{v_i}U_0^*=P_{v'_i} U 0 P v i U 0 ∗ = P v i ′ for all i i i . The square of each generator is a scalar, I I I or − I -I − I , that lies in its group, and it is therefore I I I , since a stabilizer group does not contain − I -I − I ; hence g i = ε i P v i g_i=\varepsilon_iP_{v_i} g i = ε i P v i and g i ′ = ε i ′ P v i ′ g'_i=\varepsilon'_iP_{v'_i} g i ′ = ε i ′ P v i ′ for signs ε i , ε i ′ ∈ { ± 1 } \varepsilon_i,\varepsilon'_i\in\{\pm1\} ε i , ε i ′ ∈ { ± 1 } . As in the proof of Theorem 4.3, there is b ∈ F 2 2 n b\in\mathbb{F}_2^{2n} b ∈ F 2 2 n with
( − 1 ) ω ( v i , b ) = ε i ε i ′ for all i , and the Clifford unitary U = P b U 0 satisfies U g i U ∗ = g i ′ for all i , (-1)^{\omega(v_i,b)} = \varepsilon_i\varepsilon'_i \text{ for all } i, \text{ and the Clifford unitary } U = P_bU_0 \text{ satisfies } Ug_iU^* = g'_i \text{ for all } i, ( − 1 ) ω ( v i , b ) = ε i ε i ′ for all i , and the Clifford unitary U = P b U 0 satisfies U g i U ∗ = g i ′ for all i ,
whence U G U ∗ = G ′ UGU^* = G' U G U ∗ = G ′ .
On countably many qubits, every finite-dimensional subspace of V V V lies in the labels of the first n n n qubits for some n n n . Applying Theorem 4.3 there, and extending by the identity on the remaining qubits, shows that every isometry between finite-dimensional subspaces of ( V , ω ) (V,\omega) ( V , ω ) extends to an automorphism of ( V , ω ) (V,\omega) ( V , ω ) implemented by a Clifford circuit on finitely many qubits.
For the physicist or operator theorist. A Fraïssé limit is a countable structure whose finite configurations are, up to isomorphism, exactly those of a given kind and in which every symmetry between two finite configurations extends to a symmetry of the whole structure; any two such structures are isomorphic. By Proposition 4.2 , every finite pattern of commutation relations occurs among Pauli strings, and by Theorem 4.3 , every symmetry between finite pieces extends to a global one, implemented by a Clifford circuit. The Pauli group on countably many qubits is therefore the Fraïssé limit of the finite alternating spaces over F 2 \mathbb{F}_2 F 2 , that is, of finite commutation patterns together with the linear relations among the labels, and Clifford circuits on finitely many qubits implement the symmetries that witness its homogeneity. The existence of encoding circuits for stabilizer codes, usually proved by an explicit construction, is the shadow of this homogeneity: by Corollary 4.4 , the five-qubit code is the image of the trivial code with generators Z 1 Z_1 Z 1 , Z 2 Z_2 Z 2 , Z 3 Z_3 Z 3 , Z 4 Z_4 Z 4 , the phase flips on the first four qubits, under a Clifford circuit, because both groups have four independent generators, all commuting, and the two generating sets therefore have the same commutation pattern.
For the logician. The structure ( V , ω ) (V,\omega) ( V , ω ) of § 3 is the Pauli group modulo phases, and, for each positive integer n n n , the Clifford unitaries on the first n n n qubits act on the finite piece ( F 2 2 n , ω ) (\mathbb{F}_2^{2n},\omega) ( F 2 2 n , ω ) through its automorphism group, the symplectic group. Ultrahomogeneity, which in § 3 came from Witt’s theorem and a back-and-forth argument, is implemented by Clifford circuits. On labels, a stabilizer code becomes an isotropic subspace, which determines it up to the signs of its generators, and Corollary 4.4 follows from ultrahomogeneity for isotropic subspaces, with the signs of the generators as additional data handled by Lemma 3.2 .
Forking and logical errors
In a simple theory, an extension of the type of an element forks when, in the sense recalled in § 2 and explained after Proposition 4.7 , it confines the element to one of infinitely many alternatives that the original type cannot tell apart. The next theorem computes forking for the Pauli group, using the description of nonforking independence in Theorem 3.3 .
Theorem 4.5. Let e e e be an element of a monster model M \mathbb{M} M of the theory of ( V , ω ) (V,\omega) ( V , ω ) , and let D ⊆ B D \subseteq B D ⊆ B be small subsets of M \mathbb{M} M . Then the type tp ( e / B ) \operatorname{tp}(e/B) tp ( e / B ) forks over D D D if and only if e ∈ span ( B ) ∖ span ( D ) e \in\operatorname{span}(B)\setminus\operatorname{span}(D) e ∈ span ( B ) ∖ span ( D ) .
Proof. By Theorem 3.3 , the type tp ( e / B ) \operatorname{tp}(e/B) tp ( e / B ) does not fork over D D D exactly when span ( e D ) ∩ span ( B ) = span ( D ) \operatorname{span}(eD) \cap\operatorname{span}(B) = \operatorname{span}(D) span ( eD ) ∩ span ( B ) = span ( D ) . If e ∈ span ( D ) e \in\operatorname{span}(D) e ∈ span ( D ) , the spans span ( e D ) \operatorname{span}(eD) span ( eD ) and span ( D ) \operatorname{span}(D) span ( D ) coincide, and the equality holds. Otherwise the span of e D eD eD is span ( D ) ⊕ { 0 , e } \operatorname{span}(D)\oplus\{0,e\} span ( D ) ⊕ { 0 , e } , and the equality fails if and only if some vector e + d e+d e + d with d ∈ span ( D ) d \in\operatorname{span}(D) d ∈ span ( D ) lies in span ( B ) \operatorname{span}(B) span ( B ) , that is, if and only if e ∈ span ( B ) e \in\operatorname{span}(B) e ∈ span ( B ) .
By Theorem 4.5 , commutation data never fork: the type of an element e e e of M \mathbb{M} M over a small set B B B records the values ω ( b , e ) \omega(b,e) ω ( b , e ) for b ∈ B b \in B b ∈ B , and these values, constrained only by linearity and by the type of e e e over a subset D D D of B B B , can be prescribed without forking over D D D . Forking happens only when e e e becomes a linear combination of elements of B B B ; for Pauli strings, this means that e e e becomes, up to a phase, a product of strings in B B B . In a stabilizer code this criterion separates the two kinds of nonzero undetectable error. To state the consequence for the distance of a code, we call the number of qubits on which an error acts nontrivially its weight.
Corollary 4.6. Let n n n be a positive integer, and regard F 2 2 n \mathbb{F}_{2}^{2n} F 2 2 n as the subspace of V V V formed by the labels of the strings on the first n n n qubits. Let G \mathcal{G} G be a stabilizer group on n n n qubits with set of labels S S S , and let e ∈ F 2 2 n e \in\mathbb{F}_{2}^{2n} e ∈ F 2 2 n be a nonzero label with zero syndrome. Then the type tp ( e / S ) \operatorname{tp}(e/S) tp ( e / S ) forks over ∅ \emptyset ∅ if and only if e e e is harmless, that is, lies in S S S . Consequently, if the code of G \mathcal{G} G encodes at least one qubit, its distance is the least weight of a nonzero label in F 2 2 n \mathbb{F}_{2}^{2n} F 2 2 n with zero syndrome whose type over S S S does not fork over ∅ \emptyset ∅ .
Proof. Apply Theorem 4.5 with D = ∅ D = \emptyset D = ∅ and B = S B = S B = S ; the span of S S S is S S S itself, and span ( ∅ ) = { 0 } \operatorname{span}(\emptyset) = \{0\} span ( ∅ ) = { 0 } . The second statement is the definition of distance, since a logical error is a nonzero label with zero syndrome outside S S S .
In Proposition 4.7 below, we show that the stabilizer group alone does not tell logical errors apart, because they all have the same type over its set of labels, and that the logical operators, once known, characterize them by forking.
Proposition 4.7. Let n n n be a positive integer, regard F 2 2 n \mathbb{F}_{2}^{2n} F 2 2 n as a subspace of V V V as in Corollary 4.6, let G \mathcal{G} G be a stabilizer group on n n n qubits with set of labels S S S , let L L L be a set of logical operators of its code, and let e ∈ F 2 2 n e \in\mathbb{F}_{2}^{2n} e ∈ F 2 2 n be a label with zero syndrome. Then the following hold:
(a) the label e e e is a logical error if and only if tp ( e / S ∪ L ) \operatorname{tp}(e/S \cup L) tp ( e / S ∪ L ) forks over S S S ;
(b) all logical errors have the same type over S S S , and this type does not fork over ∅ \emptyset ∅ .
Proof. (a) Since the syndrome of e e e is zero, the label e e e lies in S ⊥ = span ( S ∪ L ) S^\perp= \operatorname{span}(S \cup L) S ⊥ = span ( S ∪ L ) . By Theorem 4.5 with D = S D = S D = S and B = S ∪ L B = S \cup L B = S ∪ L , the type tp ( e / S ∪ L ) \operatorname{tp}(e/S \cup L) tp ( e / S ∪ L ) forks over S S S if and only if e ∈ span ( S ∪ L ) ∖ S = S ⊥ ∖ S e \in\operatorname{span}(S \cup L) \setminus S = S^\perp\setminus S e ∈ span ( S ∪ L ) ∖ S = S ⊥ ∖ S , which is the set of logical errors.
(b) Suppose that the label e e e is a logical error, that is, e ∈ S ⊥ ∖ S e \in S^\perp\setminus S e ∈ S ⊥ ∖ S . By quantifier elimination, the type of e e e over S S S is determined by the linear relations of e e e over S S S , of which there are none since e ∉ S e \notin S e ∈ / S , and by the values of ω \omega ω on span ( e S ) \operatorname{span}(eS) span ( e S ) . These values are fixed, through bilinearity, by the values of ω \omega ω on S S S , by ω ( e , e ) \omega(e,e) ω ( e , e ) , which is 0 because ω \omega ω is alternating, and by the values ω ( s , e ) \omega(s,e) ω ( s , e ) for s ∈ S s \in S s ∈ S , which are 0 because e e e lies in S ⊥ S^\perp S ⊥ . Hence all logical errors have the same type over S S S . The label e e e is nonzero, since the zero label lies in S S S ; as it has zero syndrome and lies outside S S S , its type over S S S does not fork over ∅ \emptyset ∅ , by Corollary 4.6.
In the five-qubit code, the errors g 1 g 2 = X Y I Y X g_1g_2 = XYIYX g 1 g 2 = X Y I Y X (up to a phase) and X ˉ = X X X X X \bar{X} = XXXXX X ˉ = X X X X X both have zero syndrome. The first lies in the stabilizer group, whose set of labels we denote by S S S , so its type over S S S forks over ∅ \emptyset ∅ ; it is harmless. The second does not, so its type does not fork over ∅ \emptyset ∅ ; it flips the encoded qubit, and it acts on five qubits. By Example 4.1, an error of the second kind acts on at least three qubits, and the logical error X ˉ g 1 = I Y Y I X \bar{X}_{g_1} = IY Y I X X ˉ g 1 = I Y Y I X , up to a phase, acts on exactly three; the distance of the code is therefore 3. With L = { X ˉ , Z ˉ } L = \{\bar{X},\bar{Z}\} L = { X ˉ , Z ˉ } , the logical errors X ˉ \bar{X} X ˉ , Z ˉ \bar{Z} Z ˉ and X ˉ g 1 \bar{X}_{g_1} X ˉ g 1 have the same type over S S S ; over S ∪ L S \cup L S ∪ L each of them lies in span ( S ∪ L ) \operatorname{span}(S \cup L) span ( S ∪ L ) , whence its type becomes algebraic and forks over S S S , as Proposition 4.7(a) predicts.
For the physicist or operator theorist. Forking is the model-theoretic notion of an observation that singles out one of infinitely many alternatives that the data known in advance cannot tell apart and of which, for some fixed integer k ≥ 2 k \ge2 k ≥ 2 , no k k k can hold together. To be precise, in a simple theory, by a theorem of Kim [Kim98], a condition φ ( x , b ) \varphi(x,b) φ ( x , b ) on an unknown element x x x forks over a set D D D of known parameters exactly when, for some k ≥ 2 k \ge2 k ≥ 2 , the parameter b b b is the first term of a sequence ( b j ) j ∈ N (b_j)_{j \in\mathbb{N}} ( b j ) j ∈ N that is indiscernible over D D D and k k k -inconsistent for φ \varphi φ , in the sense that no k k k of the conditions φ ( x , b j ) \varphi(x,b_j) φ ( x , b j ) can hold together (see Definition 2.1 ). A sequence is indiscernible over D D D if any two of its increasing finite subsequences of the same length satisfy the same formulas with parameters from D D D . A type forks over D D D when one of its conditions does; such a type narrows the possibilities for the element but need not determine it. In the Pauli group a forking type does determine the element. The type of an error over a set B B B of known operators records the syndrome of the error with respect to B B B and whether, and how, the error is a product of operators in B B B ; by Theorem 4.5 , this type forks over a subset D D D of B B B exactly when the error is a product of operators in B B B but not of operators in D D D . Syndromes, by contrast, only narrow: on infinitely many qubits, no finite set of checks determines an error, however many bits it reveals. In a code, with S S S the set of labels of its stabilizer group, this criterion separates the two kinds of undetectable error other than the identity (see Corollary 4.6 ): the type over S S S of a harmless one, which is a product of stabilizers, forks over the empty set, whereas that of a logical error does not. The distance of the code, its single most important parameter, is therefore the least weight of an undetectable error on the qubits of the code, other than the identity, whose type over S S S does not fork over the empty set. The picture is completed by Proposition 4.7 : the stabilizer group alone sees all logical errors alike, and each logical error is pinned down as soon as a set L L L of logical operators joins the known operators, since its type over S ∪ L S \cup L S ∪ L forks over S S S .
For the logician. The theory of ( V , ω ) (V,\omega) ( V , ω ) has a vector space pregeometry for algebraic closure, and by Theorem 4.5 its forking is the dependence of this pregeometry: the type of a single element over a set forks over a subset exactly when the element is algebraic over the set but not over the subset. Thus the theory has SU-rank one, as does the theory of the Rado graph (see Theorem 3.1 ), with linear span in place of equality. In finite dimension, the information carried by a syndrome is measured by counting: if n n n and m m m are positive integers and s 1 , … , s m s_1,\ldots,s_m s 1 , … , s m are linearly independent labels in F 2 2 n \mathbb{F}_2^{2n} F 2 2 n , then for each syndrome σ ∈ F 2 m \sigma\in\mathbb{F}_2^m σ ∈ F 2 m exactly 2 2 n − m 2^{2n-m} 2 2 n − m labels e e e satisfy ω ( s i , e ) = σ i \omega(s_i,e)=\sigma_i ω ( s i , e ) = σ i for all i i i , since the map e ↦ ( ω ( s i , e ) ) i ≤ m e \mapsto(\omega(s_i,e))_{i \le m} e ↦ ( ω ( s i , e ) ) i ≤ m is linear and onto. This count records codimension, which forking ignores. With S S S the set of labels of the stabilizer group of a code, the logical errors of the code are the elements of the centralizer of S S S outside S S S , and by Proposition 4.7 they share one type over S S S . For a set L L L of logical operators, the nonforking extensions of this type to S ∪ L S \cup L S ∪ L are realized in ( V , ω ) (V,\omega) ( V , ω ) by labels outside span ( S ∪ L ) \operatorname{span}(S \cup L) span ( S ∪ L ) that commute with S S S , for instance by errors on qubits that the code does not touch; the logical errors realize the forking extensions of the same type, which become algebraic once the logical operators are added.
The independence theorem and the gluing of syndromes
The Kim–Pillay independence theorem says that two nonforking extensions of a type over a model, to sets that are independent over the model, have a common nonforking extension. In the Pauli group it becomes a statement about syndromes.
Proposition 4.8. Let n n n be a positive integer, let C C C , B B B and D D D be subsets of F 2 2 n \mathbb{F}_2^{2n} F 2 2 n with span ( B C ) ∩ span ( D C ) = span ( C ) \operatorname{span}(BC) \cap\operatorname{span}(DC) = \operatorname{span}(C) span ( B C ) ∩ span ( D C ) = span ( C ) , and let ξ 1 \xi_1 ξ 1 and ξ 2 \xi_2 ξ 2 be linear functionals on span ( B C ) \operatorname{span}(BC) span ( B C ) and on span ( D C ) \operatorname{span}(DC) span ( D C ) , respectively, that agree on span ( C ) \operatorname{span}(C) span ( C ) . Then there is a label e ∈ F 2 2 n e \in\mathbb{F}_2^{2n} e ∈ F 2 2 n with ω ( s , e ) = ξ 1 ( s ) \omega(s,e)=\xi_1(s) ω ( s , e ) = ξ 1 ( s ) for s ∈ span ( B C ) s \in\operatorname{span}(BC) s ∈ span ( B C ) and ω ( s , e ) = ξ 2 ( s ) \omega(s,e)=\xi_2(s) ω ( s , e ) = ξ 2 ( s ) for s ∈ span ( D C ) s \in\operatorname{span}(DC) s ∈ span ( D C ) .
Proof. Since ξ 1 \xi_1 ξ 1 and ξ 2 \xi_2 ξ 2 agree on the intersection of their domains, there is a linear functional ξ \xi ξ on span ( B C ) + span ( D C ) \operatorname{span}(BC)+\operatorname{span}(DC) span ( B C ) + span ( D C ) extending both. Extend ξ \xi ξ to F 2 2 n \mathbb{F}_2^{2n} F 2 2 n . Because ω \omega ω is nondegenerate, every linear functional on F 2 2 n \mathbb{F}_2^{2n} F 2 2 n has the form ω ( ⋅ , e ) \omega(\cdot,e) ω ( ⋅ , e ) for a unique e e e .
In the five-qubit code, take C = ∅ C = \varnothing C = ∅ , B = { g 1 , g 2 } B = \{g_1,g_2\} B = { g 1 , g 2 } and D = { g 3 , g 4 } D = \{g_3,g_4\} D = { g 3 , g 4 } . The spans of B B B and D D D meet only in 0 0 0 , so any two bits of syndrome on g 1 , g 2 g_1,g_2 g 1 , g 2 and any two on g 3 , g 4 g_3,g_4 g 3 , g 4 are realized together by one error; by Example 4.1 , every nonzero syndrome is realized even by an error on a single qubit, for instance the syndrome ( 1 , 0 ∣ 1 , 1 ) (1,0 \mid1,1) ( 1 , 0 ∣ 1 , 1 ) by Y I I I I YIIII Y I I I I . If D D D is replaced by { g 1 g 2 } \{g_1g_2\} { g 1 g 2 } , the hypothesis fails, and so does the conclusion: the syndrome bit of every error with respect to g 1 g 2 g_1g_2 g 1 g 2 is the sum of its bits with respect to g 1 g_1 g 1 and g 2 g_2 g 2 .
For the physicist or operator theorist. The independence theorem is the rule that lets partial information be combined: two sets of checks that are independent over a common set constrain each other only on that set: two syndromes prescribed separately on them are realized by a single error as soon as they agree on the common set. The point of the Kim–Pillay theorem is that this gluing rule, together with the other properties of Fact 2.2, characterizes the simple theories [23 ] . In § 6 we show that the rule has no counterpart once preparations are mixed, for instance in the Pauli observable of § 5 , in which Alice holds a check and Bob’s probe is a random error: for two halves of a finite set of linearly independent checks that meet in a quarter of the set, the condition that the error anticommutes almost surely with every check of one half and commutes almost surely with every other check of the set and the same condition for the other half are each consistent but cannot hold together; infinitely many such conditions produce the tree property of the second kind.
For the logician. The statement of Proposition 4.8 is the counterpart, in finite dimension and over the span of an arbitrary set rather than over a model, of the independence theorem verified in the proof of Theorem 3.3: the whole argument is the gluing of two functionals whose domains, the spans of two sets of checks together with a common set, meet only in the span of the common set. Its physical content is that the syndrome bits of an error with respect to a set of checks are the values of a linear functional on the span of the checks, and the consistency of prescribed syndromes is therefore a matter of linear algebra on that span; the surjectivity of the syndrome map of linearly independent checks is Lemma 3.2.
Observables, mixtures and dividing
We now transport the tree properties of Definition 2.1 to the responses of an observable, as we transported the independence property in the second paper of this series [14 ] , and introduce the observables of the two paradigms. Their probes, we find, are of different kinds (see Proposition 5.4 and Lemma 5.5): the probes of the Pauli observable are the Pauli channels, and its pure probes are the Pauli strings of arbitrary support; the pure probes of the Rado observable are all sets of neighbors.
Diagonal observables
Let A A A and B B B be countable sets and let φ : A × B → { 0 , 1 } \varphi\colon A \times B \to\{0,1\} φ : A × B → { 0 , 1 } be a function. The diagonal observable of φ \varphi φ is the operator
C φ = ∑ a ∈ A , b ∈ B φ ( a , b ) ∣ a ⟩ ⟨ a ∣ ⊗ ∣ b ⟩ ⟨ b ∣ on ℓ 2 ( A ) ⊗ ℓ 2 ( B ) . C_\varphi= \sum_{a\in A,b\in B} \varphi(a,b)\lvert a\rangle\langle a\rvert\otimes\lvert b\rangle\langle b\rvert\quad\text{on } \ell^2(A) \otimes\ell^2(B). C φ = a ∈ A , b ∈ B ∑ φ ( a , b ) ∣ a ⟩ ⟨ a ∣ ⊗ ∣ b ⟩ ⟨ b ∣ on ℓ 2 ( A ) ⊗ ℓ 2 ( B ) .
Here ∣ a ⟩ ⟨ a ∣ \lvert a\rangle\langle a\rvert ∣ a ⟩ ⟨ a ∣ and ∣ b ⟩ ⟨ b ∣ \lvert b\rangle\langle b\rvert ∣ b ⟩ ⟨ b ∣ are the orthogonal projections onto the lines spanned by the basis vectors of ℓ 2 ( A ) \ell^2(A) ℓ 2 ( A ) and ℓ 2 ( B ) \ell^2(B) ℓ 2 ( B ) indexed by a a a and b b b , respectively. In plain words, Alice’s register holds a label a a a , Bob’s a label b b b , and the observable reads φ ( a , b ) \varphi(a,b) φ ( a , b ) . A density operator ρ \rho ρ of Alice, that is, a positive operator of trace one on ℓ 2 ( A ) \ell^2(A) ℓ 2 ( A ) that describes her preparation, enters only through its diagonal, which is a probability measure μ \mu μ on A A A , a mixture of her labels: the preparation draws a a a at random with law μ \mu μ . The operator on Bob’s space obtained by averaging C φ C_\varphi C φ over Alice’s preparation, the effective observable of ρ \rho ρ in the terminology of the second paper, is the diagonal operator of multiplication by
b ↦ ∑ a ∈ A μ ( a ) φ ( a , b ) . b \mapsto\sum_{a\in A}\mu(a)\varphi(a,b). b ↦ a ∈ A ∑ μ ( a ) φ ( a , b ) .
The probe algebra of the second paper is the unital C ∗ C^* C ∗ -algebra generated by these effective observables, that is, the smallest algebra of operators on Bob’s space that contains them and the identity and is closed under adjoints and under limits in the operator norm; it is the commutative C ∗ C^* C ∗ -algebra of bounded functions on B B B generated by the constants and the indicators b ↦ φ ( a , b ) b\mapsto\varphi(a,b) b ↦ φ ( a , b ) , a ∈ A a\in A a ∈ A . Bob’s probes are the states of the probe algebra, the positive linear functionals on it with value 1 1 1 at the identity, and they form the probe space, which carries the weak∗ ^* ∗ topology, the topology of pointwise convergence on the probe algebra. The probe space is described through the closure K φ K_\varphi K φ of the set of functions φ ( ⋅ , b ) \varphi(\cdot,b) φ ( ⋅ , b ) , b ∈ B b\in B b ∈ B , in { 0 , 1 } A \{0,1\}^{A} { 0 , 1 } A with the product topology.
Lemma 5.1. Let A A A and B B B be countable sets and let φ : A × B → { 0 , 1 } \varphi:A\times B\to\{0,1\} φ : A × B → { 0 , 1 } be a function. Then the probe algebra of the diagonal observable C φ C_\varphi C φ is isomorphic to the algebra C ( K φ ) C(K_\varphi) C ( K φ ) of continuous complex functions on the closure K φ K_\varphi K φ of the set of functions φ ( ⋅ , b ) \varphi(\cdot,b) φ ( ⋅ , b ) , b ∈ B b\in B b ∈ B , in { 0 , 1 } A \{0,1\}^{A} { 0 , 1 } A , the probe space is the space P ( K φ ) \mathcal{P}(K_\varphi) P ( K φ ) of Radon probability measures on K φ K_\varphi K φ with the weak∗ ^* ∗ topology, and the response of a mixture μ \mu μ , a probability measure on A A A , is the affine continuous function
r μ ( ν ) = ∫ K φ ∑ a ∈ A μ ( a ) λ ( a ) d ν ( λ ) ( ν ∈ P ( K φ ) ) . r_\mu(\nu)=\int_{K_\varphi}\sum_{a\in A}\mu(a)\lambda(a)\,d\nu(\lambda)\qquad(\nu\in\mathcal{P}(K_\varphi)). r μ ( ν ) = ∫ K φ a ∈ A ∑ μ ( a ) λ ( a ) d ν ( λ ) ( ν ∈ P ( K φ )) .
Proof. The unital C ∗ C^* C ∗ -algebra generated by commuting projections is the algebra of continuous functions on the Stone space of the Boolean algebra they generate. The Boolean algebra generated by the sets { b : φ ( a , b ) = 1 } \{b:\varphi(a,b)=1\} { b : φ ( a , b ) = 1 } has as Stone space the closure of the image of B B B under b ↦ φ ( ⋅ , b ) b\mapsto\varphi(\cdot,b) b ↦ φ ( ⋅ , b ) , which is K φ K_\varphi K φ . States of C ( K φ ) C(K_\varphi) C ( K φ ) are Radon probability measures by the Riesz representation theorem, and the formula for r μ r_\mu r μ is the evaluation of the state ν \nu ν at the effective observable of a preparation with diagonal μ \mu μ . □
The pure probes are the point masses δ λ \delta_\lambda δ λ , λ ∈ K φ \lambda\in K_\varphi λ ∈ K φ , and we identify each of them with its point λ \lambda λ ; a pure probe is thus an idealized label of Bob, recording which of Alice’s labels it answers with 1 1 1 . The actual labels, the functions φ ( ⋅ , b ) \varphi(\cdot,b) φ ( ⋅ , b ) for b ∈ B b\in B b ∈ B , are dense among them, since K φ K_\varphi K φ is the closure of the set of these functions. For a label b b b , we write r μ ( b ) r_\mu(b) r μ ( b ) for the response at the pure probe φ ( ⋅ , b ) \varphi(\cdot,b) φ ( ⋅ , b ) .
5.2. The structure of an observable. To speak of the theory of an observable, we regard it as a structure of real-valued logic. For a diagonal observable C φ C_\varphi C φ , let S φ \mathcal{S}_\varphi S φ be the two-sorted structure whose sort of preparations consists of Alice’s mixtures, the probability measures on A A A , whose sort of probes consists of Bob’s probes, the space P ( K φ ) \mathcal{P}(K_\varphi) P ( K φ ) , and whose only predicate is the response R ( μ , ν ) = r μ ( ν ) R(\mu,\nu)=r_\mu(\nu) R ( μ , ν ) = r μ ( ν ) , with values in [ 0 , 1 ] [0,1] [ 0 , 1 ] . As in the second paper, we work in Keisler’s real-valued logic [21 ] , in which no metric is given a priori; in an ultrapower, two elements of the same sort are identified when every atomic formula takes the same value at them, whatever the elements in its other places. We say that C φ C_\varphi C φ is simple if the real-valued theory of S φ \mathcal{S}_\varphi S φ is simple in the sense of Ben Yaacov [4 ] . In an elementary extension of S φ \mathcal{S}_\varphi S φ , a larger structure in which every formula with parameters from S φ \mathcal{S}_\varphi S φ takes the same value as in $\mathcal{S}_\varphi itself, the new elements of the sort of preparations are idealized preparations of Alice. A tree property of a formula, when the theory has it, is witnessed in every ℵ 1 \aleph_1 ℵ 1 -saturated elementary extension, one in which every countable set of conditions with parameters is realized as soon as each of its finite subsets is. When a tree property is witnessed in S φ \mathcal{S}_{\varphi} S φ itself, in the sense of Definition 5.2 below, we say that actual preparations witness it.
Dividing for families of functions
The responses of an observable form a family of real functions on the probe space, and in the second paper we defined the independence property for such a family: a sequence in the family is independent when, for some reals α < β \alpha< \beta α < β , any two disjoint finite sets of indices admit a point at which the functions indexed by the first set take values at most α \alpha α and those indexed by the second values at least β \beta β ; the family has the independence property when it contains an independent sequence, and it is NIP otherwise. We now do the same for the tree properties. The conditions of the definition below are inequalities with a gap, which is what makes them survive in elementary extensions of the structure S φ \mathcal{S}_{\varphi} S φ .
Definition 5.2. Let Y Y Y be a set and R \mathcal{R} R a family of real functions on Y Y Y .
For an integer k ≥ 2 k \ge2 k ≥ 2 , a sequence ( r j ) j ∈ N (r_j)_{j\in\mathbb{N}} ( r j ) j ∈ N in R \mathcal{R} R is uniformly k k k -inconsistent if there are reals α < β \alpha< \beta α < β such that each r j r_j r j takes a value ≥ β \ge\beta ≥ β somewhere on Y Y Y , and for all j 1 < ⋯ < j k j_1 < \cdots< j_k j 1 < ⋯ < j k no y ∈ Y y \in Y y ∈ Y satisfies r j ℓ ( y ) > α r_{j_\ell}(y) > \alpha r j ℓ ( y ) > α for ℓ = 1 , … , k \ell= 1,\ldots,k ℓ = 1 , … , k .
The family R \mathcal{R} R has the tree property of the second kind (TP2 _2 2 ) if there are k ≥ 2 k \ge2 k ≥ 2 , reals α < β \alpha< \beta α < β and an array ( r i j ) i , j ∈ N (r_{ij})_{i,j\in\mathbb{N}} ( r ij ) i , j ∈ N in R \mathcal{R} R such that every row is uniformly k k k -inconsistent with the constants α \alpha α and β \beta β , and for every f : N → N f:\mathbb{N}\to\mathbb{N} f : N → N and every n ∈ N n\in\mathbb{N} n ∈ N there is y ∈ Y y\in Y y ∈ Y with r i f ( i ) ( y ) ≥ β r_{if(i)}(y)\ge\beta r i f ( i ) ( y ) ≥ β for all i < n i<n i < n .
The tree property of Definition 2.1 , its variant of the first kind, and TP2 _2 2 all require infinite sequences of instances that are k k k -inconsistent, for some integer k ≥ 2 k \ge2 k ≥ 2 : the children of a node, or a row. When these notions are transported to a family of functions as in Definition 5.2, those sequences become uniformly k k k -inconsistent. A family that, for no integer k ≥ 2 k \ge2 k ≥ 2 , contains a uniformly k k k -inconsistent sequence therefore has none of the three tree properties. Applied to the family of responses of an observable, condition (2) of Definition 5.2 says that actual preparations witness the tree property of the second kind of the atomic formula, in the real-valued logic of the second paper; the gap between the constants α \alpha α and β \beta β of Definition 5.2 is what the definitions of dividing in real-valued logic require [4 ] .
The Pauli observable
The Pauli observable is the diagonal observable of the symplectic form ω \omega ω on V × V V \times V V × V , where V V V is the space of labels of the Pauli strings on countably many qubits that act nontrivially on only finitely many of them (see § 3 ): Alice and Bob each hold a Pauli label, and the observable reports whether the two Pauli strings anticommute. We call Alice’s label the check and Bob’s label the error; the observable then reports one syndrome bit. For a mixture μ \mu μ , the response at an error e e e is the probability that a check drawn with law μ \mu μ anticommutes with e e e . By Lemma 3.2 , which provides an error with any prescribed syndrome with respect to finitely many linearly independent checks, the observable has the independence property already on pure preparations.
Lemma 5.3. For the Pauli observable, the space K ω K_\omega K ω is the group V ∗ V^* V ∗ of all linear functionals V → F 2 V \to\mathbb{F}_2 V → F 2 .
Proof. Each ω ( ⋅ , e ) \omega(\cdot,e) ω ( ⋅ , e ) is linear, and the linear functionals form a closed subset of { 0 , 1 } V \{0,1\}^{V} { 0 , 1 } V . Conversely, a basic neighborhood of a linear functional λ \lambda λ prescribes the values of λ \lambda λ on finitely many vectors, which may be taken linearly independent, and Lemma 3.2 gives e e e with ω ( ⋅ , e ) \omega(\cdot,e) ω ( ⋅ , e ) in the neighborhood.
The functionals of V ∗ V^* V ∗ have a direct physical meaning. Let V ^ = ∏ k ∈ N F 2 2 \widehat{V}=\prod_{k\in\mathbb{N}}\mathbb{F}_2^2 V = ∏ k ∈ N F 2 2 , with the product topology, be the group of labels of Pauli strings of arbitrary support, the support of a string being the set of qubits on which it acts nontrivially; it contains V V V as the strings of finite support. For a ∈ V a \in V a ∈ V and u ∈ V ^ u \in\widehat{V} u ∈ V , the value ω ( a , u ) \omega(a,u) ω ( a , u ) is defined by the formula of § 3 , which is a finite sum because a a a has finite support. For p p p with 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 , let ν p \nu_p ν p be the depolarizing noise of rate p p p : the product measure on V ^ \widehat{V} V under which the labels on distinct qubits are independent, each equal to ( 0 , 0 ) (0,0) ( 0 , 0 ) with probability 1 − p 1-p 1 − p and to each of ( 1 , 0 ) (1,0) ( 1 , 0 ) , ( 0 , 1 ) (0,1) ( 0 , 1 ) and ( 1 , 1 ) (1,1) ( 1 , 1 ) with probability p / 3 p/3 p /3 . A Pauli channel on countably many qubits is a Radon probability measure on V ^ \widehat{V} V , the law of a random error applied to the qubits.
Proposition 5.4. Let V ^ \widehat{V} V be the group of labels of Pauli strings of arbitrary support, and for 0 < p ≤ 1 0 < p \le1 0 < p ≤ 1 let ν p \nu_p ν p be the depolarizing noise of rate p p p . Then the following hold:
(a) the map u ↦ ω ( ⋅ , u ) u \mapsto\omega(\mathord{\cdot},u) u ↦ ω ( ⋅ , u ) is an isomorphism of topological groups from V ^ \widehat{V} V onto V ∗ V^* V ∗ , which carries V V V onto the functionals of the actual errors;
(b) the probes of the Pauli observable are the Pauli channels on countably many qubits, and the response of a mixture μ \mu μ at a Pauli channel ν \nu ν is the probability that a check drawn with law μ \mu μ anticommutes with an independent error drawn with law ν \nu ν ;
(c) the depolarizing noise ν p \nu_p ν p is concentrated on errors of infinite support, and for a label a ∈ V a \in V a ∈ V that acts nontrivially on w w w qubits we have
r δ a ( ν p ) = 1 2 ( 1 − ( 1 − 4 p 3 ) w ) . r_{\delta_a}(\nu_p)=\frac{1}{2}\left(1-\left(1-\frac{4p}{3}\right)^w\right). r δ a ( ν p ) = 2 1 ( 1 − ( 1 − 3 4 p ) w ) .
Proof. (a) The map is a homomorphism. Write X k X_k X k and Z k Z_k Z k for the labels of the strings X X X and Z Z Z on the qubit k k k . Then the values ω ( X k , u ) \omega(X_k,u) ω ( X k , u ) and ω ( Z k , u ) \omega(Z_k,u) ω ( Z k , u ) are the two coordinates of u u u at the qubit k k k , so the map is injective, and every λ ∈ V ∗ \lambda\in V^* λ ∈ V ∗ is the image of the vector u = ( x , z ) u=(x,z) u = ( x , z ) with z k = λ ( X k ) z_k=\lambda(X_k) z k = λ ( X k ) and x k = λ ( Z k ) x_k=\lambda(Z_k) x k = λ ( Z k ) for every k k k , because λ \lambda λ and ω ( ⋅ , u ) \omega(\mathord{\cdot},u) ω ( ⋅ , u ) are linear and agree on the basis { X k , Z k : k ∈ N } \{X_k,Z_k:k\in\mathbb{N}\} { X k , Z k : k ∈ N } of V V V . The value ω ( a , u ) \omega(a,u) ω ( a , u ) depends on finitely many coordinates of u u u , so the map is continuous, and a continuous bijection between compact Hausdorff spaces is a homeomorphism.
(b) By Lemma 5.1 , Lemma 5.3 and (a), the probes are the Radon probability measures on V ^ \widehat{V} V , and r μ ( ν ) = ∫ ∑ a μ ( a ) ω ( a , u ) d ν ( u ) r_\mu(\nu)=\int\sum_a \mu(a)\omega(a,u)\,d\nu(u) r μ ( ν ) = ∫ ∑ a μ ( a ) ω ( a , u ) d ν ( u ) , which is the probability stated, by Fubini’s theorem.
(c) Under ν p \nu_p ν p , the events “the error acts nontrivially on the qubit k k k ” are independent and have probability p p p , so, by the Borel–Cantelli lemma, almost every error acts nontrivially on infinitely many qubits. At each of the w w w qubits where the string with label a a a acts nontrivially, its factor anticommutes with two of the three nontrivial Pauli matrices, hence with the factor of the error with probability 2 p / 3 2p/3 2 p /3 , independently of the other qubits. The strings anticommute exactly when an odd number of these w w w events occur, and this has probability 1 2 ( 1 − ( 1 − 4 p 3 ) w ) \frac{1}{2}\left(1-\left(1-\frac{4p}{3}\right)^w\right) 2 1 ( 1 − ( 1 − 3 4 p ) w ) .
In what follows we identify V ∗ V^* V ∗ with V ^ \widehat{V} V through Proposition 5.4(a) and call its elements idealized errors . By Proposition 5.4(c), the depolarizing noise ν p \nu_p ν p of each rate p p p , which models the noise of a memory on countably many qubits, is a probe of the Pauli observable concentrated on idealized errors that are not actual: with probability one, an error drawn from ν p \nu_p ν p acts on infinitely many qubits. Alice’s checks see such an error through finitely many qubits at a time, and the response of a check of weight w w w , one that acts nontrivially on w w w qubits, tends to 1 2 \frac{1}{2} 2 1 , the value of a fair coin, as w w w grows. For a ∈ V a \in V a ∈ V , let χ a \chi_a χ a be the character of V ∗ V^* V ∗ given by χ a ( λ ) = ( − 1 ) λ ( a ) \chi_a(\lambda)=(-1)^{\lambda(a)} χ a ( λ ) = ( − 1 ) λ ( a ) , a continuous homomorphism of V ∗ V^* V ∗ into the multiplicative group { ± 1 } \{\pm1\} { ± 1 } . Alice’s pure responses are the characters of this compact group up to an affine change: the pure response r δ a r_{\delta_a} r δ a of a label a a a takes the value λ ( a ) = ( 1 − χ a ( λ ) ) / 2 \lambda(a)=(1-\chi_a(\lambda))/2 λ ( a ) = ( 1 − χ a ( λ )) /2 at an idealized error λ \lambda λ .
5.5. The Rado observable. The Rado observable is the diagonal observable of the edge relation E E E on Γ × Γ \Gamma\times\Gamma Γ × Γ , where ( Γ , E ) (\Gamma,E) ( Γ , E ) is the Rado graph of § 3 : Alice and Bob each hold a site of a random network of couplings, and the observable reports whether the two sites are coupled. By the extension property of the Rado graph, which provides a vertex adjacent to every vertex of a finite set and to none of another finite set disjoint from it, the observable has the independence property already on pure preparations. We say that the diagonal observable C φ C_{\varphi} C φ of a function φ : A × B → { 0 , 1 } \varphi:A \times B \to\{0,1\} φ : A × B → { 0 , 1 } has freely independent pure responses when K φ = { 0 , 1 } A K_{\varphi} = \{0,1\}^{A} K φ = { 0 , 1 } A , that is, when every pattern of answers to all of Alice’s labels is an idealized label of Bob.
Lemma 5.5. For the Rado observable, the space K E K_{E} K E is the whole Cantor cube { 0 , 1 } Γ \{0,1\}^{\Gamma} { 0 , 1 } Γ . Hence the Rado observable has freely independent pure responses, while the Pauli observable does not.
Proof. A basic open subset of { 0 , 1 } Γ \{0,1\}^{\Gamma} { 0 , 1 } Γ prescribes adjacency to the vertices of a finite set Γ 1 \Gamma_{1} Γ 1 and nonadjacency to those of a finite set Γ 0 \Gamma_{0} Γ 0 , and the extension property gives a vertex outside Γ 1 ∪ Γ 0 \Gamma_{1} \cup\Gamma_{0} Γ 1 ∪ Γ 0 with that pattern. By Lemma 5.3 , the space K ω K_{\omega} K ω is the group V ∗ V^{*} V ∗ , which is a proper subset of { 0 , 1 } V \{0,1\}^{V} { 0 , 1 } V .
The pure probes of the Rado observable are arbitrary sets of neighbors, that is, arbitrary subsets of Γ \Gamma Γ , and its probes are random sets of neighbors. The response of a mixture μ \mu μ at a probe ν \nu ν is the probability that a site drawn with law μ \mu μ lies in a set of neighbors drawn, independently, with law ν \nu ν ; it depends on ν \nu ν only through the marginals ν { λ : λ ( a ) = 1 } \nu\{\lambda:\lambda(a)=1\} ν { λ : λ ( a ) = 1 } , for a ∈ Γ a \in\Gamma a ∈ Γ , the probabilities that the individual sites are neighbors. The Pauli observable sees more of a probe: its pure responses are, up to an affine change, the characters of the compact group of idealized errors, and products of characters are again characters. In § 7 and § 8 we show what this difference does to the tree property.
The theory of mixed preparations has the tree property of the second kind
This section is devoted to Theorem 1.1 (C), and its idea is a comparison of two averages. Consider a finite set of Alice’s labels and a half of it. The difference between the response to the uniform mixture on the half and the response to the uniform mixture on the complementary half reaches its maximum, 1, at a probe exactly when the probe answers 1 on the first half and 0 on the second. The differences given by two halves that meet in a quarter of the set cannot both be nearly maximal, while the independence property of the pure responses supplies a pure probe with any prescribed answers on finitely many disjoint finite sets of labels. These three facts, established in the proof of Theorem 6.1 , together give the tree.
Theorem 6.1 (Mixed preparations and the tree property of the second kind). Let C φ C_{\varphi} C φ be the diagonal observable of a function φ : A × B → { 0 , 1 } \varphi:A \times B \to\{0,1\} φ : A × B → { 0 , 1 } on countable sets A A A and B B B , and assume that there are distinct labels a 0 , a 1 , … a_{0},a_{1},\ldots a 0 , a 1 , … in A A A such that for all finite disjoint N 1 , N 0 ⊆ N N_{1},N_{0} \subseteq\mathbb{N} N 1 , N 0 ⊆ N there is a label b ∈ B b \in B b ∈ B with φ ( a n , b ) = 1 \varphi(a_{n},b)=1 φ ( a n , b ) = 1 for n ∈ N 1 n \in N_{1} n ∈ N 1 and φ ( a n , b ) = 0 \varphi(a_{n},b)=0 φ ( a n , b ) = 0 for n ∈ N 0 n \in N_{0} n ∈ N 0 . Then the affine formula
ψ ( x ; y 1 , y 2 ) = R ( y 1 , x ) − R ( y 2 , x ) , \psi(x;y_{1},y_{2}) = R(y_{1},x) - R(y_{2},x), ψ ( x ; y 1 , y 2 ) = R ( y 1 , x ) − R ( y 2 , x ) , in which the predicate R R R is the response, the variable x x x is of the sort of probes and the variables y 1 , y 2 y_{1},y_{2} y 1 , y 2 are of the sort of preparations, has the tree property of the second kind in the real-valued theory of the structure S φ \mathcal{S}_{\varphi} S φ of Alice’s mixtures and Bob’s probes, with k = 2 k=2 k = 2 , α = 1 / 2 \alpha=1/2 α = 1/2 and β = 1 \beta=1 β = 1 . Here k k k , α \alpha α and β \beta β are the constants of Definition 5.2, applied to the family of instances of ψ \psi ψ , as functions on the probes, in an N 1 \mathbb{N}_{1} N 1 -saturated elementary extension of S φ \mathcal{S}_{\varphi} S φ . Moreover, every simple diagonal observable is NIP.
Proof. We first build finite arrays in S φ S_\varphi S φ itself and then pass to an elementary extension by compactness.
Let N ≥ 1 N \ge1 N ≥ 1 be an integer, and choose an integer t t t with 2 t > N 2^t > N 2 t > N . Partition 2 t N 2^tN 2 t N of the labels a n a_n a n into N N N blocks J 0 , … , J N − 1 J_0,\ldots,J_{N-1} J 0 , … , J N − 1 of size 2 t 2^t 2 t , and identify each block with F 2 t \mathbb{F}_2^t F 2 t . Choose distinct nonzero vectors w 0 , … , w N − 1 w_0,\ldots,w_{N-1} w 0 , … , w N − 1 in F 2 t \mathbb{F}_2^t F 2 t , and for i , j < N i,j<N i , j < N let H i j ⊆ J i H_{ij}\subseteq J_i H ij ⊆ J i be the set of v ∈ F 2 t v\in\mathbb{F}_2^t v ∈ F 2 t with w j ⋅ v = 1 w_j\cdot v=1 w j ⋅ v = 1 , where the dot product w j ⋅ v w_j\cdot v w j ⋅ v is computed in F 2 \mathbb{F}_2 F 2 . Each H i j H_{ij} H ij has 2 t − 1 2^{t-1} 2 t − 1 elements, and for j ≠ j ′ j\ne j' j = j ′ the set H i j ∩ H i j ′ H_{ij}\cap H_{ij'} H ij ∩ H i j ′ has 2 t − 2 2^{t-2} 2 t − 2 elements, since w j w_j w j and w j ′ w_{j'} w j ′ are linearly independent. Let μ i j + \mu^+_{ij} μ ij + and μ i j − \mu^-_{ij} μ ij − be the uniform probability measures on H i j H_{ij} H ij and on J i ∖ H i j J_i\setminus H_{ij} J i ∖ H ij .
For a probe ν \nu ν , write π a ( ν ) = ν { λ : λ ( a ) = 1 } ∈ [ 0 , 1 ] \pi_a(\nu)=\nu\{\lambda:\lambda(a)=1\}\in[0,1] π a ( ν ) = ν { λ : λ ( a ) = 1 } ∈ [ 0 , 1 ] for its marginal at the label a a a ; by Lemma 5.1 , the response is then R ( μ , ν ) = ∑ a μ ( a ) π a ( ν ) R(\mu,\nu)=\sum_a\mu(a)\pi_a(\nu) R ( μ , ν ) = ∑ a μ ( a ) π a ( ν ) . With m = 2 t m=2^t m = 2 t , we have
ψ ( ν ; μ i j + , μ i j − ) = 2 m ( ∑ a ∈ H i j π a ( ν ) − ∑ a ∈ J i ∖ H i j π a ( ν ) ) ≤ 1. \psi(\nu;\mu^+_{ij},\mu^-_{ij})=\frac{2}{m}\left(\sum_{a\in H_{ij}}\pi_a(\nu)-\sum_{a\in J_i\setminus H_{ij}}\pi_a(\nu)\right)\le1. ψ ( ν ; μ ij + , μ ij − ) = m 2 a ∈ H ij ∑ π a ( ν ) − a ∈ J i ∖ H ij ∑ π a ( ν ) ≤ 1.
For j ≠ j ′ j\ne j' j = j ′ in the same row, adding the two values gives
4 m ( ∑ a ∈ H i j ∩ H i j ′ π a ( ν ) − ∑ a ∈ J i ∖ ( H i j ∪ H i j ′ ) π a ( ν ) ) ≤ 4 m ⋅ m 4 = 1 , \frac{4}{m}\left(\sum_{a\in H_{ij}\cap H_{ij'}}\pi_a(\nu)-\sum_{a\in J_i\setminus(H_{ij}\cup H_{ij'})}\pi_a(\nu)\right)\le\frac{4}{m}\cdot\frac{m}{4}=1, m 4 a ∈ H ij ∩ H i j ′ ∑ π a ( ν ) − a ∈ J i ∖ ( H ij ∪ H i j ′ ) ∑ π a ( ν ) ≤ m 4 ⋅ 4 m = 1 ,
so the two values are never both greater than 1 / 2 1/2 1/2 . For every function f f f from { 0 , … , N − 1 } \{0,\ldots,N-1\} { 0 , … , N − 1 } to itself, the hypothesis applied to the finite disjoint sets ⋃ i H i f ( i ) \bigcup_i H_{if(i)} ⋃ i H i f ( i ) and ⋃ i ( J i ∖ H i f ( i ) ) \bigcup_i(J_i\setminus H_{if(i)}) ⋃ i ( J i ∖ H i f ( i ) ) gives a label b b b , and at the pure probe of φ ( ⋅ , b ) \varphi(\cdot,b) φ ( ⋅ , b ) every value ψ ( ⋅ ; μ i f ( i ) + , μ i f ( i ) − ) \psi(\cdot;\mu^+_{if(i)},\mu^-_{if(i)}) ψ ( ⋅ ; μ i f ( i ) + , μ i f ( i ) − ) with i < N i<N i < N equals 1.
Thus, for every N N N , the structure S φ S_\varphi S φ satisfies the following conditions on 2 N 2 2N^2 2 N 2 preparations y i j ± y^\pm_{ij} y ij ± , for i , j < N i,j<N i , j < N : for every function f f f from { 0 , … , N − 1 } \{0,\ldots,N-1\} { 0 , … , N − 1 } to itself, the value of sup x min i < N ψ ( x ; y i f ( i ) + , y i f ( i ) − ) \sup_x\min_{i<N}\psi(x;y^+_{if(i)},y^-_{if(i)}) sup x min i < N ψ ( x ; y i f ( i ) + , y i f ( i ) − ) is 1; and for all i < N i<N i < N and all distinct j , j ′ < N j,j'<N j , j ′ < N , the value of sup x min ( ψ ( x ; y i j + , y i j − ) , ψ ( x ; y i j ′ + , y i j ′ − ) ) \sup_x\min(\psi(x;y^+_{ij},y^-_{ij}),\psi(x;y^+_{ij'},y^-_{ij'})) sup x min ( ψ ( x ; y ij + , y ij − ) , ψ ( x ; y i j ′ + , y i j ′ − )) is at most 1 / 2 1/2 1/2 . These are finitely many closed conditions for each N N N , and the conditions for N N N are inherited by subarrays. By compactness, an ℵ 1 \aleph_1 ℵ 1 -saturated elementary extension of S φ S_\varphi S φ contains an array ( y i j ± ) i , j ∈ N (y^\pm_{ij})_{i,j\in\mathbb{N}} ( y ij ± ) i , j ∈ N satisfying them for all N N N ; by saturation, the suprema along paths are attained. This is the tree property of the second kind, which is incompatible with simplicity in real-valued logic [4 ] .
It remains to be shown that every simple diagonal observable is NIP. The hypothesis of the theorem is the independence property of the pure responses, in the form used in the second paper: actual labels are dense in K φ K_\varphi K φ , and a finite pattern of answers to the labels a n a_n a n prescribes a clopen subset of K φ K_\varphi K φ , so the hypothesis says exactly that the functions λ ↦ λ ( a n ) \lambda\mapsto\lambda(a_n) λ ↦ λ ( a n ) form an independent sequence on K φ K_\varphi K φ , in the sense recalled before Definition 5.2. For a diagonal observable, the pure and mixed responses have the independence property together, since a mixed response is an average of pure ones. Indeed, suppose that the pure responses have no independent sequence. By Rosenthal’s dichotomy, in its original combinatorial form, every bounded sequence of real functions on a set has a subsequence that either converges pointwise or is independent; hence every sequence of pure responses has a subsequence that converges pointwise on K φ K_\varphi K φ , and this subsequence is weakly Cauchy in C ( K φ ) C(K_\varphi) C ( K φ ) by dominated convergence: its values under every continuous linear functional form a Cauchy sequence. By Stegall’s theorem, as in the second paper, this property passes to the absolutely convex hull of the pure responses, the set of their finite combinations with coefficients of total absolute value at most 1 1 1 , and, by approximation, to the norm closure of that hull, which contains the mixed responses. Evaluation at a probe is a continuous linear functional on C ( K φ ) C(K_\varphi) C ( K φ ) , and every sequence of mixed responses therefore has a subsequence that converges pointwise on the probe space, which no independent sequence has. Consequently, if a diagonal observable has the independence property, the hypothesis holds, and the real-valued theory of S φ \mathcal{S}_{\varphi} S φ has the tree property of the second kind, so the observable is not simple. □
The array that witnesses the tree property of the second kind in the proof of Theorem 6.1 lies in an ℵ 1 \aleph_{1} ℵ 1 -saturated elementary extension of S φ \mathcal{S}_{\varphi} S φ . In the next two sections we show that, for the Pauli observable, actual preparations already witness the tree property of the second kind, for the atomic formula, the response itself, and that, for the Rado observable, every array that witnesses it for a quantifier-free formula contains idealized preparations.
The Pauli observable: syndrome sectors and the first check to fire
We turn to Theorem 1.1 (D): for the Pauli observable, actual preparations witness the tree property of the second kind. The tool is the expression of the projector onto the states of a given syndrome as an average over the group generated by the checks; we first state it for responses, as a formula for the indicator of a syndrome sector, the set of idealized errors with a given syndrome. The idea of the theorem is then to let a single mixture ask a question about many checks at once. Given a block, a sequence of linearly independent checks, let Alice draw a Pauli string uniformly from the coset of one of its checks modulo the span of the checks before it. In the proof of Theorem 7.2 we show that if the earlier checks are silent on Bob’s error, that is, commute with it, and the chosen check fires, that is, anticommutes with it, then every string in the coset anticommutes with the error, and that if one of the earlier checks fires, exactly half of the strings do. Two different checks of a block cannot both be the first to fire, and the syndromes with respect to several blocks can be prescribed separately when all their checks together are linearly independent (see Lemma 3.2 ).
Syndrome sectors
Let d d d be a positive integer, let g 1 , … , g d g_{1},\ldots,g_{d} g 1 , … , g d be linearly independent checks in the space V V V of labels of Pauli strings of finite support, with span G G G , and let a syndrome σ ∈ F 2 d \sigma\in\mathbb{F}_{2}^{d} σ ∈ F 2 d be given. We regard σ \sigma σ as the linear functional on G G G with σ ( g i ) = σ i \sigma(g_{i})=\sigma_{i} σ ( g i ) = σ i , and we call the set Σ σ = { λ ∈ V ∗ : λ ( g i ) = σ i for i ≤ d } \Sigma_{\sigma}=\{\lambda\in V^{*}:\lambda(g_{i})=\sigma_{i}\text{ for }i\le d\} Σ σ = { λ ∈ V ∗ : λ ( g i ) = σ i for i ≤ d } of idealized errors with syndrome σ \sigma σ its syndrome sector . For s ∈ G s\in G s ∈ G we write r s r_{s} r s for the pure response r δ s r_{\delta_{s}} r δ s , the response of the point mass at s s s , and we recall that χ s \chi_{s} χ s is the character of V ∗ V^{*} V ∗ given by χ s ( λ ) = ( − 1 ) λ ( s ) \chi_{s}(\lambda)=(-1)^{\lambda(s)} χ s ( λ ) = ( − 1 ) λ ( s ) .
Proposition 7.1. Let d d d be a positive integer, let g 1 , … , g d ∈ V g_{1},\ldots,g_{d}\in V g 1 , … , g d ∈ V be linearly independent checks with span G G G , and let σ ∈ F 2 d \sigma\in\mathbb{F}_{2}^{d} σ ∈ F 2 d be a syndrome, regarded as the linear functional on G G G with σ ( g i ) = σ i \sigma(g_{i})=\sigma_{i} σ ( g i ) = σ i for i ≤ d i\le d i ≤ d . Then the indicator of the syndrome sector Σ σ \Sigma_{\sigma} Σ σ satisfies, at every pure probe λ ∈ V ∗ \lambda\in V^{*} λ ∈ V ∗ ,
1 Σ σ ( λ ) = 2 − d ∑ s ∈ G ( − 1 ) σ ( s ) χ s ( λ ) = 2 − d ∑ s ∈ G ( − 1 ) σ ( s ) − 2 1 − d ∑ s ∈ G ( − 1 ) σ ( s ) r s ( λ ) . \mathbf{1}_{\Sigma_{\sigma}}(\lambda)=2^{-d}\sum_{s\in G}(-1)^{\sigma(s)}\chi_{s}(\lambda)=2^{-d}\sum_{s\in G}(-1)^{\sigma(s)}-2^{1-d}\sum_{s\in G}(-1)^{\sigma(s)}r_{s}(\lambda). 1 Σ σ ( λ ) = 2 − d s ∈ G ∑ ( − 1 ) σ ( s ) χ s ( λ ) = 2 − d s ∈ G ∑ ( − 1 ) σ ( s ) − 2 1 − d s ∈ G ∑ ( − 1 ) σ ( s ) r s ( λ ) .
Consequently, if σ ≠ 0 \sigma\ne0 σ = 0 , then 1 Σ σ = r μ σ 1 − r μ σ 0 \mathbf{1}_{\Sigma_{\sigma}}=r_{\mu_{\sigma}^{1}}-r_{\mu_{\sigma}^{0}} 1 Σ σ = r μ σ 1 − r μ σ 0 on pure probes, where μ σ 1 \mu_{\sigma}^{1} μ σ 1 and μ σ 0 \mu_{\sigma}^{0} μ σ 0 are the uniform probability measures on { s ∈ G : σ ( s ) = 1 } \{s\in G:\sigma(s)=1\} { s ∈ G : σ ( s ) = 1 } and on { s ∈ G : σ ( s ) = 0 } \{s\in G:\sigma(s)=0\} { s ∈ G : σ ( s ) = 0 } ; and 1 Σ 0 = 1 − 2 r μ G \mathbf{1}_{\Sigma_{0}}=1-2r_{\mu_{G}} 1 Σ 0 = 1 − 2 r μ G , where μ G \mu_{G} μ G is the uniformly probability measure on G G G . In particular, for every probe ν \nu ν , the probability that an error drawn from the Pauli channel ν \nu ν has syndrome σ \sigma σ is r μ σ 1 ( ν ) − r μ σ 0 ( ν ) r_{\mu_{\sigma}^{1}}(\nu)-r_{\mu_{\sigma}^{0}}(\nu) r μ σ 1 ( ν ) − r μ σ 0 ( ν ) if σ ≠ 0 \sigma\ne0 σ = 0 , and 1 − 2 r μ G ( ν ) 1-2r_{\mu_{G}}(\nu) 1 − 2 r μ G ( ν ) if σ = 0 \sigma=0 σ = 0 .
Proof. The map s ↦ ( − 1 ) σ ( s ) χ s ( λ ) = ( − 1 ) ( σ + λ ) ( s ) s\mapsto(-1)^{\sigma(s)}\chi_{s}(\lambda)=(-1)^{(\sigma+\lambda)(s)} s ↦ ( − 1 ) σ ( s ) χ s ( λ ) = ( − 1 ) ( σ + λ ) ( s ) is a character of the finite group G G G ; its sum over G G G is 2 d 2^{d} 2 d if the linear functional σ + λ \sigma+\lambda σ + λ vanishes on G G G , that is, if λ ∈ Σ σ \lambda\in\Sigma_{\sigma} λ ∈ Σ σ , and 0 0 0 otherwise, since a nonzero functional on G G G takes the value 1 1 1 on exactly half of G G G . This is the first equality, and the second follows from χ s = 1 − 2 r s \chi_{s}=1-2r_{s} χ s = 1 − 2 r s . If σ ≠ 0 \sigma\ne0 σ = 0 , the first sum on the right vanishes, and the two level sets of σ \sigma σ have 2 d − 1 2^{d-1} 2 d − 1 elements each; grouping the second sum by the value of σ \sigma σ gives r μ σ 1 − r μ σ 0 r_{\mu_{\sigma}^{1}}-r_{\mu_{\sigma}^{0}} r μ σ 1 − r μ σ 0 . If σ = 0 \sigma=0 σ = 0 , the first sum is 2 d 2^{d} 2 d , and the second is $2^{d}r_{\mu_{G}}. Both sides of each identity are affine in the probe, and integration against ν \nu ν , together with Proposition 5.4(b), yields the last statement.
When the checks commute pairwise and carry signs, the operator 2 − d ∑ s ∈ G ( − 1 ) σ ( s ) g s 2^{-d}\sum_{s\in G}(-1)^{\sigma(s)}g_s 2 − d ∑ s ∈ G ( − 1 ) σ ( s ) g s , where g s g_s g s is the element with label s s s of the group generated by the signed checks, is the projector onto the states of syndrome σ \sigma σ [18 ] , and the probability of the outcome σ \sigma σ when the checks are measured on a code state corrupted by a Pauli channel ν \nu ν is given by Proposition 7.1. The proposition requires no commutation: the checks need only be linearly independent. The coefficients of the indicator, as an affine combination of Alice’s responses, have total absolute value at most 1 + 2 = 3 1+2=3 1 + 2 = 3 , whatever the number d d d of checks.
The first check to fire
The next theorem arranges the syndrome sectors of the initial segments of blocks of checks in an array that witnesses the tree property of the second kind.
Theorem 7.2 (The first check to fire). Let ( g i m ) i , m ∈ N (g_{im})_{i,m\in\mathbb{N}} ( g im ) i , m ∈ N be linearly independent vectors of V V V , put W i j = span ( g i m : m < j ) W_{ij}=\operatorname{span}(g_{im}:m<j) W ij = span ( g im : m < j ) for i , j ∈ N i,j\in\mathbb{N} i , j ∈ N , and let μ i j \mu_{ij} μ ij be the uniform probability measure on the coset g i j + W i j g_{ij}+W_{ij} g ij + W ij . For the Pauli observable, the following hold:
(a) for every f : N → N f:\mathbb{N}\to\mathbb{N} f : N → N and every n ∈ N n\in\mathbb{N} n ∈ N , there is an error e ∈ V e\in V e ∈ V with r μ i f ( i ) ( e ) = 1 r_{\mu_{if(i)}}(e)=1 r μ i f ( i ) ( e ) = 1 for all i < n i<n i < n , and there is an idealized error λ ∈ V ∗ \lambda\in V^* λ ∈ V ∗ with r μ i f ( i ) ( λ ) = 1 r_{\mu_{if(i)}}(\lambda)=1 r μ i f ( i ) ( λ ) = 1 for all i i i ;
(b) for every i i i , every j ≠ j ′ j\ne j' j = j ′ and every probe ν ∈ P ( V ∗ ) \nu\in\mathcal{P}(V^*) ν ∈ P ( V ∗ ) , we have min ( r μ i j ( ν ) , r μ i j ′ ( ν ) ) ≤ 2 / 3 \min(r_{\mu_{ij}}(\nu),r_{\mu_{ij'}}(\nu))\le2/3 min ( r μ ij ( ν ) , r μ i j ′ ( ν )) ≤ 2/3 , and the bound 2 / 3 2/3 2/3 is attained.
Consequently, the family of responses of Alice has the tree property of the second kind in the sense of Definition 5.2, with k = 2 k=2 k = 2 , α = 2 / 3 \alpha=2/3 α = 2/3 and β = 1 \beta=1 β = 1 .
Proof. We first compute the response of μ i j \mu_{ij} μ ij at a pure probe λ ∈ V ∗ \lambda\in V^* λ ∈ V ∗ . If λ \lambda λ does not vanish on W i j W_{ij} W ij , then the functional λ \lambda λ takes the value 1 1 1 on exactly half of the coset g i j + W i j g_{ij}+W_{ij} g ij + W ij , since a nonzero functional on a finite F 2 \mathbb{F}_2 F 2 -space is balanced, and translation by g i j g_{ij} g ij either preserves or exchanges its level sets. If λ \lambda λ vanishes on W i j W_{ij} W ij , then the functional λ \lambda λ is constant on the coset, with value λ ( g i j ) \lambda(g_{ij}) λ ( g ij ) . Hence
r μ i j ( λ ) = { 1 if λ ( g i m ) = 0 for m < j and λ ( g i j ) = 1 , 1 / 2 if λ ( g i m ) = 1 for some m < j , 0 otherwise. (1) r_{\mu_{ij}}(\lambda)=
\begin{cases}
1 & \text{if }\lambda(g_{im})=0\text{ for }m<j\text{ and }\lambda(g_{ij})=1,\\
1/2 & \text{if }\lambda(g_{im})=1\text{ for some }m<j,\\
0 & \text{otherwise.}
\end{cases} \tag*{(1)} r μ ij ( λ ) = ⎩ ⎨ ⎧ 1 1/2 0 if λ ( g im ) = 0 for m < j and λ ( g ij ) = 1 , if λ ( g im ) = 1 for some m < j , otherwise. (1)
In words, the response is $1$ exactly when g i j g_{ij} g ij is the first check of the block ( g i m ) m ∈ N (g_{im})_{m\in\mathbb{N}} ( g im ) m ∈ N , which we call block i i i , to fire, that is, to take the value 1 1 1 under $\lambda.
(a) Let f f f and n n n be given. The conditions λ ( g i m ) = 0 \lambda(g_{im})=0 λ ( g im ) = 0 for m < f ( i ) m<f(i) m < f ( i ) and λ ( g i f ( i ) ) = 1 \lambda(g_{if(i)})=1 λ ( g i f ( i ) ) = 1 , for i < n i<n i < n , concern finitely many linearly independent vectors, so Lemma 3.2 gives an error e e e with ω ( ⋅ , e ) \omega(\mathord{\cdot},e) ω ( ⋅ , e ) satisfying them, and by (1) the response r μ i f ( i ) ( e ) r_{\mu_{if(i)}}(e) r μ i f ( i ) ( e ) equals 1 1 1 for all i < n i<n i < n . The conditions for all i i i together define a nonempty closed subset of V ∗ V^* V ∗ , since the vectors g i m g_{im} g im are linearly independent; any λ \lambda λ in it works.
(b) By symmetry, we may assume that j < j ′ j<j' j < j ′ . By (1), the pair ( r μ i j ( λ ) , r μ i j ′ ( λ ) ) (r_{\mu_{ij}}(\lambda),r_{\mu_{ij'}}(\lambda)) ( r μ ij ( λ ) , r μ i j ′ ( λ )) at a pure probe takes one of the values
( 1 , 1 / 2 ) , ( 1 / 2 , 1 / 2 ) , ( 0 , 1 / 2 ) , ( 0 , 1 ) , ( 0 , 0 ) . (1,1/2),\qquad(1/2,1/2),\qquad(0,1/2),\qquad(0,1),\qquad(0,0). ( 1 , 1/2 ) , ( 1/2 , 1/2 ) , ( 0 , 1/2 ) , ( 0 , 1 ) , ( 0 , 0 ) .
Indeed, if the first check of block i i i to fire among g i 0 , … , g i j ′ g_{i0},\ldots,g_{ij'} g i 0 , … , g i j ′ has index m m m , the pair is ( 1 / 2 , 1 / 2 ) (1/2,1/2) ( 1/2 , 1/2 ) for m < j m<j m < j , ( 1 , 1 / 2 ) (1,1/2) ( 1 , 1/2 ) for m = j m=j m = j , ( 0 , 1 / 2 ) (0,1/2) ( 0 , 1/2 ) for j < m < j ′ j<m<j' j < m < j ′ and ( 0 , 1 ) (0,1) ( 0 , 1 ) for m = j ′ m=j' m = j ′ ; if none fires, the pair is ( 0 , 0 ) (0,0) ( 0 , 0 ) . Responses are affine in the probe, so at a mixed probe ν \nu ν the pair lies in the convex hull of these five points. On that hull the minimum of the two coordinates is at most 2 / 3 2/3 2/3 , with equality only at the point 2 3 ( 1 2 , 1 2 ) + 1 3 ( 0 , 1 ) = ( 2 3 , 2 3 ) \frac{2}{3}(\frac{1}{2},\frac{1}{2})+\frac{1}{3}(0,1)=(\frac{2}{3},\frac{2}{3}) 3 2 ( 2 1 , 2 1 ) + 3 1 ( 0 , 1 ) = ( 3 2 , 3 2 ) . This point is the pair of responses at the probe 2 3 λ 1 + 1 3 λ 2 \frac{2}{3}\lambda_1+\frac{1}{3}\lambda_2 3 2 λ 1 + 3 1 λ 2 , where λ 1 \lambda_1 λ 1 and λ 2 \lambda_2 λ 2 are idealized errors under which g i j g_{ij} g ij and g i j ′ g_{ij'} g i j ′ , respectively, are the first checks of block i i i to fire; such idealized errors exist by (a). Statements (a) and (b) are the two clauses of Definition 5.2 for the array ( r μ i j ) (r_{\mu_{ij}}) ( r μ ij ) , with k = 2 k=2 k = 2 , α = 2 / 3 \alpha=2/3 α = 2/3 and β = 1 \beta=1 β = 1 .
Example 7.4. Index the qubits by pairs ( i , m ) ∈ N 2 (i,m)\in\mathbb{N}^2 ( i , m ) ∈ N 2 , and for each i ∈ N i\in\mathbb{N} i ∈ N call the qubits ( i , m ) (i,m) ( i , m ) , m ∈ N m\in\mathbb{N} m ∈ N , the chain i i i ; let g i m = Z i , m Z i , m + 1 g_{im}=Z_{i,m}Z_{i,m+1} g im = Z i , m Z i , m + 1 be the check of the bit-flip repetition code that compares the neighboring qubits m m m and m + 1 m+1 m + 1 of the chain i i i , where X i , m X_{i,m} X i , m and Z i , m Z_{i,m} Z i , m denote the bit flip and the phase flip on the qubit ( i , m ) (i,m) ( i , m ) . These checks commute pairwise and are linearly independent. For a bit flip e = ∏ i , m X i , m x i , m e=\prod_{i,m}X_{i,m}^{x_{i,m}} e = ∏ i , m X i , m x i , m , with exponents x i , m ∈ F 2 x_{i,m}\in\mathbb{F}_2 x i , m ∈ F 2 , we have ω ( g i m , e ) = x i , m + x i , m + 1 \omega(g_{im},e)=x_{i,m}+x_{i,m+1} ω ( g im , e ) = x i , m + x i , m + 1 , which is 1 if and only if exactly one of the qubits m m m and m + 1 m+1 m + 1 of the chain i i i is flipped, that is, if and only if e e e has a domain wall between them. By (1), the response at e e e of the uniform probability measure μ i j \mu_{ij} μ ij on the coset of g i j g_{ij} g ij modulo the span of g i 0 , … , g i , j − 1 g_{i0},\ldots,g_{i,j-1} g i 0 , … , g i , j − 1 , as in Theorem 7.2, is 1 exactly when the first domain wall of e e e on the chain i i i lies between the qubits j j j and j + 1 j+1 j + 1 . For this code, Theorem 7.2 reads as follows: the chains are independent code blocks of a memory, an error cannot have two first domain walls on the same chain, and the positions of the first domain walls on infinitely many chains can be prescribed independently by a single error. The bit flips on the chain i i i with zero syndrome are the identity and the flip of every qubit of the chain, which acts on infinitely many qubits: the logical bit flip of an infinite chain is an idealized error, an element of V ^ ∖ V V^{\hat{}}\setminus V V ^ ∖ V .
By Theorem 6.1 , the real-valued theory of the structure S ω S_\omega S ω of mixed preparations and probes of the Pauli observable is not simple, although the first-order theory of ( V , ω ) (V,\omega) ( V , ω ) is; in Theorem 7.2 the tree property of the second kind is witnessed by actual preparations, for the atomic formula, the response itself, rather than for the difference of two responses.
The Rado observable: marginals and idealized preparations
In this section we prove Theorem 1.1 (E), which concerns the Rado observable. By Theorem 6.1 , the real-valued theory of the structure of its mixed preparations and probes has the tree property of the second kind, as that of the Pauli observable does. In Theorem 8.1 , Corollary 8.2 and Theorem 8.3 we show that every array that witnesses this property for a quantifier-free formula contains idealized preparations, because the conditions that actual mixtures impose on the marginals of a probe, the probabilities with which it declares the individual vertices neighbors, are compatible on disjoint finite sets of vertices. After Corollary 8.2 we note that the same holds for the random bipartite graph, the Fraïssé limit of the finite bipartite graphs with the two sides as two sorts, which has exactly the shape of a bipartite observable: Alice’s labels form one side, and Bob’s the other.
Affine combinations of responses
Consider a diagonal observable with freely independent pure responses, that is, one for which every pattern λ ∈ { 0 , 1 } A \lambda\in\{0,1\}^{A} λ ∈ { 0 , 1 } A of answers to Alice’s labels, the elements of A A A , is an idealized label of Bob. The response of a mixture depends on a probe ν \nu ν only through its marginals π a ( ν ) = ν { λ : λ ( a ) = 1 } \pi_a(\nu)=\nu\{\lambda:\lambda(a)=1\} π a ( ν ) = ν { λ : λ ( a ) = 1 } , for a ∈ A a\in A a ∈ A , as for the Rado observable in Section 5.5, and every vector of marginals in [ 0 , 1 ] A [0,1]^{A} [ 0 , 1 ] A is attained by a product measure. A bounded affine combination of responses is therefore a function
h c , γ ( ν ) = γ + ∑ a ∈ A c ( a ) π a ( ν ) , γ ∈ R , c ∈ ℓ 1 ( A ) , h_{c,\gamma}(\nu)=\gamma+\sum_{a\in A}c(a)\pi_a(\nu),\qquad\gamma\in\mathbb{R},\ c\in\ell^1(A), h c , γ ( ν ) = γ + a ∈ A ∑ c ( a ) π a ( ν ) , γ ∈ R , c ∈ ℓ 1 ( A ) ,
and its supremum over the probe space is γ + ∑ a c ( a ) + \gamma+\sum_a c(a)^+ γ + ∑ a c ( a ) + , attained at the pure probe λ = 1 { c > 0 } \lambda=1_{\{c>0\}} λ = 1 { c > 0 } . Two such functions can conflict only through the labels on which both put weight. In the proof of Theorem 8.1 below we show, by a gliding hump, that a sequence of such functions along which ∣ γ ∣ + ∥ c ∥ 1 |\gamma|+\|c\|_1 ∣ γ ∣ + ∥ c ∥ 1 stays bounded has a subsequence whose members put their weight, up to small errors, on a common finite set of labels and on pairwise disjoint finite blocks; for every positive integer k k k , a single pure probe then nearly maximizes k k k of them.
Theorem 8.1 (Compatibility of affine conditions). Let C φ C_\varphi C φ be the diagonal observable of a function φ : A × B → { 0 , 1 } \varphi:A\times B\to\{0,1\} φ : A × B → { 0 , 1 } on countable sets A A A and B B B , with freely independent pure responses, and let κ ≥ 1 \kappa\ge1 κ ≥ 1 be given. Let R κ \mathcal{R}_\kappa R κ be the family of functions γ + ∑ i < n c i μ i \gamma+\sum_{i<n}c_i\mu_i γ + ∑ i < n c i μ i on the probe space P ( { 0 , 1 } A ) \mathcal{P}(\{0,1\}^{A}) P ({ 0 , 1 } A ) of Radon probability measures on { 0 , 1 } A \{0,1\}^{A} { 0 , 1 } A , where n ∈ N n\in\mathbb{N} n ∈ N , the μ i \mu_i μ i are mixtures of Alice, and γ \gamma γ and the c i c_i c i are reals with ∣ γ ∣ + ∑ i ∣ c i ∣ ≤ κ |\gamma|+\sum_i|c_i|\le\kappa ∣ γ ∣ + ∑ i ∣ c i ∣ ≤ κ . Then the family R κ \mathcal{R}_\kappa R κ contains no uniformly k k k -inconsistent sequence, for any integer k ≥ 2 k\ge2 k ≥ 2 . In particular, no tree property is witnessed in R κ \mathcal{R}_\kappa R κ .
Proof. Let ( h j ) j ∈ N (h_j)_{j\in\mathbb{N}} ( h j ) j ∈ N be a sequence in R κ \mathcal{R}_\kappa R κ and let α < β \alpha<\beta α < β be such that each h j h_j h j takes a value ≥ β \ge\beta ≥ β . We show that for every integer k ≥ 2 k\ge2 k ≥ 2 there are j 1 < ⋯ < j k j_1<\cdots<j_k j 1 < ⋯ < j k and a pure probe λ \lambda λ with h j ℓ ( δ λ ) > α h_{j_\ell}(\delta_\lambda)>\alpha h j ℓ ( δ λ ) > α for ℓ = 1 , … , k \ell=1,\ldots,k ℓ = 1 , … , k .
Write h j = γ j + ∑ i c j , i r μ j , i h_j=\gamma_j+\sum_i c_{j,i}r_{\mu_{j,i}} h j = γ j + ∑ i c j , i r μ j , i , with real coefficients c j , i c_{j,i} c j , i and mixtures μ j , i \mu_{j,i} μ j , i of Alice; then h j = h c j , γ j h_j=h_{c_j,\gamma_j} h j = h c j , γ j with c j = ∑ i c j , i μ j , i c_j=\sum_i c_{j,i}\mu_{j,i} c j = ∑ i c j , i μ j , i , whence ∥ c j ∥ 1 ≤ κ \|c_j\|_1\le\kappa ∥ c j ∥ 1 ≤ κ . Since A A A is countable, a diagonal argument gives a subsequence, still denoted ( c j ) (c_j) ( c j ) , that converges pointwise on A A A to some c c c ; by Fatou’s lemma, the limit satisfies ∥ c ∥ 1 ≤ κ \|c\|_1\le\kappa ∥ c ∥ 1 ≤ κ . Put η = ( β − α ) / 5 \eta=(\beta-\alpha)/5 η = ( β − α ) /5 and choose a finite set F ⊆ A F \subseteq A F ⊆ A with ∥ c ↾ ( A ∖ F ) ∥ 1 < η \lVert c \upharpoonright(A \setminus F)\rVert_1 < \eta ∥ c ↾ ( A ∖ F ) ∥ 1 < η . Put F 0 = F F_0 = F F 0 = F , and choose inductively indices j 1 < ⋯ < j k j_1 < \cdots< j_k j 1 < ⋯ < j k and finite sets F 0 ⊆ F 1 ⊆ ⋯ ⊆ F k F_0 \subseteq F_1 \subseteq\cdots\subseteq F_k F 0 ⊆ F 1 ⊆ ⋯ ⊆ F k such that
∥ ( c j ℓ − c ) ↾ F ℓ − 1 ∥ 1 < η and ∥ c j ℓ ↾ ( A ∖ F ℓ ) ∥ 1 < η ; \lVert(c_{j_\ell} - c) \upharpoonright F_{\ell-1}\rVert_1 < \eta
\quad\text{and}\quad
\lVert c_{j_\ell} \upharpoonright(A \setminus F_\ell)\rVert_1 < \eta; ∥( c j ℓ − c ) ↾ F ℓ − 1 ∥ 1 < η and ∥ c j ℓ ↾ ( A ∖ F ℓ ) ∥ 1 < η ;
the first condition holds for all large indices by pointwise convergence, and the second for a large enough finite set. Define λ ∈ { 0 , 1 } A \lambda\in\{0,1\}^A λ ∈ { 0 , 1 } A by λ ( a ) = 1 \lambda(a) = 1 λ ( a ) = 1 exactly when a ∈ F a \in F a ∈ F and c ( a ) > 0 c(a) > 0 c ( a ) > 0 , or a ∈ F ℓ ∖ F ℓ − 1 a \in F_\ell\setminus F_{\ell-1} a ∈ F ℓ ∖ F ℓ − 1 and c j ℓ ( a ) > 0 c_{j_\ell}(a) > 0 c j ℓ ( a ) > 0 for some ℓ ≤ k \ell\le k ℓ ≤ k .
Let ℓ ≤ k \ell\le k ℓ ≤ k be given. The deficit of λ \lambda λ for h j ℓ h_{j_\ell} h j ℓ is
sup h j ℓ − h j ℓ ( δ λ ) = ∑ λ ( a ) = 0 c j ℓ ( a ) + + ∑ λ ( a ) = 1 c j ℓ ( a ) − , \sup h_{j_\ell} - h_{j_\ell}(\delta_\lambda)
=
\sum_{\lambda(a)=0} c_{j_\ell}(a)^+
+
\sum_{\lambda(a)=1} c_{j_\ell}(a)^-, sup h j ℓ − h j ℓ ( δ λ ) = λ ( a ) = 0 ∑ c j ℓ ( a ) + + λ ( a ) = 1 ∑ c j ℓ ( a ) − ,
and we bound its contribution on four disjoint pieces of A A A . On F ℓ ∖ F ℓ − 1 F_\ell\setminus F_{\ell-1} F ℓ ∖ F ℓ − 1 the sign pattern of λ \lambda λ is that of c j ℓ c_{j_\ell} c j ℓ , and the contribution is 0. On F F F it is that of c c c , and a label where the signs of c j ℓ c_{j_\ell} c j ℓ and c c c disagree contributes at most ∣ c j ℓ ( a ) − c ( a ) ∣ \lvert c_{j_\ell}(a) - c(a)\rvert ∣ c j ℓ ( a ) − c ( a )∣ ; the total is less than η \eta η . On F ℓ − 1 ∖ F F_{\ell-1} \setminus F F ℓ − 1 ∖ F the contribution is at most ∥ c j ℓ ↾ ( F ℓ − 1 ∖ F ) ∥ 1 ≤ ∥ ( c j ℓ − c ) ↾ F ℓ − 1 ∥ 1 + ∥ c ↾ ( A ∖ F ) ∥ 1 < 2 η \lVert c_{j_\ell} \upharpoonright(F_{\ell-1} \setminus F)\rVert_1 \le\lVert(c_{j_\ell} - c) \upharpoonright F_{\ell-1}\rVert_1 + \lVert c \upharpoonright(A \setminus F)\rVert_1 < 2\eta ∥ c j ℓ ↾ ( F ℓ − 1 ∖ F ) ∥ 1 ≤ ∥( c j ℓ − c ) ↾ F ℓ − 1 ∥ 1 + ∥ c ↾ ( A ∖ F ) ∥ 1 < 2 η . On A ∖ F ℓ A \setminus F_\ell A ∖ F ℓ it is less than η \eta η . Hence h j ℓ ( δ λ ) > sup h j ℓ − 4 η ≥ β − 4 η > α h_{j_\ell}(\delta_\lambda) > \sup h_{j_\ell} - 4\eta\ge\beta- 4\eta> \alpha h j ℓ ( δ λ ) > sup h j ℓ − 4 η ≥ β − 4 η > α . □
Corollary 8.2. Let n ∈ N n \in\mathbb{N} n ∈ N be given, and let γ \gamma γ and c i c_i c i , for i < n i < n i < n , be reals. For the Rado observable, no tree property of the affine formula γ + ∑ i < n c i R ( y i , x ) \gamma+ \sum_{i<n} c_iR(y_i,x) γ + ∑ i < n c i R ( y i , x ) , in which R R R is the response predicate, the variables y i y_i y i are of the sort of preparations and the variable x x x is of the sort of probes, is witnessed by actual preparations, although the real-valued theory of the structure S E S_E S E of its mixed preparations and probes has the tree property of the second kind.
Proof. By Lemma 5.5, the Rado observable has freely independent pure responses. With actual preparations as parameters, the instances of the formula lie in the family R κ \mathcal{R}_\kappa R κ of Theorem 8.1 for every κ > 0 \kappa> 0 κ > 0 with κ ≥ ∣ γ ∣ + ∑ i < n ∣ c i ∣ \kappa\ge|\gamma| + \sum_{i<n} |c_i| κ ≥ ∣ γ ∣ + ∑ i < n ∣ c i ∣ , and that theorem yields the first statement. The second statement is Theorem 6.1 . □
The finite arrays in the proof of Theorem 6.1 are made of actual preparations, and their rows have any prescribed finite length; by Theorem 8.1 , the rows cannot be made infinite in S E S_E S E . The infinite rows obtained by compactness in an ℵ 1 \aleph_1 ℵ 1 -saturated elementary extension must therefore contain idealized preparations. The same holds for the random bipartite graph, whose observable has freely independent pure responses, since every pattern of adjacency and nonadjacency to finitely many vertices of one side is realized by a vertex of the other.
Quantifier-free formulas
In Theorem 8.1 the conditions on a probe are given by affine combinations of responses. In the real-valued logic of the second paper, a quantifier-free formula in a variable x x x of the sort of probes, built from the response with parameters of the sort of preparations, is a continuous function of finitely many responses, since the responses take values in [ 0 , 1 ] [0,1] [ 0 , 1 ] and the connectives are continuous functions. The next theorem is the analogue of Theorem 8.1 for these formulas. Its proof uses the same gliding hump, with one change: a continuous function of responses is no longer maximized by reading off signs (we show this after the proof), so instead of building the probe from signs we glue maximizers of the individual instances on disjoint blocks of labels.
Theorem 8.3 (Compatibility of quantifier-free conditions). Let C φ C_{\varphi} C φ be the diagonal observable of a function φ : A × B → { 0 , 1 } \varphi:A \times B \to\{0,1\} φ : A × B → { 0 , 1 } on countable sets A A A and B B B , with freely independent pure responses, let n ≥ 1 n \ge1 n ≥ 1 be an integer, and let u : [ 0 , 1 ] n → R u:[0,1]^n \to\mathbb{R} u : [ 0 , 1 ] n → R be a continuous function. Let R u \mathcal{R}_u R u be the family of functions
h ( ν ) = u ( r μ 1 ( ν ) , … , r μ n ( ν ) ) ( ν ∈ P ( { 0 , 1 } A ) ) . h(\nu)=u\left(r_{\mu_1}(\nu),\ldots,r_{\mu_n}(\nu)\right) \qquad\left(\nu\in\mathcal{P}\left(\{0,1\}^{A}\right)\right). h ( ν ) = u ( r μ 1 ( ν ) , … , r μ n ( ν ) ) ( ν ∈ P ( { 0 , 1 } A ) ) . where μ 1 , … , μ n \mu_1,\ldots,\mu_n μ 1 , … , μ n range over the mixtures of Alice. Then the family R u \mathcal{R}_u R u contains no uniformly k k k -inconsistent sequence, for any integer k ≥ 2 k \ge2 k ≥ 2 . In particular, no tree property of the quantifier-free formula u ( R ( y 1 , x ) , … , R ( y n , x ) ) u(R(y_1,x),\ldots,R(y_n,x)) u ( R ( y 1 , x ) , … , R ( y n , x )) , where R R R is the response predicate, the variable x x x is of the sort of probes and the variables y 1 , … , y n y_1,\ldots,y_n y 1 , … , y n are of the sort of preparations, is witnessed by actual preparations.
Proof. For ν ∈ P ( { 0 , 1 } A ) \nu\in\mathcal{P}(\{0,1\}^{A}) ν ∈ P ({ 0 , 1 } A ) write π ( ν ) ∈ [ 0 , 1 ] A \pi(\nu) \in[0,1]^A π ( ν ) ∈ [ 0 , 1 ] A for its vector of marginals ( π a ( ν ) ) a ∈ A (\pi_a(\nu))_{a\in A} ( π a ( ν ) ) a ∈ A , defined before Theorem 8.1 . Every h ∈ R u h \in\mathcal{R}_u h ∈ R u factors as h ( ν ) = H ( π ( ν ) ) h(\nu)=H(\pi(\nu)) h ( ν ) = H ( π ( ν )) with
H ( q ) = u ( ⟨ μ 1 , q ⟩ , … , ⟨ μ n , q ⟩ ) , ⟨ μ , q ⟩ = ∑ a ∈ A μ ( a ) q a , H(q)=u\left(\langle\mu_1,q\rangle,\ldots,\langle\mu_n,q\rangle\right), \qquad\langle\mu,q\rangle=\sum_{a\in A}\mu(a)q_a, H ( q ) = u ( ⟨ μ 1 , q ⟩ , … , ⟨ μ n , q ⟩ ) , ⟨ μ , q ⟩ = a ∈ A ∑ μ ( a ) q a ,
and every q ∈ [ 0 , 1 ] A q \in[0,1]^A q ∈ [ 0 , 1 ] A is the vector of marginals of a product measure. It therefore suffices to work on the cube [ 0 , 1 ] A [0,1]^A [ 0 , 1 ] A .
Let ( h j ) j ∈ N (h_j)_{j\in\mathbb{N}} ( h j ) j ∈ N be a sequence in R u \mathcal{R}_u R u , with parameters μ j , 1 , … , μ j , n \mu_{j,1},\ldots,\mu_{j,n} μ j , 1 , … , μ j , n and associated functions H j H_j H j on the cube, and let α < β \alpha< \beta α < β be such that each h j h_j h j takes a value ≥ β \ge\beta ≥ β . We show that for every integer k ≥ 2 k \ge2 k ≥ 2 there are j 1 < ⋯ < j k j_1 < \cdots< j_k j 1 < ⋯ < j k and q ∈ [ 0 , 1 ] A q \in[0,1]^A q ∈ [ 0 , 1 ] A with H j ℓ ( q ) > α H_{j_\ell}(q)>\alpha H j ℓ ( q ) > α for ℓ = 1 , … , k \ell=1,\ldots,k ℓ = 1 , … , k . Since u u u is uniformly continuous, there is θ > 0 \theta>0 θ > 0 such that ∣ u ( s ) − u ( t ) ∣ < β − α |u(s)-u(t)|<\beta-\alpha ∣ u ( s ) − u ( t ) ∣ < β − α whenever max i ∣ s i − t i ∣ < θ \max_i|s_i-t_i|<\theta max i ∣ s i − t i ∣ < θ . For each j j j choose q ( j ) ∈ [ 0 , 1 ] A q^{(j)}\in[0,1]^A q ( j ) ∈ [ 0 , 1 ] A with H j ( q ( j ) ) ≥ β H_j(q^{(j)})\ge\beta H j ( q ( j ) ) ≥ β . The set A A A is countable and the cube is compact and metrizable, so a diagonal argument provides a subsequence, still indexed by j j j , along which μ j , i → μ i \mu_{j,i}\to\mu_i μ j , i → μ i pointwise on A A A for each i ≤ n i\le n i ≤ n and q ( j ) → q ∞ q^{(j)}\to q^\infty q ( j ) → q ∞ in [ 0 , 1 ] A [0,1]^A [ 0 , 1 ] A . By Fatou’s lemma, each limit μ i \mu_i μ i has total mass at most 1 1 1 . Put η = θ / 5 \eta=\theta/5 η = θ /5 and choose a finite set F ⊆ A F\subseteq A F ⊆ A with μ i ( A ∖ F ) < η \mu_i(A\setminus F)<\eta μ i ( A ∖ F ) < η for all i ≤ n i\le n i ≤ n .
Put F 0 = F F_0=F F 0 = F , and choose inductively indices j 1 < ⋯ < j k j_1<\cdots<j_k j 1 < ⋯ < j k and finite sets F 0 ⊆ F 1 ⊆ ⋯ ⊆ F k F_0\subseteq F_1\subseteq\cdots\subseteq F_k F 0 ⊆ F 1 ⊆ ⋯ ⊆ F k such that, for all i ≤ n i\le n i ≤ n ,
∑ a ∈ F ℓ − 1 ∣ μ j ℓ , i ( a ) − μ i ( a ) ∣ < η , ∑ a ∈ F ∣ q a ( j ℓ ) − q a ∞ ∣ < η , μ j ℓ , i ( A ∖ F ℓ ) < η . \sum_{a\in F_{\ell-1}}\left|\mu_{j_\ell,i}(a)-\mu_i(a)\right|<\eta,\qquad
\sum_{a\in F}\left|q_a^{(j_\ell)}-q_a^\infty\right|<\eta,\qquad
\mu_{j_\ell,i}(A\setminus F_\ell)<\eta. a ∈ F ℓ − 1 ∑ ∣ μ j ℓ , i ( a ) − μ i ( a ) ∣ < η , a ∈ F ∑ q a ( j ℓ ) − q a ∞ < η , μ j ℓ , i ( A ∖ F ℓ ) < η .
The first two conditions hold for all large indices, by convergence on the finite sets F ℓ − 1 F_{\ell-1} F ℓ − 1 and F F F , and the third for a large enough finite set F ℓ F_\ell F ℓ . Define q ∈ [ 0 , 1 ] A q\in[0,1]^A q ∈ [ 0 , 1 ] A by q a = q a ∞ q_a=q_a^\infty q a = q a ∞ for a ∈ F a\in F a ∈ F , q a = q a ( j ℓ ) q_a=q_a^{(j_\ell)} q a = q a ( j ℓ ) for a ∈ F ℓ ∖ F ℓ − 1 a\in F_\ell\setminus F_{\ell-1} a ∈ F ℓ ∖ F ℓ − 1 and ℓ ≤ k \ell\le k ℓ ≤ k , and q a = 0 q_a=0 q a = 0 for a ∉ F k a\notin F_k a ∈ / F k .
Let ℓ ≤ k \ell\le k ℓ ≤ k and i ≤ n i\le n i ≤ n be given. We compare ⟨ μ j ℓ , i , q ⟩ \langle\mu_{j_\ell,i},q\rangle ⟨ μ j ℓ , i , q ⟩ with ⟨ μ j ℓ , i , q ( j ℓ ) ⟩ \langle\mu_{j_\ell,i},q^{(j_\ell)}\rangle ⟨ μ j ℓ , i , q ( j ℓ ) ⟩ , on the same four pieces of A A A as in the proof of Theorem 8.1 ; on each piece the two vectors differ by at most 1 1 1 in each coordinate. On F ℓ ∖ F ℓ − 1 F_\ell\setminus F_{\ell-1} F ℓ ∖ F ℓ − 1 they agree. On F F F the difference is at most ∑ a ∈ F ∣ q a ∞ − q a ( j ℓ ) ∣ < η \sum_{a\in F}|q_a^\infty-q_a^{(j_\ell)}|<\eta ∑ a ∈ F ∣ q a ∞ − q a ( j ℓ ) ∣ < η , since μ j ℓ , i ( a ) ≤ 1 \mu_{j_\ell,i}(a)\le1 μ j ℓ , i ( a ) ≤ 1 . On F ℓ − 1 ∖ F F_{\ell-1}\setminus F F ℓ − 1 ∖ F it is at most μ j ℓ , i ( F ℓ − 1 ∖ F ) ≤ ∑ a ∈ F ℓ − 1 ∣ μ j ℓ , i ( a ) − μ i ( a ) ∣ + μ i ( A ∖ F ) < 2 η \mu_{j_\ell,i}(F_{\ell-1}\setminus F)\le\sum_{a\in F_{\ell-1}}|\mu_{j_\ell,i}(a)-\mu_i(a)|+\mu_i(A\setminus F)<2\eta μ j ℓ , i ( F ℓ − 1 ∖ F ) ≤ ∑ a ∈ F ℓ − 1 ∣ μ j ℓ , i ( a ) − μ i ( a ) ∣ + μ i ( A ∖ F ) < 2 η . On A ∖ F ℓ A\setminus F_\ell A ∖ F ℓ it is at most μ j ℓ , i ( A ∖ F ℓ ) < η \mu_{j_\ell,i}(A\setminus F_\ell)<\eta μ j ℓ , i ( A ∖ F ℓ ) < η . Hence ∣ ⟨ μ j ℓ , i , q ⟩ − ⟨ μ j ℓ , i , q ( j ℓ ) ⟩ ∣ < 4 η < θ |\langle\mu_{j_\ell,i},q\rangle-\langle\mu_{j_\ell,i},q^{(j_\ell)}\rangle|<4\eta<\theta ∣ ⟨ μ j ℓ , i , q ⟩ − ⟨ μ j ℓ , i , q ( j ℓ ) ⟩ ∣ < 4 η < θ for every i ≤ n i\le n i ≤ n , and the choice of θ \theta θ gives H j ℓ ( q ) > H j ℓ ( q ( j ℓ ) ) − ( β − α ) ≥ α H_{j_\ell}(q)>H_{j_\ell}(q^{(j_\ell)})-(\beta-\alpha)\ge\alpha H j ℓ ( q ) > H j ℓ ( q ( j ℓ ) ) − ( β − α ) ≥ α . □ \square □
For affine combinations, the proof of Theorem 8.1 yields slightly more: there the common witness can be taken pure. For an arbitrary connective u u u the witness is the product probe whose vector of marginals is the point q q q constructed in the proof of Theorem 8.3 , and it cannot always be taken pure: for n = 1 n=1 n = 1 , μ = δ a \mu=\delta_a μ = δ a with a ∈ A a\in A a ∈ A , and u ( t ) = 1 − ∣ 2 t − 1 ∣ u(t)=1-|2t-1| u ( t ) = 1 − ∣2 t − 1∣ , the instance vanishes at every pure probe and equals 1 1 1 at the probes ν \nu ν with π a ( ν ) = 1 / 2 \pi_a(\nu)=1/2 π a ( ν ) = 1/2 .
The difference between the two paradigms lies entirely in the probe space: on the Cantor cube { 0 , 1 } Γ \{0,1\}^{\Gamma} { 0 , 1 } Γ , the space of pure probes of the Rado observable, affine combinations of coordinates see only marginals, and conditions on marginals of disjoint blocks are compatible. On the group V ∗ V^{*} V ∗ of idealized errors of the Pauli observable, the linear relations among the labels make every product of coordinates affine in the coordinates, and they put the indicators of syndrome sectors in the affine span of the responses (see Proposition 7.1).
Affine logic and correlated preparations
Finally, we place the results in affine logic, in the form developed by Ben Yaacov, Ibarlucía and Tsankov [BYIT24], whose connectives are the affine maps and in which a mixture of structures is a direct integral. Formula values in a direct integral are integrals of formula values, which is the rule by which a response is computed on a mixed preparation. In this logic the type spaces are compact convex sets, and a structure is extremal when it realizes only extreme types, the extreme points of these sets. Ben Yaacov, Ibarlucía and Tsankov [BYIT24] showed that every model of an affine theory is an affine elementary substructure of a direct integral of extremal models. An affine theory is simplicial when its type spaces are Choquet simplices, that is, sets in which every point is the barycenter of exactly one probability measure that is maximal in the Choquet order; when the set is metrizable, the maximal measures are those concentrated on its extreme points. The same authors also showed that every model of a simplicial theory is such a direct integral, uniquely.
Ben Yaacov and Ibarlucía [BYI26] proved that an affine formula stable in almost every member of a measurable field of structures is stable in its direct integral, and that an affine theory is stable exactly when its extremal models are stable. Their definition of stability of a formula in a structure is the double limit condition of the first paper of this series [13 ] : for every two sequences of elements, one in each variable of the formula, the two iterated limits of its values agree whenever both exist. Mixing in the sense of this paper behaves differently with respect to simplicity: the first-order theories of the Pauli group and of the Rado graph are simple, whereas, by Theorem 6.1 , the real-valued theories of their observables have the tree property of the second kind.
The direct integral allows the elements in the two variables of a formula to depend on the same random parameter. For observables this means that Alice and Bob share randomness: they prepare a separable state, a mixture of product states, rather than a single product state. Keisler’s randomizations [20 BY13] are of this kind: their elements are random elements of a structure, that is, measurable maps from a common probability space into it. The preparations in Theorem 6.1 , by contrast, are product preparations.
Questions
Question 10.1. Which diagonal observables with the independence property have the tree property of the second kind witnessed by actual preparations? For the diagonal observable C φ C_{\varphi} C φ of a function φ : A × B → { 0 , 1 } \varphi:A \times B \to\{0,1\} φ : A × B → { 0 , 1 } on countable sets A A A and B B B , Proposition 7.1, Theorem 7.2 and Theorem 8.1 suggest a criterion in terms of the linear span of its responses in the space C ( K φ ) C(K_{\varphi}) C ( K φ ) of continuous functions on the space K φ K_{\varphi} K φ of idealized labels of Bob: whether it contains, with coefficients of bounded total absolute value, the indicators of the sets of an infinite array of clopen sets whose rows consist of pairwise disjoint sets and in which every choice of one set from each of finitely many rows has nonempty intersection.
Question 10.2. By Remark 7.3 , the proof of Theorem 7.2 adapts to qudits of prime dimension. For continuous variables, that is, for systems such as a particle on a line, whose position and momentum take real values, the commutation phase of a translation by a distance x x x and a momentum kick by ℏ k \hbar k ℏ k , where ℏ \hbar ℏ is the reduced Planck constant and the wavenumber k k k is a real number measured in the inverse of the unit of length, is e i k x e^{ikx} e ik x , whose real part cos k x \cos kx cos k x describes an interference fringe. By the second paper, the fringe observable, which asks whether a photon lands on a bright fringe of an interference pattern of wavenumber 8 n 8^n 8 n , for a label n ∈ N n \in\mathbb{N} n ∈ N of Alice, is not NIP. Where do interference fringes of unbounded wavenumber lie with respect to simplicity?
Question 10.3. In first-order model theory, a simple theory without the independence property is stable. Is an observable stable when its real-valued theory is simple? By Theorem 6.1 , every simple diagonal observable is NIP, so for diagonal observables the question is whether those of the second paper that are NIP but unstable, such as the comparison of photon numbers, which asks whether Bob’s system has more photons than Alice’s, have a tree property once preparations are mixed.
Question 10.4. Does Theorem 6.1 hold for every observable whose responses have the independence property, not only for diagonal ones? The proof uses the values 0 and 1 of pure responses; for general observables they are replaced by two distinct levels, and the averages must be controlled with a gap.
Question 10.5. Is there an analogue of the Kim–Pillay theorem for affine logic, characterizing simple affine theories by an independence relation on extremal types?
Simple theories were introduced by Shelah [26 ] in 1980, together with the tree properties of the first and second kind; the motivating example was the theory of the countable random graph (see [26 , 17 ] ). Kim [Kim98] proved in 1998 that forking is symmetric in simple theories, and Kim and Pillay [23 ] proved the independence theorem and the characterization of simplicity by an independence relation in 1997. Ben Yaacov [4 ] extended the theory in 2003 to compact abstract theories, a framework that contains the continuous logic of metric structures. The Rado graph was described by Ackermann [1 ] in 1937 and by Rado [25 ] in 1964; by a theorem of Erdős and Rényi [15 ] from 1963, it is the almost sure isomorphism type of the random graph on countably many vertices. Fraïssé [Fra54] introduced his limits in 1954, and Witt’s theorem on isometries of forms is in Artin’s Geometric Algebra [2 ] . Vector spaces of countably infinite dimension over finite fields with a nondegenerate alternating form, such as the Pauli group, are among the Cherlin–Hrushovski smoothly approximable structures [9 ] . Granger [19 ] studied vector spaces with a generic bilinear form over an arbitrary field in his thesis of 1999 and showed that, over an infinite field carried as a second sort, the theory is not simple; Chernikov and Ramsey [10 ] proved in 2016 that over an algebraically closed field it is N S O P 1 NSOP_1 N S O P 1 : it lacks the 1 1 1 -strong order property, as every simple theory does. The symplectic description of the Pauli group and of stabilizer codes is due to Gottesman [18 ] and to Calderbank, Rains, Shor and Sloane [11 ] ; the expression of the projector onto the states of a given syndrome as an average over the stabilizer group, behind Proposition 7.1, is standard in Gottesman’s stabilizer formalism. Keisler [20 ] introduced randomizations in 1999; Ben Yaacov and Keisler [BYK09] treated them as metric structures, and Ben Yaacov [BY13] proved in 2013 that the Keisler randomization of a theory with the independence property has T P 2 TP_2 T P 2 . Direct integrals and extremal models in affine logic are due to Ben Yaacov, Ibarlucía and Tsankov [BYIT24], and stability in affine logic to Ben Yaacov and Ibarlucía [BYI26]. The first two papers of this series are [13 , 14 ] .
Declarations
Competing interests. The authors have no competing interests to declare.
Data availability. No data were generated or analyzed in this work.
References
Department of Mathematics, The University of Texas at San Antonio, One UTSA Circle, San Antonio, TX 78249, USA Email address: Eduardo.Duenez@utsa.edu
Department of Mathematics, The University of Texas at San Antonio, One UTSA Circle, San Antonio, TX 78249, USA Email address: jose.iovino@utsa.edu