Operator scaling: theory and applications
Ankit Garg, Leonid Gurvits, Rafael Oliveira, Avi Wigderson
Introduction
This introduction will be unusually long, due to the unusual number of settings in which the problems we study appear, and their interconnections and history.
The main computational problem we will be concerned with in this paper (which we call SINGULAR) is determining whether such a symbolic matrix is invertible or not (over the field of fractions in the given variables). This problem has a dual life, depending on whether the variables commute or don’t commute. In the commutative case this problem has an illustrious history and significance. It was first explicitly stated by Edmonds [Edm67], and shown to have a randomized polynomial time algorithm by Lovasz [Lov79]. The completeness of determinant for arithmetic formulas by Valiant [Val79] means that singularity captures the celebrated Polynomial Identity Testing (PIT) problem, and so in the commutative setting we will refer to it as PIT. The derandomization of the latter probabilistic algorithm for PIT (namely, proving PIT ) became all-important overnight when Kabanets and Impagliazzo [KI04] showed it would imply nontrivial arithmetic or Boolean lower bounds well beyond current reach.
On the other hand, in the non-commutative case even the meaning of this problem SINGULAR is unclear. It took decades to fully define and understand the related notion of a “field of fractions” for non-commutative polynomials, namely the free skew field over which we (attempt to) invert the matrixFor now, the reader may think of the elements of this “free skew field” simply as containing all expressions (formulas) built from the variables and constants using the arithmetic operations of addition, multiplication and division (we define it more formally a bit later). We note that while this is syntactically the same definition one can use for commuting variables, the skew field is vastly more complex, and in particular its elements cannot be described canonically as ratios of polynomials.. But as we will explain below, this non-commutative SINGULAR problem has many intuitive and clean equivalent formulations (some entirely commutative!). It captures a non-commutative version of identity testing for polynomials and rational functions, provides a possible avenue to attack the notorious commutative PIT version, and quite surprisingly, its different formulations arise naturally in diverse areas of mathematics, revealing surprising connections between them. We only note that unlike the commutative PIT, it is not even clear from its definition that the problem SINGULAR is decidable. It requires some of the very nontrivial characterizations above, and other important results in commutative algebra, to prove a deterministic exponential time upper bound on its complexity (see two very different proofs in [CR99, IQS17]), the best known before this work. No better bound was known even allowing randomness.
The main result of this paper is a deterministic polynomial time algorithm for this problem!
is singular (namely not invertible) over 𝔽(
For every integer we have , where the are matrices of commutative variables, Det is still the commutative determinant polynomial, acting here on matrices.
The completely positive quantum operator (or map) associated with is rank-decreasing. Namely, there exist a positive semi-definite matrix such that .Here denotes the conjugate transpose of a complex matrix .
In the rest of this introduction we will try to explain how and why the problem SINGULAR arises in these different contexts, how are they related. We will discuss the algorithm that solves SINGULAR (which already appears in [Gur04]), its complexity analysis (which is the main result of this paper), and how they arise from these (and other!) sources. We will also discuss the extension of this algorithm to non-commutative rank computation, and the implications of these algorithms to the various settings. We also highlight the recurring analogs and connections between the commutative and non-commutative worlds. There are probably many ways to weave this meandering story due to the multiple connections between the topics; we chose one (some accounts of subsets of these connections appear e.g. in [Gur04, HW14, IQS17]). Note that most descriptions will be informal or semi-formal; formal definitions for everything that is actually needed will be given in the technical sections, and for the rest we provide references.
Polynomials, both in commuting and non-commuting variables, can always be uniquely defined by their coefficients. And so, while their computational complexity is of course interesting, it is not part of their description. For rational functions this persists in the commutative setting, as they are simply ratios of polynomials. It is perhaps amusing that in the non-commutative setting, the first definition of the free skew field of rational functions was computational, namely one whose objects are described by their computation via a sequence of arithmetic operations. Both this description, and the subsequent discovery of a syntactic representation play an important role in our story.
Books on history and construction of the skew field include [Coh95, Row80], and a thorough discussion from the computational perspective is given in [HW14]. Here we will be relatively brief, highlighting the key roles played by matrices and symbolic matrices in these constructions of the free skew field.
The rational expressions under the above equivalence relation comprise the (universal) free skew field 𝔽(
This theorem immediately implies a polynomial identity test in probabilistic polynomial time (just like in the commutative case) mentioned in the next subsection - simply plug random matrices of appropriate size for the variables. However, for rational expressions, which is our main interest here, such upper bounds on the sufficient dimension to exclude rational identities are much harder to prove, and what is known is much weaker. The best bounds (and only for some fields) are exponential, which seem to only provide probabilistic exponential time rational identity tests. The last subsection of this introduction shows how these exponential dimension bounds arise and obtained from invariant theory, and how we use them to nonetheless derive a deterministic, polynomial time identity test promised in our main theorem.
A second construction of the free skew field which is somehow more concrete was developed by Cohn. In the notation we have already established of symbolic matrices Cohn proved:
Every element of the free skew field 𝔽(
For this definition not to be self-referential (and other reasons) Cohn proved some of the important characterizations of invertible matrices, including items (2) and (5) in Theorem 1.4. It is clear that (each entry of) the inverse of such a matrix can be given by a rational expression, and the question of whether a matrix is invertible again arises naturally, and it turns out to capture rational identity testing.
2 Word Problems and Identity Tests
Word problems and their complexity are central throughout mathematics, arising whenever mathematical objects in a certain class have several representations. In such cases, a basic problem is whether two such representations describe the same object. Often, indeed, some problems of this form have served as early examples of decidable and undecidable problemsE.g. deciding if two knots diagrams describe the same knot was proved decidable by Haken [Hak61], and deciding if two presentations with generators and relations describe the same group was proved undecidable by Rabin [Rab58].
As is well known, the main reason why PIT is so important in the commutative setting is that it captures the polynomial and rational function identity test for formulas, as proved by Valiant [Val79]. Combining it with the equivalences of Fact 1.2, we have
There is an efficient algorithm which converts every arithmetic formula in commuting variables of size to a symbolic matrix of size , such that is identically zero if and only if PIT (i.e., is singular).
Theorem 1.7 of the previous subsection, showing that in the non-commutative setting as well SINGULAR captures polynomial and rational function identity test, is the analog Valiant’s completeness theorem. It was proved even earlier by Cohn (see also Malcolmson’s version [Mal78]), using similar linear algebraic ideas. Here is a more precise statement which gives the analogy.
There is an efficient algorithm which converts every arithmetic formula in non-commuting variables of size to a symbolic matrix of size , such that the rational expression computed by is identically zero if and only if SINGULAR.
As mentioned, the structure of the free skew field is so complex that unlike the commutative case, even decidability of SINGULAR (and rational identity testing) is far from obvious. The first to prove decidability was Cohn in [Coh73, Coh75]. The first explicit bound on time was given by Cohn and Reutenauer in [CR99], reducing it to a system of commutative polynomial equations using characterization (5) of SINGULAR, proved earlier by Cohn, which puts it in . The best upper bound before this work was singly exponential time, obtained by [IQS17], and of course yields the same bound for rational identity testing.
From our Theorem 1.1 we conclude a deterministic, polynomial identity test for non-commuting rational expressions.
It is important to stress that unlike the commutative case, where symbolic matrix inversion can be simulated by quasi-polynomial sized formulas, in the non-commutative case symbolic matrix inversion is exponentially more powerful than formulas (and so Theorem 1.1 is far more powerful than its corollary above). We state these two results formally below for contrastReplacing formulas by circuits there is no contrast - in both the commutative and non-commutative setting matrix inverse has a polynomial size circuit (with division of course) [HW14]. Note that when saying “computing the inverse” we mean computing any entry in the inverse matrix.
The inverse of a non-commutative symbolic matrix in 𝔽(
Our algorithm of Theorem 1.1 and Corollary 1.10 is a “white-box” identity test (namely one which uses the description of the given matrix or formula), in contrast to a “black-box” algorithm which only has input-output access to the function computed by them. The best-known “black-box” identity test for these formulas, even if randomization is allowed(!), requires exponential time. It is a very interesting question to find a faster black-box algorithm.
When division is not allowed, efficient deterministic identity tests of non-commutative polynomials were known in several models. The strongest is for arithmetic branching programs (ABPs). As this model is easily simulable by matrix inversion (see Theorem 6.5 in [HW14], our algorithm provides an alternative (and very different) proof of the following theorem of Raz and Shpilka [RS05].
There is a deterministic polynomial time white-box identity testing algorithm for non-commutative ABPs.
For certain classes computing only polynomials even efficient black-box algorithms are known, and we mention two below; the first deterministic, for non-commutative ABPs, and the second probabilistic (but for circuits).
There is a deterministic quasi-polynomial time black-box identity testing algorithm for non-commutative ABPs.
There is a probabilistic polynomial time black-box identity testing algorithm for non-commutative circuits.
3 Commutative and Non-commutative Rank of Symbolic Matrices
There are many sources, motivations and results regarding invertibility, and more generally rank, of commutative symbolic matrices, which are much older than the complexity theory interest in it. These mathematical papers, like the ones in the computational complexity literature, regard it as a difficult problem, and attempt to understand a variety of special cases (of a different nature than restrictions of the computational power of the model). Some of the many references to this body of work can be found in the papers [FR04, GM02]. Often, the non-commutative rank (explicitly or implicitly) is used to give upper bound on the commutative rank, and their relationship becomes of interest. We focus on this connection here, and explain how our main result implies a deterministic approximation algorithm to the commutative rank.
The following are equivalent for a matrix of linear forms over commutative variables, .
While the characterization above is simple, the one below is very substantial, mostly developed by Cohn for his construction of the free skew field. The first characterization is due to him [Coh95] and the second is due to Fortin and Reutenauer [FR04] who heavily use Cohn’s techniques.
The following are equivalent for a matrix of linear forms over non-commutative variables, .
over 𝔽(
There is a deterministic algorithm which, given integer matrices with entries of bit-size , computes in time (where ).
We note here that in some formulations of the problem, is represented in affine form, namely where an additional constant matrix is added to (this may be viewed as a non-commutative analog of the rank-completion problem). However, the algorithm above works in this case as well , since remains unchanged if an additional variable was added as well. So, we will stick with the linear formulation.
It is not hard to see from the definitions that for every we have . We have already seen that they can be different in Example 1.3. Taking many copies of that matrix we see that there can be a factor gap between the two: for any there are matrices with and . However, Fortin and Reutenauer [FR04] proved that this gap is never more than a factor of 2.
For every we have .
An immediate corollary of our main result is thus a factor 2 approximation of commutative rank.
We find the question of obtaining a better approximation ratio efficiently a very interesting problem, a different relaxation of the commutative PIT problem that as far as we are aware was not studied till now.
4 Compression Spaces, Optimization and Gurvits’ Algorithm G𝐺G
An important class of spaces of matrices , which is studied in many of the papers mentioned above, is the class of compression spaces (this notation was apparently introduced by Eisenbud and Harris [EH88]). They are defined as those spaces for which is -decomposable. A simpler definition follows the characterization of [FR04] above, namely a space is a compression space iff . The importance of compression spaces and their many origins will be surveyed below.
There is a deterministic polynomial time algorithm, Algorithm , which for every and every matrix given by a set of integer matrices , outputs “singular” or “invertible”, and its output is guaranteed to be correctFor both the commutative and non-commutative definitions. when either or .
In particular, the algorithm always gives the correct answer for compression spaces. Our result on efficient computation of the non-commutative rank implies that for compression spaces we can determine the commutative rank.
Yet another source, elaborated on in [Gur04], is geometric duality theorems, such as the ones for matroid intersection and matroid parity problems. These sometimes give rise to compression spaces, with one prototypical example being spaces where the generating matrices all have rank-1; this follows from the Edmonds-Rado [Edm69, Rad42] duality theorem for matroid intersectionIt is an interesting question whether a compression space naturally arises from matroid parity duality of Lovasz [Lov80, Lov89].. Another, simpler example are spaces generated by upper-triangular matrices. Other examples of compression spaces are given in [Gur04]. Following his paper, we note that our rank algorithm above can solve such optimization problems in the dark, namely when the given subspace has such structured spanning generators, but the generators actually given to the algorithm may be arbitrary. This is quite surprising, and in general cannot work by uncovering the original structured generators from the given ones: an efficient algorithm is not known for the problem of deciding if a given space of matrices is spanned by rank-1 matrices and we believe it is hard. It would be interesting to explore which other optimization problems can be encoded as the rank of a compression space, and whether the fact that it can be computed “in the dark” has any applications.
5 Permanents, Quantum Operators, Origins and Nature of Algorithm G𝐺G
We will describe the algorithm formally in Section 2.2. Here we give an informal description, which makes it easy to explain its origins and nature. We find these aspects particularly interesting. One (which has very few parallels) is that while the problem SINGULAR solved by Algorithm in Theorem 1.1 is purely algebraic, the algorithm itself is purely analytic; it generates from the input a sequence of complex-valued matrices and attempts to discover if it is convergent. Another is that the algorithm arises as a quantum analog of another algorithm with very different motivation that we now discuss.
To give more insight to the working of algorithm , let us describe another algorithm (for a different problem) which inspired it, which we call Algorithm . This matrix scaling algorithm was developed by Sinkhorn [Sin64] for applications in numerical analysis, and has since found many other applications (see survey and references in [LSW98], who used it as a basis for their deterministic algorithm for approximating the permanent of non-negative matrices). Two different analyses of Sinkhorn’s algorithm , one of [LSW98] and the other in the unpublished [GY98] inspire the analysis of Algorithm in [Gur04].
We describe the [LSW98] analysis for Algorithm . We need a few definitions. For a non-negative matrix , let denote the diagonal matrix whose -entry is the inverse of the norm of row (which here is simply the sum of its entries as is non-negative). Similarly is defined for the columnsA “non-triviality” assumption is that no row or column in is all zero..
Algorithm gets as input a non-negative integer matrix . For a fixed polynomial (in the input size) number of iterations it repeats the following two steps
Normalize rows:
Normalize columns:
What does this algorithm do? It is clear that in alternate steps either or , where is the identity matrix. Thus itself alternates being row-stochastic and column-stochastic. The question is whether both converge to together, namely, if this process converts to a doubly stochastic matrix. In [LSW98] it is proved that this happens if and only if , where Per is the permanent polynomial. Moreover, convergence is easy to detect after a few iterations! If we define as a notion of distance between and the doubly stochastic matrices, then the convergence test is simply whether . If it is that small at the end of the algorithm then , otherwise .
The analysis of convergence of Algorithm in [LSW98] is extremely simple, using the permanent itself as a progress measure (or potential function). It has the usual three parts which makes a potential function useful:
The input size provides an exponential lower bound on the starting value of ,
The arithmetic-geometric mean inequality guarantees that it grows by a factor of at every iteration, and
The permanent of any stochastic matrix is upper bounded by 1.
We shall return to this analysis of Algorithm soon.
As it happens, Algorithm is a quantum analog of Algorithm ! In quantum analogs of classical situations two things typically happen, diagonal matrices (which commute) become general matrices (which do not), and the norm is replaced by . This happens here as well, and we do so almost syntactically, referring the reader to [Gur04] for their quantum information theoretic intuition and meaning of all notions we mention.
The input to algorithm is a symbolic matrix , given by the integer matrices . Briefly, is viewed as a completely positive (quantum) operator, or map, on psd matrices, mapping such a (complex valued) matrix to ( is typically a “density matrix” describing a quantum state, namely a psd matrix with unit trace, and the operator will typically preserve trace or at least not increase it). The dual operator acts (as you’d expect) by . The analog “normalizing factors” for , named and are definedAgain using a “non-triviality” assumption these matrices are invertible. by , and . Note that and .
On input Algorithm repeats, for a fixed polynomial (in the input size) number of iterations, the following analogous two steps
Normalize rows:
Normalize columns:
So again, row and column operations are performed alternately, simultaneously on all matrices . It is clear, as above, that after each step either or . It is natural to define the case when both occur as “doubly stochastic”, and wonder under what conditions does this sequence converge, namely both and simultaneously approach , and alternatively the limiting simultaneously fixes the identity matrix . A natural guess would be that it has to do with a “quantum permanent”. Indeed, Gurvits [Gur04] defines such a polynomial (in the entries of the ) , and proves several properties and characterizations (for example, it is always non-negative like the permanent, and moreover specializes to the permanent when the operator is actually a “classical” operator described by a single non-negative matrix ).
One can similarly define in an analogous way to the classical setting a “distance from double stochastic” by , and test (after polynomially many iterations) if . This is precisely what Algorithm does. It is not hard to see that if (with non-commuting variables) is singular, then there is no convergence, the test above fails (and indeed ). However, in contrast to Algorithm , the analysis in [Gur04] falls short of proving that, otherwise we have convergence (and ). It does so only under the strong (commutative) assumption , namely when the symbolic matrix, viewed with commuting variables, is nonsingular. This result was stated above as Theorem 1.22. The 3-step complexity analysis proceeds exactly as in [LSW98] for the classical Algorithm described above, using the quantum permanent as a progress measure. However, if then , and lower bounding the initial quantum permanent from below in part (1) of that analysis fails.
To prove our main theorem, showing that convergence happens if and only if is non-singular over the non-commutative skew field, we use another ingredient from Gurvits’ paper. He proposes another progress measure, called capacity and denoted . Capacity (defined in the next section) is a quantum analog of another classical progress measure, based on KL-divergence, which was used in [GY98] for the analysis of Algorithm . The advantage of capacity, as pointed out in [Gur04], is that it does not necessarily vanish when . Indeed, it is positive whenever is non-singular in the non-commutative sense! However Gurvits could only bound it sufficiently well from below as a function of the input size if . Thus, for a general input , positive capacity only guarantees that Algorithm converges in a finite number of steps, without providing an upper bound on that number.
Our main contribution, which leads to a polynomial upper bound, is proving an explicit capacity lower bound for every that is nonsingular over the skew field. The source of the proof turns out to be commutative algebra and invariant theory, as we discuss next.
6 Invariant Theory, Left-Right Action, Capacity and the Analysis of Algorithm G𝐺G
Invariant theory is a vast field; we will exposit here only the minimal background that is necessary for this paper. The books [CLO07, DK02, KP96] provide expositions on the general theory. More focused discussions towards our applications appear in the appendix of [HW14] and Section 1.2 of [FS13a].
Invariant theory deals with understanding the symmetries of mathematical objects, namely transformations of the underlying space which leave an object unchanged or invariant. Such a set of transformations always form a group (and every group arises this way). One major question in this field is, given a group acting on a space, characterize the objects left invariant under all elements of the group. Here we will only discuss very specific space and actions: polynomials (with commuting variables!) that are left invariant under certain linear transformations of the variables. The invariant polynomials under such action clearly form a ring (called the invariant ring). Important for us is the null-cone of the action, which is simply all assignments to variables which vanish on all non-constant homogeneous invariant polynomials. Namely the null cone is the affine algebraic variety defined by the ideal generated by homogeneous invariant polynomials of positive degree.
Here are two motivating examples surely familiar to the reader. The first example is given by polynomials in variables invariant under the full group of permutations ; here the invariant polynomials are (naturally) all symmetric polynomials. While this is an infinite set, containing polynomials of arbitrarily high degrees, note that this set of polynomials is generated (as an algebra) by the elementary symmetric polynomials, with the largest degree being . This finite generation is no coincidence! A general, important theorem of Hilbert [Hil93] assures us that for “such” linear actions there is always a finite generating set (and hence a finite upper bound on their maximum degree). Obtaining upper bounds on the degree of generating sets, finding descriptions of minimal generating sets for natural actions are the classical goals of this area, and a more modern oneArising in particular in the GCT program of Mulmuley and Sohoni is obtaining succinct descriptions and efficient computation of these invariants (e.g. see [Mul12, FS13a]). The case of the action of the symmetric group is an excellent example of a perfect understanding of the invariant polynomial ring. Note that for this action the null-cone is simply the all-zero vector.
What we consider here is the left-right action on matrices, where a pair as above takes to . The study of the invariant ring of polynomials (in the variables sitting in the entries of these matrices) for this action was achievedWe note that this is part of the larger project of understanding quiver representations, started by the works of Procesi, Razmysolov, and Formanek [Pro76, Raz74, For86]. by [DW00, DZ01, SdB01, ANS10], and will look very familiar from condition (4) in Theorem 1.4, as well as from Amitsur’s definition of the free skew fieldNote though that the roles of which matrices in the tensor product are variable, and which are constant, has switched!
Over algebraically closed fields, the invariant ring of polynomials of the left-right action above is generated by all polynomials of the form , for all and all matrices .
It is worthwhile to stress the connection forged between the commutative and non-commutative worlds by this theorem when combined with Amitsur’s and Cohn’s constructions of the skew field. A set of matrices is in the null-cone of the left-right action if and only if the symbolic matrix is not invertible in the free skew field! In other words, the non-commutative SINGULAR problem (and thus rational identity testing, and the word problem in the skew field) arises completely naturally in commutative algebra. Of course, invertibility itself is invariant under the left-right action (indeed, even by any invertible matrices , not necessarily of determinant 1), so one expects a connection in at least one direction. At any rate, one may hope now that commutative algebraic geometric tools will aid in solving these non-commutative problems, and they do!
The generating set of the invariant ring given in the theorem is still an infinite set, and as mentioned above, Hilbert proved that some finite subset of it is already generating.
The invariant ring of polynomials of the action of a reductive group on a finite dimensional vector space is finitely generated.
This exponential upper bound was the state of art when we wrote our paper. Subsequent to it, this bound was greatly improved to linear!
This much better bound gave rise to further important developments discussed below under “Subsequent Work”, that highlight even more how invariant theory informs algorithmic efficiency in certain problems. We conclude this section describing the idea behind our proof, which uncovers this connection.
We plan to used the exact same 3-step complexity analysis of Algorithm as the one for Algorithm described in subsection 1.5, and which Gurvits [Gur04] used to analyze Algorithm for a special subset of inputs. As mentioned, the only missing ingredient is step (1), namely an explicit lower bound on the capacity of an input operator . Just like in the classical case of Algorithm , an exponential lower bound (in terms of the size of ) is required to establish a polynomial convergence. This is a proper time to finally define this important parameter of positive operatorsWe note that this notion of capacity seems to have nothing to do with the usual capacity of a quantum channel.
Given , recall that and define by
where the infimum is taken over all psd matrices with .
First, observe that capacity is the solution to a non-convex optimization problem (over a convex domain Recall that log determinant is a concave function over the domain of positive definite matrices). We will see in the next section that we can not only bound it, but actually compute it efficiently! Next, observe that capacity is an invariant (though not a polynomial invariant) of the left-right action.What we know is that . From this we infer that some polynomial invariant of the form above, is nonzero, where the are matrices for some .
This expression naturally suggests considering several new positive operators, and relating their capacities. The first, in dimension , is the operator, . Two others, in dimensions are , and . The non-vanishing of the determinant above proves that both and . And it is easy to obtain exponential lower bounds on both quantities, which however depend not only on the description size of (which is given), but also of that of which could be much larger.
To facilitate our original capacity lower bound, which only used , we proved that the normalizedTaking the dimension’s root of capacity capacity is multiplicative, a fact of independent interest (see details in Section 3.3):
Using only the easier direction, namely that the left hand side is at most the right hand side, it suggests that our lower bound on will follow from a lower bound on and an upper bound on . Both of these in turn follow from an upper bound on the entry sizes in , namely in the , which easily follow from the given exponential upper bound on . A key thing to note is that even when is exponential in , and so these size bounds are doubly exponential, it is the ’th root of this bound that gives the required lower bound .
For the new lower bound, presented in Section 2.3, we bound using directly a bound on . Using much more careful size bounds on the entries of , which follow from Alon’s Nullstellensatz theorem, and tightening the reduction between the two capacities, we are able to derive the desired capacity lower bound using any finite bound on !
This new proof eliminates the need for good degree upper bounds for the purpose of analyzing this algorithm (if one does not care about efficiency beyond having a polynomial bound). However good degree upper bounds (that are anyway an important goal in invariant theory) were essential for the original proof, and for general actions were useful for other algorithmic problems which arose in other contexts in computational complexity, for example in geometric complexity theory (GCT). Further, we believe they will be important for studying other problems in algebraic complexity and optimization. Indeed, in a work in progress, we need degree bounds for invariant rings whose generating sets are not understood as well as for the left-right action, but Derksen’s general exponential degree upper bound still holds and is useful.
The capacity lower bound above implies, as mentioned, a polynomial upper bound on the number of iterations of Algorithm , assuming we can perform exact arithmetic! To actually bound the running time the algorithm has to be refined, truncating numbers so that they can be represented by polynomially many bits, and so a careful analysis of the bit complexity is required to actually prove its running time. This issue naturally leads to the next section, in which we discuss how the algorithm can be extended to actually compute capacity of the input operator, as well as provide bounds on its continuity. These results in turn are essential in a follow-up work [GGOW18] we have done on the Brascamp-Lieb inequalities, where capacity arises naturally via a simple reduction to operator scaling.
7 Computation and Continuity of Capacity
We also show that Algorithm G can be modified to compute the capacity of a completely positive operator . Recall that the capacity of an operator is defined to be , where the infimum is taken over all psd matrices with . The following theorem is proven as Theorem 5.3 in Section 5.
There is a time algorithm for computing a -multiplicative approximation to . Here is the dimension on which acts and denotes the bit-sizes involved in description of .
This is quite fascinating since we don’t know of a convex formulation for . The idea for the computation of capacity is quite simple. We know that the capacity of a doubly stochastic operator is exactly . We also know how operator scaling changes the capacity. If is a scaling of i.e.
if is doubly stochastic. Thus if we can find a doubly-stochastic-scaling of , then we can compute exactly. Algorithm G helps in finding an approximately-doubly-stochastic-scaling of , which results in an approximation scheme for computing . It is a very intriguing open problem if a approximation to can be computed in time . In the aforementioned upcoming paper, we use this result (via a black-box reduction!) to approximating optimal constants in Brascamp-Lieb inequalities.
Although, we don’t know of a convex formulation for capacity, it does have some nice properties. Let us look at the Lagrangian for :
A critical point i.e. where the gradient should satisfy . This follows from
and hence any critical point is in fact a global minimum for ! It would be interesting to see if our techniques can help solve other non-convex optimization problems which share the same property.
Algorithm can also be thought of as an alternating minimization algorithm for computing capacity. First let us write capacity in an alternative way.
While the constraints are convex (by log-concavity of determinant), the objective is quadratic. However if, we fix or , this program is convex. In fact, if we fix , the optimum is . Similarly, if we fix , the optimum is . Starting from , if we do alternate minimization, we get exactly Algorithm and our results imply that this process converges in polynomial number of steps!
From the description of capacity, it is not clear if it is continuous. The reason is that a priori, the optimizing matrices could be radically different for and even if and are quite close. We show that this not the case, essentially because (as well as the optimizer) can be approximated by a simple iterative process namely Algorithm ! And Algorithm is clearly continuous in . We prove this formally in Theorem 4.5 of Section 4.3. In the aforementioned upcoming paper, we use this result to prove continuity of Brascamp-Lieb constants.
The continuity of capacity can also be proven via other methods and is already mentioned in [Gur04]. But here we manage to get explicit bounds on the continuity parameter which we don’t know how to get by methods other than analyzing Algorithm .
Subsequent Work
After our work, Derksen and Makam [DM17] obtained polynomial degree bounds for the left-right action over any field! Using this bound, Ivanyos, Qiao and Subrahmanyam [IQS18] designed a completely different deterministic polynomial time algorithm for SINGULAR that works over all fields. This algorithm has a combinatorial/linear algebraic flavor, and has several important advantages over our algorithm, but also some limitations in comparison. One clear advantage is of course that it works over every field. Another is that this algorithm can certify the non-commutative singularity of an input over 𝔽(
Using some of the techniques developed in [IQS17, IQS18], Bläser, Jindal and Pandey [BJP17] designed a deterministic PTAS for the commutative rank i.e. a -approximation algorithm which runs in deterministic time. This improves the factor- approximation algorithm given in this paper.
8 Organization
In Section 2, we describe Algorithm G for testing if quantum operators are rank-decreasing. We explain the notion of capacity of quantum operators, prove an explicit lower bound on the capacity of rank non-decreasing operators, and explain how it is used in the analysis to prove that Algorithm runs in polynomial time. In Section 3, we study various properties of capacity, some of which are used in other places in the paper. In Section 4, we analyze the bit complexity of Algorithm and also prove an explicit bound on the continuity of capacity. In Section 5, we will show how a modification of Algorithm can be used to approximate capacity. In the appendix Section A, we show how to compute the non-commutative rank. We conclude in Section 6 with a short discussion and open problems.
Quantum Operators and Analysis of Algorithm G
This section is devoted to Algorithm and its analysis. We start with preliminaries about completely positive operators, their properties, and basic quantities associated with them. We then formally describe Algorithm , and proceed to give a full analysis of its running time, proving the main theorem of this paper. Section 2.1 contains definitions and properties of completely positive operators and their capacity. Section 2.2 describes the Algorithm and its analysis assuming an explicit lower bound on the capacity. Section 2.3 contains the main theorem concerning the lower bound on capacity of rank non-decreasing operators.
The above is actually not the usual definition of completely positive operators. is defined to be positive if whenever . is completely positive if is positive for all . Choi [Cho75] proved that an operator is completely positive iff it is of the form stated above.
If is a completely positive operator, we define its dual by . If both and are trace preserving, namely then we call (and ) doubly stochastic.
A completely positive operator is said to be rank-decreasing if there exists an s.t. . is said to be -rank-decreasing if there exists an s.t. . We will sometimes refer to operators that are not rank decreasing as rank non-decreasing.
Now that we defined completely positive operators, we define their capacity, which is a very important complexity measure of such operators suggested in [Gur04]. Its evolution will be central to the complexity analysis of our algorithm.
[Gur04] The capacity of a completely positive operator , denoted by , is defined as
This notion of capacity has a very interesting history. Some special cases of capacity were defined in [GS00] and [GS02]. It was then extended to hyperbolic polynomials and this also led to a resolution (and extremely elegant proofs) of the Van der Waerden Conjecture for Mixed Discriminants [Gur06].
The next proposition shows how capacity changes when linear transformations are applied (as in the algorithm) to the completely positive operator.
Let be the operator defined by and let be the operator defined by , where are invertible matrices. Then
The next proposition gives a useful upper bound on the capacity of trace preserving completely positive operators; this will be used for the convergence analysis of the algorithm.
Let be a completely positive operator with Kraus operators (which are complex matrices). Also suppose that either or . Then .
Note that in either case.
The second inequality follows from the AM-GM inequality. ∎
2 Algorithm G𝐺G and its convergence rate
We now describe Algorithm to test if a completely positive operator (given in terms of Kraus operators ) is rank non-decreasing (equivalently properties in Theorem 1.4 one of which is that admit no shrunk subspace). We will then analyze its convergence rate, namely the number of scaling iterations needed as a function of the input size. In section 4, we will continue with the finer analysis of the bit complexity of this algorithm.
Since the property of having a shrunk subspace or not remains invariant if we replace by a basis spanning the subspace spanned by , we can always assume wlog that . Suppose the maximum bit size of the entries of is . Since scaling the matrices doesn’t change the problem, we can assume that have integer entries of magnitude at most .
Algorithm below is essentially Gurvits’ algorithm [Gur04] for Edmonds’ problem for subspaces of matrices having Edmonds-Rado property. It is a non-commutative generalization of the Sinkhorn scaling procedure to scale non-negative matrices to doubly stochastic matrices (see for example [LSW98] and references therein). The algorithm alternates applying a “normalizing” basis change from the left and right to the given matrices, so as to alternately make the operator or its dual trace preserving. The idea is that this process will converge to a doubly stochastic operator iff it is not rank-decreasing, and furthermore, we can bound the number of iterations by . We will use the following to measure of our operator to being doubly stochastic.
Given a completely positive operator , define its right normalization as follows:
Given a completely positive operator , define its left normalization as follows:
Note that . These operations are referred to as row and column operations in [Gur04].
We next prove that if a completely positive operator is doubly stochastic, or close to being one in this measure, then it is rank non-decreasing. This will be important for the termination condition of Algorithm .
If is a completely positive operator which is right or left normalized satisfying , then is rank non-decreasing.
Suppose is a psd matrix s.t. . We would like to prove that . Let
be the eigenvalue decomposition of where ’s are orthonormal and . Then
Let us denote by . Since , we get that . Also note that
This is because ’s are psd matrices and hence a vector is in the kernel of iff it is in the kernel of all the ’s. Because of , we get that
Suppose . We know that . Then
Let denote the projection onto . Adding the above equations for all , we get
which completes the proof since is an integer. ∎
We are now ready to present the algorithm.
In algorithm , the operators are maintained in terms of the Kraus operators and it is easy to see the effect of right and left normalizations on the Kraus operators. In fact, they are named such since for a right (left) normalization, the Kraus operators multiplied on the right (left) by .
The main objective is to analyze the minimum number of steps for which this algorithm terminates with the correct answer. The following theorem of [Gur04] gives the time analysis of the algorithm assuming an initial lower bound on the capacity of the input completely positive operator. In the next subsection we will prove our main result, an appropriate lower bound, which shows that the algorithm terminates with the correct answer in polynomial time.
Let be a completely positive operator that is rank non-decreasing, with Kraus operators , which are integer matrices such that each entry of has absolute value at most . Suppose is the right normalization of . If , then Algorithm when applied for at least steps is correct.
For completeness sake, we provide a full proof of this theorem. Again, this analysis follows similar ones for the classical Sinkhorn iterations, e.g. as in [LSW98, GY98]. Basically, capacity increases by a factor roughly per iteration as long as it is not too close to 1.
If either or is singular, then is rank-decreasing. When is singular, decreases the rank of . When is singular, any vector in the kernel of lies in the kernels of all the ’s. If and are both non-singular, it is easy to verify that and will remain non-singular for all and hence step 2 is well defined. Also using Theorem 2.12 and the fact that right and left normalizations don’t change the property of being rank decreasing, Algorithm will always output rank decreasing if is rank-decreasing.
So what is left to prove is if is rank non-decreasing, then . Assume to the contrary that it is not. Denote by to be the capacity of the operator . By Lemma 5.2 below (which essentially is a robust version of the AM-GM inequality), if , then .
From the assumption of the theorem, we know that . Also it is easy to see that for all (Proposition 2.8). However by the assumption that and the increase in capacity per iteration seen above, we get that
Plugging in gives us the required contradiction.
In the main Theorem 2.20 below we will prove that the quantity used in the statement of Theorem 2.14 is , which will prove that the number of iterations needed in Algorithm is . But this alone doesn’t guarantee that the algorithm is actually polynomial time, since the bit sizes of numbers involved might get exponential. As it happens, simple truncation suffices to overcome this problem, as shown in [Gur04], and we reproduce this analysis in Subsection 4.2 for completeness.
3 Main Theorem: The Lower Bound on Capacity
In this subsection we prove our main theorem, a lower bound on capacity of an operator in terms of its description size, in Theorem 2.20. Before diving into the proof we provide a high level plan. We will first prove that if a completely positive operator with integer entries is rank non-decreasing (that is has positive capacity), then the capacity is actually non-negligible. Our starting point (Theorem 1.4) is the statement of the equivalence between the rank non-decreasing property and an algebraic condition (non-vanishing of a certain determinant). Using Alon’s Combinatorial Nullstellensatz, we can ensure small coefficients in the algebraic condition above. We then state and prove (Lemma 2.17) a Cauchy-Schwartz inequality for matrices needed next. The main result (Theorem 2.18 ) proceeds by applying an appropriate scaling to the original integral operator, which reduces it to one that preserves the identity matrix. The latter property (which provides a trace bound), the integrality of the original operator (which provides an integral determinantal lower bound) and the multiplicativity of capacity under scaling combine (via the above inequality) to give the desired bound. We now proceed with the details of this plan.
We will need the fact that (nonzero) polynomials of degree cannot vanish on all points with non-negative integer coordinates with sum . This follows from Alon’s combinatorial nullstellensatz [Alo99, Theorem 1.2].
As a corollary of Theorem 1.4 and of Lemma 2.15, we get the following:
Furthermore, can be chosen to be matrices with non-negative integer entries s.t.
This is because the total degree of is and the individual degree of each variable in is at most . This implies the desired upper bound. ∎
We will also need the following Cauchy-Schwarz like inequality:
Let and be and dimensional complex matrices, respectively. Then
The first inequality is just . The second equality follows from linearity of trace, and . Rearranging the above, we get the following inequality:
Summing Equation (1) over pairs with , we obtain the following:
Adding to both sides completes the proof (due to linearity of trace). ∎
Now we are ready to prove our main theorem for operators with integral Kraus operators.
Since is rank non-decreasing, by Corollary 2.16, there exist non-negative integer matrices of some dimension s.t. and also
Since are also integer matrices, is a non-zero integer and hence
Let be such that . Consider the matrices . This is a scaling intended so that the operator defined by the matrices preserves identity i.e. satisfies
Let denote the matrix . Then
The equality follows from multiplicativity of determinant and the fact that . The inequality follows from and Equation (3). Hence we obtain
On the other hand, by the AM-GM inequality
The first inequality follows from Lemma 2.17. The second equality follows from Equation (4). The second inequality follows from Equation (2). Combining equations (7), (8) and (9), we obtain:
Since was an arbitrary matrix s.t. and , we obtain the desired lower bound on . ∎
A slightly stronger bound can be obtained by using quantum permanents [Gur04] in the case when the ’s are of constant dimension.
Theorem 2.18 immediately implies the following capacity lower bound that we need.
Suppose is a cptp map which is rank non-decreasing and is obtained by right normalization of an operator with Kraus operators , which are integer matrices such that each entry of has absolute value at most . Then .
Let be the operator defined by . Since is the right normalization of , by Proposition 2.7, we get that
Note that is a psd matrix. Also
This implies (via the AM-GM inequality) that
Combining Equations (10) and (11), and Theorem 2.18 gives the desired bound. ∎
Properties of Capacity
In this section, we prove some interesting properties of capacity. In subsection 3.1, we prove that the capacity of operators which are close to doubly stochastic is close to . This is used in the proof of Theorem 3.11. In subsection 3.2, we characterize the almost optimal points of capacity in terms of approximate fixed points of an operator. This will be used later in section 4 in the proof of continuity of capacity (theorem 4.5). In 3.3, we prove a multiplicativity property of capacity under tensor products of operators. This property was used in the lower bound on capacity in the previous version of this paper. While it is no longer needed for this purpose now, it is an interesting and intriguing fact by itself, so we include a proof.
The following definition of capacity for non-negative matrices is due to [GY98]. They used it to analyze Sinkhorn’s algorithm for matrix scaling.
Given a non-negative matrix , its capacity is defined as follows:
The next lemma states that the capacity of almost doubly stochastic matrices is close to .
Let be a non-negative matrix s.t. the row sums of are and
where are the column sums of . Then
For the inequality, we used concavity of log and the fact that row sums of are . For the third equality, we used that the column sums of are .
Now we need to move on to which is almost doubly stochastic. A direct argument like for the doubly stochastic case does not work. We need to first prove the following claim ([LSW98]):
There exists a decomposition of , where is doubly stochastic, is non-negative and .
Given the claim, it is easy to complete the proof of the lemma.
So we end with a proof of the claim from [LSW98]. We will first prove that there is a decomposition where is multiple of a doubly stochastic matrix and . Initially, we start with and . As long as , there is an and a permutation matrix s.t. is nonnegative and the number of non-zero entries in is strictly less than that of . Replace by and by . Note that is also a multiple of a doubly stochastic matrix. After at most iterations, we will find a decomposition , where (and is doubly stochastic). We will now prove that . If , then we are already done, so assume . In this case, consider the matrix . Row sums of are and the column sum . Then
Since and row sums are , it follows that (see Lemma 5.2 in [LSW98])
which implies ∎
The next lemma says that capacity of almost doubly stochastic operators is close to . The proof will proceed by reducing the operator case to the non-negative matrix case established above.
Let be a positive operator acting on matrices such that and (equivalently is trace-preserving). Then .
The proof can be adapted to obtain a similar statement when both .
Let be a positive definite matrix s.t. . Let
be an eigenvalue decomposition of with forming a orthonormal basis. Then
Let us denote by . Then since is trace preserving, we have that for all . Also let
be an eigenvalue decomposition for with forming a orthonormal basis. It follows that for all ,
Let denote the non-negative matrix s.t. . Then . Also the column sums of are all since for all . We will also prove that
where denote the column sums of . Then the lemma follows from Lemma 3.2 (applied with row sums switched with column sums) and the facts that and . Now note that
The first inequality can be proved via convexity of square. ∎
We also prove an easy lemma for the other direction: operators with capacity almost are almost doubly stochastic.
Let be a positive operator acting on matrices s.t. , and also . Then .
implies that . Also . Suppose . Then Lemma 5.1 below implies that
This implies that . ∎
Note that the parameters in Lemmas 3.4 and 3.6 don’t match and that is because capacity and the distance to doubly stochasticity don’t characterize each other exactly.
2 Characterization of approximate optimizers for capacity
Let be a completely positive operator. Define to be the set of hermitian positive-definite matrices which are -approximate fixed point of the operator i.e. if the following holds:
The following lemma essentially says that the elements of are approximate minimizers for .
Suppose . If , then is rank non-decreasing. Furthermore,
Here is the size of matrices on which acts. Similar statement also holds for the operator .
We will use a to find a scaling of which is almost doubly stochastic and then apply Theorem 2.12 (saying that almost doubly stochastic operators are rank non-decreasing) and Lemma 3.4 (giving a lower bound on capacity of almost doubly stochastic operators).
When , by Theorem 2.12, is rank non-decreasing and hence is rank non-decreasing. Also by Lemma 3.4,
The upper bound on is clear from the definition of capacity. ∎
Next we prove the other direction but again, not with matching parameters.
where . Then .
As in the proof of Lemma 3.9, define the operator
This implies that because of the way operator is set up. ∎
3 Multiplicativity of capacity
In this subsection, we prove a curious multiplicativity property of capacity of completely positive operators. This is not required for the lower bound on capacity presented in this version but the easy direction of this theorem was required in the lower bound on capacity in the previous version.
Let and be completely positive operators where acts on matrices of dimension and acts on matrices of dimension . Then
We first prove the easy direction of the above theorem. If and are the minimizers for and , then looking at how much shrinks the determinant of will give us the required statement. The infimum for and might not be achieved but that is fine.
Let and be completely positive operators where acts on matrices of dimension and acts on matrices of dimension . Then
Suppose , be and dimensional matrices respectively s.t. and . Then and as well. Also
This proves that (by taking and to be sequences of matrices which approach and respectively). Taking powers on both sides completes the proof of the easy direction.
We are now ready to prove Theorem 3.11. The main ingredient is the duality between capacity being and the existence of a scaling to almost doubly stochastic position.
More formally, and . Now consider the operator . Note that and . Hence and . This can be seen from the following chain of inequalities (and equalities):
The first inequality follows from the following Cauchy-Schwarz inequality for psd matrices:
The second inequality follows from , which follows from the fact that and that , as well as . Note that the operator is explicitly given as follows:
By Lemma 3.4, we have that and hence
Combining the fact that and along with Proposition 2.8, we get that . Also by Proposition 2.7,we have that
Combining equations (12), (13) and (14), we get that
Since can be taken to be arbitrarily close to , this completes the proof. ∎
Bit Complexity Analysis of Algorithm G𝐺G and Continuity of Capacity
In this section, we will provide the bit complexity analysis of Algorithm and also provide explicit bounds on the continuity of capacity by a sensitivity analysis of Algorithm . We start by analyzing a natural iterative sequence associated with an operator that will be very useful, both, in the bit complexity and continuity analysis. Section 4.1 will describe how the operators in Algorithm evolve with respect this iterative sequence. Section 4.2 provides the bit complexity analysis of Algorithm and Section 4.3 provides explicit bounds for continuity of capacity.
Consider the sequence of matrices given by ( is of size ), and
The next proposition studies the stability properties of this sequence of matrices.
For a real symmetric positive definite matrix , let denote its smallest eigenvalue and its largest.
Suppose is an real symmetric positive definite matrix with integer entries s.t. the magnitude of any entry of is at most . Then and .
Define . Let be a completely positive operator whose Kraus operators are integer matrices and each entry of is of magnitude at most . Also assume that are both non-singular. Then
Let be as before. Let be a real symmetric matrix. Then . Also if X is real symmetric positive definite, then and . Similarly , and .
are real symmetric positive definite matrices for all . Also and for all .
For all , .
The last inequality follows from Cauchy-Schwarz. Now since is positive definite and the determinant is an integer, . Then
from which it follows that .
Follows from previous point by noting that each entry of is an integer of magnitude at most and are both symmetric matrices.
Suppose is a real symmetric matrix satisfying . Then
since is completely positive and hence it maps psd matrices to psd matrices. Thus we get
Similarly one can prove that which would imply . Other statements can be proven in a similar manner.
We will prove this via induction on . It is true for by point 2 in the proposition. Suppose the statement holds for . Then or . It does not really matter which case it is for the purpose of this proof. Lets assume the former. Then
The first inequality is by point 3 in the proposition. The second inequality is by induction hypothesis. Similarly we can also prove that , which would complete the induction step.
Here and are the standard basis vectors.
Define another sequence of matrices defined by and
where ’s are small perturbations. We now study the closeness of the sequences and .
If for all , then and , for all . Here .
We will prove this using induction on . It is true for since . Assume that and . Then or . Suppose it is . The other case is similar.
Note that there is a lot of slack in this part, but it does not matter for our purposes. ∎
The following holds for every integer : suppose for all , where . Then
for all . Here .
For the fourth inequality we used Proposition 4.1 and Lemma 4.2. Note that value of is small enough so that conditions of Lemma 4.2 are satisfied. ∎
In this subsection we compute succinct expressions for the operators which appear in Algorithm , together with expressions for their capacity and distance to doubly stochastic. These expressions will involve the matrices defined in the previous subsection. These operators are the intermediary operators in the scaling procedure, and the succinct expressions will be important for us when approximating capacity, or proving the stability of the capacity of a quantum operator.
Starting from a completely positive operator which satisfies , denote the sequence of operators obtained after right and left normalizations by i.e. is the operator obtained after iterations of right and left normalizations (as in Algorithm ). Note that
For each , is an operator scaling of . So
for some non-singular matrices and . Let us denote by and by . It turns out and are the matrices that really matter for the purpose of analyzing Algorithm and we will see next how these evolve.
When is odd, . Note that
So the condition gives us that . Also note that when is odd, . When is even, we have, , which implies and also holds. This can be summarized as follows:
along with and . Thus we can see that
with the convention . For Algorithm , what matters is
we get (because similar matrices have the same trace) that
For the computation of capacity, the determinants that matter are
By the discussion above and the fact that similar matrices have the same determinants, we get that
with the convention . Thus we get
2 Bit Complexity Analysis of Algorithm G𝐺G
We are now ready to analyze the bit complexity of Algorithm . We will prove that if one runs Algorithm while truncating the numbers to an appropriate polynomial number of bits there is essentially no change in the convergence and required number of iterations. We will call the algorithm working with truncated inputs Algorithm .
Given a matrix , let be the matrix obtained by truncating the entries of A up to bits after the decimal point. is a polynomial which we will specify later. Note that . We now describe Algorithm , which is the variant of Algorithm with truncation.
The parameter will be chosen as before: . We now show that throughout the iterations, distances to double stochasticity is essentially the same for the original and truncated algorithms and .
Here as defined in Algorithm . Also note that by equations (19a) and (19b),
Hence by Theorem 2.12, is rank non-decreasing. Now assume, for the reverse direction, that is rank non-decreasing. Then by the analysis in Section 2.2, . Hence by Lemma 4.4
This proves the correctness of Algorithm .
where the last inequality follows from Proposition 4.1. Also
where the last inequality follows from Lemma 4.2 and the fact that will be chosen to be a large enough polynomial so that the perturbations in the lemma satisfy the condition . Now
In the first equality, we used the fact that . In the second inequality, we used the fact that the maximum magnitude of any entry in is bounded by and that is upper bounded by . The third inequality is just Cauchy-Schwarz and the fourth is the fact that Frobenius norm of a matrix is upper bounded by . Let us try to upper bound now.
The second last inequality follows by application of Proposition 4.1 and Lemmas 4.2 and 4.3. Also here is at most since .
Now (since ). Hence
We proved in Theorem 2.20 that is , so is also a polynomial in and . ∎
3 Continuity of Capacity
In this section, we prove the continuity of capacity. We prove the following theorem:
Suppose and are two tuples of matrices such that the bit-complexity of elements of ’s is and for all . Let be the operator defined by and be the operator defined by . Then there exists a polynomial s.t. if , then implies . Furthermore,
The fact that capacity is continuous is already mentioned in [Gur04] and can be proved by other methods. But here we provide explicit bounds on the continuity parameters. Recall that (defined in subsection 3.2) is the set of hermitian positive-definite matrices which are -approximate fixed points of the operator i.e. satisfy the following condition:
The main insight is that by the analysis of Algorithm , since , there exists a with low spectral norm. Since is close to , for close to and then the proof is finished by applying Lemma 3.9.
(Of Theorem 4.5) The proof of Theorem 2.14 can be modified to prove the following: there exists a polynomial s.t. for all , if we run iterations of Algorithm starting from satisfying , then for some , . Essentially, at each step capacity increases by roughly if , capacity is lower bounded by initially and upper bounded by always. By equations (19a) and (19b), we know that
where is the sequence of matrices given by , and
Suppose be such that . Wlog assume that is odd. Then . implies that is an -approximate fixed point of the operator . Hence by Lemma 3.9,
We will prove now that is also an -approximate fixed point of the operator for an appropriate choice of . Let us denote by . By an application of Proposition 4.1, it follows that the lowest and highest eigenvalues of , and satisfy
where is another polynomial s.t. . Let be an arbitrary matrix. Then
The first two inequalities are just the triangle inequality. The third inequality follows from submultiplicativity of the spectral norm. The fourth inequality follows from the fact that
We will now upper bound :
Equation (22) along with Proposition 4.1 implies that the lowest and highest eigenvalues of satisfy the following:
Now applying equation (23) with along with equation (26) gives us the following:
Now we will upper bound .
The last inequality follows from equations (26) and (24). Note that we need for a sufficiently large polynomial here to upper bound via equations (26) and (24). Now applying equation (23) with along with equation (28) gives us that
We are left to upper bound . This follows from Proposition 4.1 and equation (28).
Combining equations (25), (27), (29) and (30), we get the following
Let us denote the matrix and . determines whether is an approximate-fixed point of and determines whether is an approximate-fixed point of .
The second inequality follows from equations (22) and (31). We also have the following elementary inequality:
The above inequality implies that is an -approximate fixed point of for
We can now choose . Then as long as , then is a -approximate fixed point of the operator and by Lemma 3.9, is rank non-decreasing and hence . This proves first part of the theorem. For the second part of the theorem, since is an -approximate fixed point of for
by equation (23) and Proposition 4.1. Hence
Now, combining equations (21) and (21), we get that
Combining this with equation (35) gives us
Now choose . This ensures that and elementary calculations can then finish the proof of the theorem. ∎
Computing the Capacity of a Quantum Operator
In this section, we show how algorithm can be used to compute an approximation to the capacity of any quantum operator. For simplicity of exposition, we will present in this section an analysis of convergence of algorithm without truncation. Afterwards, in subsection 5.1, we show how to adapt the analysis of algorithm to handle the truncation. This corresponds to the analysis of algorithm in the previous section.
We begin with the following lemma, which is an adaptation of Lemma 3.10 from [LSW98].
Let be positive real numbers such that and . Then
Where in the last inequalities we used the fact that and .
Consider the function . We will prove that is a decreasing function of when . In that case
where the last inequality follows from Case 1. Now let us prove that is decreasing.
As a corollary of Lemma 5.1, we obtain the following quantitative progress measure towards computing capacity:
Let be a right (left) normalized quantum operator such that . Additionally, let be the left (right) normalization of operator . Then,
Suppose is right normalized and is the left normalization of . Proposition 2.7 tells us that
Let be the eigenvalues of . As and , the conditions of Lemma 5.1 apply and we have
This implies the desired lower bounds on . Since the case where is left normalized is analogous, we omit the argument. ∎
We now state a slight modification of Algorithm G, with a view towards computing the capacity of a quantum operator.
Let be a completely positive operator, whose Kraus operators are given by integer matrices , such that each entry of has absolute value at most . Algorithm when applied for steps approximates within a multiplicative factor of .
If either or is singular, then decreases the rank of . When is singular, rank decreasing follows by definition. When is singular, one way to see it is that for all . Since , we get that and hence is singular. Therefore, the algorithm is correct on step 1, by outputting .
If and are both non-singular, it is easy to verify that and will remain non-singular for all and hence step 3 is well defined.
In this case, since right and left normalizations don’t change the property of being rank decreasing, we have for all . Hence, Lemma 3.4 implies that for all . In this case, step 3 of Algorithm G will correctly output .
In this case, we will show that there must exist such that . Assume the contrary, for the sake of contradiction. By Theorem 2.20, we know that . Also Proposition 2.8 implies that for all . However by the assumption that , Lemma 5.2 implies that for all . Hence, we obtain:
Plugging in gives us the required contradiction.
Now that we showed the existence of such that , we will show that step 4 indeed computes a good approximation to capacity. For the first such that , Lemma 3.4 implies that . Since , we have
As , we obtain the correct approximation. ∎
In this subsection, we analyze the computation of capacity when we truncate the input matrices. This analysis will be similar to the one in Section 4.2. We begin with some intuition on why truncation works.
Notice that to approximate the capacity, all we need is to compute the determinants of the matrices in Algorithm 2. The ’s are the truncations of the matrices from equation (15), the latter matrices being important as they describe the scaled operator in terms of the original operator , see equations (16, 17, 18). The reason why truncating the input works is because the eigenvalues of are very similar to the eigenvalues of . Therefore, we can show that . This will imply that the truncated capacity is a good approximation to the actual capacity. The analysis will rely mainly on Lemma 4.3, which gives a good bound on the spectral norm of . Now we state the truncated algorithm.
Given a matrix , let be the matrix obtained by truncating the entries of up to bits after the decimal point.
We now proceed to the analysis of Algorithm 4. In Theorem 5.3, we proved the correctness of Algorithm G without truncation. Thus, to prove correctness of Algorithm 4, it is enough to prove two statements:
if , then the operators will satisfy the bounds
.
The first item implies that steps 1 to 3 of the algorithm above are correct, and the second item will tell us that step 4 indeed computes an approximation to capacity. More formally, we have the following theorem.
By applying Lemma 4.4 with parameters and as above, we get that
Therefore, steps 1 to 3 of Algorithm 4 work just as if we had not done any truncation (as in Algorithm 3). This implies that we will always output whenever the operator is rank decreasing.
We are now left with the computation of capacity when is rank non-decreasing, which is done in step 4. By applying Lemma 4.3 with parameter , we get
Let be the eigenvalues of and be the eigenvalues of . From and Lemma 4.2, we have
Similarly, we have that .
As implies that , by Lemma 3.4 we have . Thus, equation (4.1) yields
The inequalities above imply that , that is, the output of Algorithm 4, lies in the interval . ∎
Conclusion and Open Problems
In this paper we gave a polynomial time algorithm for computing the non-commutative rank of a symbolic matrix over any subfield of the complex numbers. We stated its different incarnations and implications to the many different areas in which this problem arises (indeed we feel that expositing these many connections, some essential to the present result, may yield better future interaction between them with possible more benefits). We note that our algorithm and the analysis bypasses the need to use any degree bounds at all. We further note again that despite the purely algebraic nature of the problem our algorithm is purely analytic, generating a sequence of complex matrices and testing its convergence.
We collect now the most obvious directions for future research, some of them already mentioned in the paper.
Find more applications of this algorithm to optimization problems.
Can we use these techniques to design an efficient deterministic algorithm for the orbit-closure intersection problem for the Left-Right action? In terms of invariants, this is equivalent to asking if two tuples of matrices can be separated by invariants of the Left-Right action (over algebraically closed fields of characteristic ). More formally given two tuples of matrices, and , check whether for all of arbitrary dimension,
The results of [DM17] give a randomized polynomial time algorithm for this problem (over algebraically closed fields of characteristic ): just plug in random of polynomial dimension.
Find a black-box algorithm for SINGULAR. That is, efficiently produce (deterministically) a polynomial size set of tuples of polynomial dimension matrices s.t. for all s.t. is non-singular, it holds that for some ,
Due to the recent polynomial dimension bounds of [DM17], it can be proved that a random set works. The challenge is to produce it deterministically. As a special case, this captures deterministic parallel algorithms for the decision version of bipartite perfect matching (when are elementary matrices representing the edges of a bipartite graph). So perhaps, techniques from the recent breakthrough work [FGT16] can be useful.
Explore further the connection between commutative and non-commutative PIT problems. We feel that beyond the many connections between commutative and non-commutative settings that arise here, this different angle of looking at the commutative PIT problem, relating it to its non-commutative cousin, may help in the major quest of finding an efficient deterministic algorithm for it. As mentioned above, this viewpoint has already resulted in a deterministic PTAS for the commutative rank [BJP17].
We design an efficient algorithm for checking if a completely positive operator is rank-decreasing. Can we do the same for positive operators? Algorithm G in fact works for positive operators as well and all that is needed is to prove an effective lower bound on the capacity of a positive operator which is rank non-decreasing (similar to Theorem 2.20). It was already proven in [Gur04] that for a positive operator which is rank non-decreasing.
Design a strongly polynomial time algorithm for operator scaling. Strongly polynomial time algorithms for matrix scaling were given by [LSW98]. Can they be extended to the operator case?
Can we compute approximation to in time ? For computing capacity of non-negative matrices, such algorithms exist. One of the algorithms in [LSW98] has this stronger convergence rate. Also for matrices, capacity can be formulated as a convex program and hence the Ellipsoid algorithm also gives this stronger convergence rate [GY98].
Can we design efficient algorithms for testing the null-cone of general quivers? There is reduction from general quivers to Kronecker-quiver or the left-right action (e.g. see [DM17]) but the reduction is not always efficient. What about the general problem of testing the null-cone of actions of reductive groups?
We would like to thank Harm Derksen, Pavel Hrubes, Louis Rowen and K. V. Subrahmanyam for helpful discussions. We would also like to thank Oded Regev for suggesting us that operator scaling could be used for approximating capacity. Finally, we thank the anonymous reviewers for a comprehensive reading of the paper and pointing several typographical errors and minor bugs.
References
Appendix A Symbolic matrices with polynomial entries and non-commutative rank
In this section, we show how to compute the non-commutative rank of any (not necessarily square) matrix with linear entries over the free skew field ℚ(
In fact, we solve a more general problem. Subsection A.1 starts with a reduction of computing nc-rank of a matrix with polynomial entries (given by formulae), to the problem of computing the nc-rank of a matrix with linear entries, via the so-called “Higman’s trick” (Proposition A.2). We give the simple quantitative analysis of this reduction, which as far as we know does not appear in the literature and may be useful elsewhere. This reduction, with the two above, allow computing the non-commutative rank of any matrix in time polynomial in the description of its entries.
Before stating the full version of the effective Higman trick, we need to define the bit complexity of a formula computing a non-commutative polynomial.
With this definition in hand, we can state and prove Higman’s trick, which first appeared in [Hig40]. In the proposition below, it will be useful to have the following notation to denote the direct sum of two matrices and :
where the zero matrices in the top right and bottom left corners are of appropriate dimensions. Before stating and proving Higman’s trick, let us work through a small example which showcases the essence of the trick.
Suppose we want to know the nc-rank of matrix . The problem here is that this matrix is not linear, and we need to have a linear matrix. How can we convert this matrix into a linear matrix while preserving the rank, or the complement of the rank? To do this, we need to remove the multiplication happening in .
Notice that the complement of its rank does not change after the following transformation:
Since the complement of the rank does not change after we perform elementary row or column operations, we can first add to the second row, and then subtract to the second column, to obtain:
The complement of the rank of this last matrix is the same as the complement of the rank of our original matrix! In particular, if this last matrix is full rank, it implies that our original matrix is also full rank. This is the essence of Higman’s trick. We now proceed to its full version.
Let be the number of multiplication gates in the formula computing entry and
That is, is the total number of multiplication gates used to compute all entries of the matrix .
We prove this proposition by induction on , for matrices of all dimensions. The base case, when , is trivial, as in this case itself has linear entries. Suppose now that the proposition is true for all matrices (regardless of their dimensions) which can be computed by formulas using multiplication gates.
Let be our matrix, which can be computed using multiplications. W.l.o.g., we can assume that . Then, by finding a multiplication gate in the formula for that has no other multiplication gate as an ancestor, we can write in the form , where
Therefore, the number of multiplications needed to compute is given by
Setting and proves the inductive step and completes the proof. Since we only use subformulas of the formulas computing the entries of , the bound on the bit complexity does not change. ∎
A.2 Classical Reduction
Since , there exists an minor of of full rank. Let be such a minor of . W.l.o.g.,Notice that we can make the following assumption just to simplify notation. In actuality, we do not know where the full rank minor is located in . we can assume that is the principal minor of . Hence, we have that
where and are matrices and the others are matrices with the proper dimensions.
Letting and , the equality above becomes:
we obtain that is full, as we wanted. Notice that the second inequality comes from the fact that rank does not increase after restrictions of the new variables. ∎
Notice that we do not know the rank a priori. Therefore, our algorithm will try all possible values of and output the maximum value of for which we find a full matrix.
For each matrix , we can use the effective Higman’s trick to convert into a matrix with linear entries. With this matrix, we can use the truncated Gurvits’ algorithm to check whether the matrix we just obtained is full. Since we have this test, we will be able to output the correct rank. Algorithm 5 is the precise formulation of the procedure just described.
To prove this theorem, it is enough to show that Algorithm 5 is correct and it runs with the desired runtime.
Without loss of generality, we can assume that . Therefore we have that . By Lemma A.3, if , then matrix will be of full rank (and therefore will not have a shrunk subspace, by Theorem 1.4). Since , from the formulas computing the entries of we obtain formulas of size at most computing the entries of . Moreover, the bit complexities of these formulas will still be bounded by , as multiplication by generic matrices do not mix any of the polynomials of .
By Proposition A.2 and the fact that the size of the formulas computing the entries of are bounded by , we have that is a linear matrix of dimensions , where and the bit complexity of the coefficients bounded by . Moreover, implies that is full if, and only if, is full, which is true if, and only if, .
Now, by Theorem 1.1, we have a deterministic polynomial time algorithm to determine whether is full rank. If , will be full, and the maximum such will be exactly when . Therefore, by outputting the maximum for which we compute . This proves that our algorithm is correct. Notice that the runtime is polynomial in the input size, as we perform at most applications of the Higman trick and of Algorithm . This completes the proof. ∎
A.3 The Quantum Reduction
Here , , , are , , , matrices respectively. Then is completely positive and is -rank-decreasing iff is rank-decreasing. Note that we are considering .
A well known characterization due to Choi [Cho75] states that is completely positive iff is psd. Here is the matrix with at position and everywhere else. Now
From here it is easy to verify that is psd given that is psd. Now suppose that is rank-decreasing. This can only happen if or , otherwise
can be psd (and hermitian) only if . In this case a ranked matrix is mapped to rank matrix. So has to be zero. Then again by the psd condition . So
Hence . This proves one direction. Now suppose that is -rank-decreasing and , then
This seems to be the “quantum” analogue of obtaining a maximum matching oracle based on a perfect matching oracle: add c-1 dummy vertices to both sides of the bipartite graph and connect them to everything. Then the new graph has a perfect matching iff the original graph had a matching of size .
Here we didn’t specify a set of Kraus operators for the operator which seem to be needed to run Algorithms 1 and 2 but Kraus operators can be obtained by looking at the eigenvectors of . Alternatively Algorithms 1 and 2 can also be interpreted as acting directly on the Choi-Jamiolkowski state of i.e. .