{"id":1719,"date":"2024-01-04T01:16:58","date_gmt":"2024-01-04T01:16:58","guid":{"rendered":"https:\/\/www.ethanepperly.com\/?p=1719"},"modified":"2024-01-28T02:56:45","modified_gmt":"2024-01-28T02:56:45","slug":"how-good-can-stochastic-trace-estimates-be","status":"publish","type":"post","link":"https:\/\/www.ethanepperly.com\/index.php\/2024\/01\/04\/how-good-can-stochastic-trace-estimates-be\/","title":{"rendered":"How Good Can Stochastic Trace Estimates Be?"},"content":{"rendered":"\n<p>I am excited to share that our paper <a href=\"https:\/\/arxiv.org\/abs\/2301.07825\"><em>XTrace: Making the most of every sample in stochastic trace estimation<\/em><\/a> <a href=\"https:\/\/epubs.siam.org\/doi\/full\/10.1137\/23M1548323\">has been published<\/a> in the <a href=\"https:\/\/www.siam.org\/publications\/journals\/siam-journal-on-matrix-analysis-and-applications-simax\">SIAM Journal on Matrix Analysis and Applications<\/a>. (See also <a href=\"https:\/\/arxiv.org\/abs\/2301.07825\">our paper on arXiv<\/a>.) <\/p>\n\n\n\n<p>Spurred by this exciting news, I wanted to take the opportunity to share one of my favorite results in <a href=\"https:\/\/arxiv.org\/abs\/2002.01387\">randomized numerical linear algebra<\/a>: a \u201c<em>speed limit<\/em>\u201d result of <a href=\"https:\/\/ram900.com\">Meyer<\/a>, <a href=\"https:\/\/people.cs.umass.edu\/~cmusco\/\">Musco<\/a>, <a href=\"https:\/\/www.chrismusco.com\">Musco<\/a>, and <a href=\"http:\/\/www.cs.cmu.edu\/~dwoodruf\/\">Woodruff<\/a> that establishes a fundamental limitation on how accurate any trace estimation algorithm can be.<\/p>\n\n\n\n<p>Let\u2019s back up. Given an unknown square matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, the <a href=\"[<https:\/\/en.wikipedia.org\/wiki\/Trace_(linear_algebra)#Stochastic_estimator>](https:\/\/www.ethanepperly.com\/index.php\/2023\/01\/26\/stochastic-trace-estimation\/&#8221;>trace estimation problem<\/a> is to estimate the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Trace_(linear_algebra)\">trace<\/a> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, defined to be the sum of its diagonal entries <p class=\"ql-center-displayed-equation\" style=\"line-height: 49px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-80cd9a9ca29d1d3bb13ce28fd80b5e59_l3.png\" height=\"49\" width=\"125\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#114;&#40;&#65;&#41;&#32;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#110;&#32;&#65;&#95;&#123;&#105;&#105;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The catch? We assume that we can only access the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> through matrix\u2013vector products (affectionately known as \u201cmatvecs\u201d): Given any vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/>, we have access to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3da95081ac78cee0692e52bb881df16c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"23\" style=\"vertical-align: 0px;\"\/>. Our goal is to form an estimate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73419300cbdf7c3bc535ccb1e5b66722_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"14\" style=\"vertical-align: 0px;\"\/> that is as accurate as possible while using as few matvecs as we can get away with.<\/p>\n\n\n\n<p>To simplify things, let\u2019s assume the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Symmetric_matrix#Real_symmetric_matrices\">symmetric<\/a> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Definite_matrix#Definitions\">positive (semi)definite<\/a>. The <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/01\/26\/stochastic-trace-estimation\/#girard-hutchinson-estimator-the-basics\">classical algorithm for trace estimation<\/a> is due to <a href=\"https:\/\/pascal-francis.inist.fr\/vibad\/index.php?action=getRecordDetail&amp;idt=7578115\">Gir<\/a><a href=\"https:\/\/doi.org\/10.1007\/BF01395775\">ard<\/a> and <a href=\"https:\/\/doi.org\/10.1080\/03610918908812806\">Hutchinson<\/a>, producing a probabilistic estimate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73419300cbdf7c3bc535ccb1e5b66722_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"14\" style=\"vertical-align: 0px;\"\/> with a small average (relative) error:<p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-07898a8a2214416cb97b8b72956e3e76_l3.png\" height=\"54\" width=\"377\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#124;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#45;&#92;&#116;&#114;&#40;&#65;&#41;&#124;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#117;&#115;&#105;&#110;&#103;&#32;&#125;&#32;&#109;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#114;&#109;&#32;&#99;&#111;&#110;&#115;&#116;&#125;&#123;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#94;&#50;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#109;&#97;&#116;&#118;&#101;&#99;&#115;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>If one wants high accuracy, this algorithm is <em>expensive<\/em>. To achieve just a 1% error (<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-690ad533a47b3020262c531aef2573dd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#61;&#48;&#46;&#48;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"63\" style=\"vertical-align: 0px;\"\/>) requires roughly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a256cefb2463256f912bc45e56d9658d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#61;&#49;&#48;&#44;&#92;&#33;&#48;&#48;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"89\" style=\"vertical-align: -4px;\"\/> matvecs!<\/p>\n\n\n\n<p>This state of affairs was greatly improved by <a href=\"<a href=\">Meyer<\/a>, <a href=\"https:\/\/people.cs.umass.edu\/~cmusco\/\">Musco<\/a>, <a href=\"https:\/\/www.chrismusco.com\">Musco<\/a>, and <a href=\"http:\/\/www.cs.cmu.edu\/~dwoodruf\/\">Woodruff<\/a>. Building upon <a href=\"https:\/\/epubs.siam.org\/doi\/10.1137\/16M1066361\">previous<\/a> <a href=\"http:\/\/link.springer.com\/10.1007\/s00211-016-0837-7\">work<\/a>, they proposed the <a href=\"https:\/\/arxiv.org\/abs\/2010.09649\">Hutch++ algorithm<\/a> and proved it outputs an estimate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73419300cbdf7c3bc535ccb1e5b66722_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"14\" style=\"vertical-align: 0px;\"\/> satisfying the following bound:<p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><span class=\"ql-right-eqno\"> (1) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9f186640222c78e5064f83465038b78_l3.png\" height=\"54\" width=\"377\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#124;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#45;&#92;&#116;&#114;&#40;&#65;&#41;&#124;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#117;&#115;&#105;&#110;&#103;&#32;&#125;&#32;&#109;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#114;&#109;&#32;&#99;&#111;&#110;&#115;&#116;&#125;&#123;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#109;&#97;&#116;&#118;&#101;&#99;&#115;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Now, we only require roughly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7856ca594d5436590b80d01df5256a47_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#61;&#49;&#48;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"66\" style=\"vertical-align: 0px;\"\/> matvecs to achieve 1% error! <a href=\"https:\/\/ar5iv.labs.arxiv.org\/html\/2301.07825#S1.SS2.SSS1\">Our algorithm, XTrace<\/a>, <a href=\"https:\/\/ar5iv.labs.arxiv.org\/html\/2301.07825#S1.SS4\">satisfies the same error guarantee (1)<\/a> as Hutch++. <a href=\"https:\/\/ar5iv.labs.arxiv.org\/html\/2301.07825#S1.SS3.SSS1\">On certain problems, XTrace can be quite a bit more accurate than Hutch++.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The MMMW Trace Estimation &#8220;Speed Limit&#8221;<\/h2>\n\n\n\n<p>Given the dramatic improvement of Hutch++ and XTrace over Girard\u2013Hutchinson, it is natural to hope: Is there an algorithm that does even better than Hutch++ and XTrace? For instance, is there an algorithm satisfying an even slightly better error bound of the form<p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8bae682300a401dc80869764b302ce8c_l3.png\" height=\"54\" width=\"381\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#124;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#45;&#92;&#116;&#114;&#40;&#65;&#41;&#124;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#117;&#115;&#105;&#110;&#103;&#32;&#125;&#32;&#109;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#114;&#109;&#32;&#99;&#111;&#110;&#115;&#116;&#125;&#123;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#94;&#123;&#48;&#46;&#57;&#57;&#57;&#125;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#109;&#97;&#116;&#118;&#101;&#99;&#115;&#125;&#63;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Unfortunately not. Hutch++ and XTrace are essentially as good as it gets.<\/p>\n\n\n\n<p>Let&#8217;s add some fine print. Consider an algorithm for the trace estimation problem. Whenever the algorithm wants, it can present a vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-44092f757392a8bd31d874dabe451fd3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"15\" style=\"vertical-align: -3px;\"\/> and receive back <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-32e1a90a36a3f113cb75d6f77d259f3a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#120;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"28\" style=\"vertical-align: -3px;\"\/>. The algorithm is allowed to be adaptive: It can use the matvecs <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7a97982782491a8f72158c6dc7e36a50_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#120;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#65;&#120;&#95;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"100\" style=\"vertical-align: -4px;\"\/> it has already collected to decide which vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5e36b75b4a72934806cc897e21f077e0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#123;&#115;&#43;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"33\" style=\"vertical-align: -5px;\"\/> to present next. We measure the cost of the algorithm in terms of the number of matvecs alone, and the algorithm knows nothing about the psd matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> other what it learns from matvecs.<\/p>\n\n\n\n<p>One final stipulation:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Simple entries assumption.<\/strong> We assume that the entries of the vectors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-44092f757392a8bd31d874dabe451fd3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"15\" style=\"vertical-align: -3px;\"\/> presented by the algorithm are real numbers between <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5bf4edce1009152f2284be30e87eaff0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"21\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27e3598fd2d4f0491067f1afaced92e9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/> with up to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3ab6f6c64ce17f786a81f8cc8fdcec90_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"8\" style=\"vertical-align: 0px;\"\/> digits after the decimal place.<\/p>\n<\/blockquote>\n\n\n\n<p>To get a feel for this simple entries assumption, suppose we set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f2fda51f52962fe4193979654c3f046f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;&#61;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"39\" style=\"vertical-align: 0px;\"\/>. Then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5fb98672c9f3098e51e1f39f2be707f7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#45;&#48;&#46;&#57;&#50;&#44;&#48;&#46;&#49;&#55;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"97\" style=\"vertical-align: -5px;\"\/> would be an allowed input vector, but <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a7f73e0cc202061d5f7158c00c06b6ae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#48;&#46;&#50;&#51;&#50;&#44;&#45;&#48;&#46;&#49;&#50;&#53;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"115\" style=\"vertical-align: -5px;\"\/> would not be (too many digits after the decimal place). Similarly, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d7ba1f9c1f09bcca271e7e357a291f02_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#49;&#56;&#46;&#51;&#44;&#50;&#46;&#52;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"74\" style=\"vertical-align: -5px;\"\/> would not be valid because its entries exceed <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27e3598fd2d4f0491067f1afaced92e9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/>. The simple entries assumption is reasonable as we typically represent numbers on digital computers by storing a fixed number of digits of accuracy.<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000057f0000000000000000_1719\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000057f0000000000000000_1719-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000057f0000000000000000_1719-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">We typically represent numbers on digital computers by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Floating-point_arithmetic\"><em>floating point<\/em> numbers<\/a>, which essentially represent numbers using scientific notation like <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d77706060daf472e9d5d8e09677ce480_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#46;&#51;&#50;&#55;&#56;&#49;&#50;&#51;&#32;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#49;&#48;&#94;&#123;&#50;&#55;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"129\" style=\"vertical-align: 0px;\"\/>. For this analysis of trace estimation, we use <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fixed-point_arithmetic\"><em>fixed point<\/em> numbers<\/a> like <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bc88fd7ceb2e2c4085c5082dbd204ea1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#48;&#46;&#50;&#51;&#50;&#49;&#56;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"59\" style=\"vertical-align: 0px;\"\/> (no powers of ten allowed)!<\/span>\n\n\n\n<p>With all these stipulations, we are ready to state the &#8220;speed limit&#8221; for trace estimation proved by Meyer, Musco, Musco, and Woodruff:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Informal theorem (Meyer, Musco, Musco, Woodruff).<\/strong> Under the assumptions above, there is no trace estimation algorithm producing an estimate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73419300cbdf7c3bc535ccb1e5b66722_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"14\" style=\"vertical-align: 0px;\"\/> satisfying<p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9034edba9bafb68809d24d54f5a830e6_l3.png\" height=\"54\" width=\"377\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#124;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#45;&#92;&#116;&#114;&#40;&#65;&#41;&#124;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#117;&#115;&#105;&#110;&#103;&#32;&#125;&#32;&#109;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#114;&#109;&#32;&#99;&#111;&#110;&#115;&#116;&#125;&#123;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#94;&#123;&#48;&#46;&#57;&#57;&#57;&#125;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#109;&#97;&#116;&#118;&#101;&#99;&#115;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<\/blockquote>\n\n\n\n<p>We will see a slightly sharper version of the theorem below, but this statement captures the essence of the result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Communication Complexity<\/h2>\n\n\n\n<p>To prove the MMMW theorem, we have to take a journey to the beautiful subject of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Communication_complexity\"><em>communication complexity<\/em><\/a>. The story is this. Alice and Bob are interested in solving a computational problem together. Alice has her input <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> and Bob has his input <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/>, and they are interested in computing a function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e25e9844df011ba67b4efee25ee56727_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#120;&#44;&#121;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"51\" style=\"vertical-align: -5px;\"\/> of both their inputs.<\/p>\n\n\n\n<p>Unfortunately for the two of them, Alice and Bob are separated by a great distance, and can only communicate by sending single bits (0 or 1) of information over a slow network connection. Every bit of communication is costly. The field of <strong>communication complexity<\/strong> is dedicated to determining how efficiently Alice and Bob are able to solve problems of this form.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Gap-Hamming_problem\">Gap-Hamming problem<\/a> is one example of a problem studied in communication complexity. As inputs, Alice and Bob receive vectors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ee28c106356cb54ed87f405a9a6b8e50_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#44;&#121;&#32;&#92;&#105;&#110;&#32;&#92;&#123;&#92;&#112;&#109;&#32;&#49;&#92;&#125;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"98\" style=\"vertical-align: -5px;\"\/> with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c9ca90562e16fc4edd6d6a3c649ae81e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#43;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"22\" style=\"vertical-align: -2px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5bf4edce1009152f2284be30e87eaff0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"21\" style=\"vertical-align: 0px;\"\/> entries from a third party Eve. Eve promises Alice and Bob that their vectors <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/> satisfy one of two conditions: <p class=\"ql-center-displayed-equation\" style=\"line-height: 21px;\"><span class=\"ql-right-eqno\"> (2) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3134941eeedf133f83ba4795b499332f_l3.png\" height=\"21\" width=\"357\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#97;&#115;&#101;&#32;&#48;&#58;&#32;&#125;&#32;&#120;&#94;&#92;&#116;&#111;&#112;&#32;&#121;&#32;&#92;&#103;&#101;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#111;&#114;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#97;&#115;&#101;&#32;&#49;&#58;&#32;&#125;&#32;&#120;&#94;&#92;&#116;&#111;&#112;&#32;&#121;&#32;&#92;&#108;&#101;&#32;&#45;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#46;&#32;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Alice and Bob must work together, sending as few bits of communication as possible, to determine which case they are in.<\/p>\n\n\n\n<p>There&#8217;s one simple solution to this problem: First, Bob sends his whole input vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/> to Alice. Each entry of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/> takes one of the two value <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7b7086fe465164ee1c46f7c8b3f43eaf_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#112;&#109;&#32;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"22\" style=\"vertical-align: 0px;\"\/> and can therefore be communicated in a single bit. Having received <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/>, Alice computes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-352bd23583e97cdcbb693b94c24f7c75_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#94;&#92;&#116;&#111;&#112;&#32;&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"31\" style=\"vertical-align: -4px;\"\/>, determines whether they are in case 0 or case 1, and sends Bob a single bit to communicate the answer. This procedure requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-cd47f9141b069463374b650a53568ac2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#43;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"40\" style=\"vertical-align: -2px;\"\/> bits of communication.<\/p>\n\n\n\n<p>Can Alice and Bob still solve this problem with many fewer than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> bits of communication, say <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0bbb71c94391d90ce47d108084081941_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"25\" style=\"vertical-align: -4px;\"\/> bits? Unfortunately not. The following <a href=\"https:\/\/doi.org\/10.1145%2F1993636.1993644\">theorem of Chakrabati and Regev<\/a> shows that roughly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> bits of communication are needed to solve this problem:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Theorem (Chakrabati\u2013Regev).<\/strong> Any algorithm which solves the Gap-Hamming problem that succeeds with at least <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-67cd3aedd1b935749b72002c197798c5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;&#47;&#51;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"27\" style=\"vertical-align: -5px;\"\/> probability for every pair of inputs <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7506eeeff09aad3bcf6b7259302df451_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#121;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/> (satisfying one of the conditions (2)) must take <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-85735c8fddc7af62bebe19fe47d002fb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"37\" style=\"vertical-align: -5px;\"\/> bits of communication.<\/p>\n<\/blockquote>\n\n\n\n<p>Here, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-85735c8fddc7af62bebe19fe47d002fb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"37\" style=\"vertical-align: -5px;\"\/> is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Big_O_notation#Big_Omega_notation\">big-Omega<\/a> notation, closely related to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Big_O_notation\">big-O notation<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4fbc2afd9de5b7bfd1bce50c77205159_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Big_O_notation#Family_of_Bachmann\u2013Landau_notations\">big-Theta notation<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-999cda49cbcdccc47f93a9551465b5e4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#84;&#104;&#101;&#116;&#97;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/>. For the less familiar, it can be helpful to interpret <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-85735c8fddc7af62bebe19fe47d002fb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"37\" style=\"vertical-align: -5px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4fbc2afd9de5b7bfd1bce50c77205159_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/>, and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-999cda49cbcdccc47f93a9551465b5e4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#84;&#104;&#101;&#116;&#97;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/> as all standing for \u201cproportional to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>\u201d. In plain language, the theorem of Chakrabati and Regev result states that there is no algorithm for the Gap-Hamming problem that much more effective than the basic algorithm where Bob sends his whole input to Alice (in the sense of requiring less than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4fbc2afd9de5b7bfd1bce50c77205159_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/> bits of communication).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reducing Gap-Hamming to Trace Estimation<\/h2>\n\n\n\n<p>This whole state of affairs is very sad for Alice and Bob, but what does it have to do with trace estimation? Remarkably, we can use hardness of the Gap-Hamming problem to show there\u2019s no algorithm that fundamentally improves on Hutch++ and XTrace. The argument goes something like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If there were a trace estimation algorithm fundamentally better than Hutch++ and XTrace, we could use it to solve Gap-Hamming in fewer than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4fbc2afd9de5b7bfd1bce50c77205159_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/> bits of communication.<\/li>\n\n\n\n<li>But no algorithm can solve Gap-Hamming in fewer than <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4fbc2afd9de5b7bfd1bce50c77205159_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"38\" style=\"vertical-align: -5px;\"\/> bits or communication.<\/li>\n\n\n\n<li>Therefore, no trace estimation algorithm is fundamentally better than Hutch++ and XTrace.<\/li>\n<\/ol>\n\n\n\n<p>Step 2 is the work of Chakrabati and Regev, and step 3 follows logically from 1 and 2. Therefore, we are left to complete step 1 of the argument.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Protocol<\/h3>\n\n\n\n<p>Assume we have access to a really good trace estimation algorithm. We will use it to solve the Gap-Hamming problem. For simplicity, assume <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> is a perfect square. The basic idea is this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Have Alice and Bob reshape their inputs <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ee28c106356cb54ed87f405a9a6b8e50_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#44;&#121;&#32;&#92;&#105;&#110;&#32;&#92;&#123;&#92;&#112;&#109;&#32;&#49;&#92;&#125;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"98\" style=\"vertical-align: -5px;\"\/> into matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-12817276b233f6d0ad9c0a71a5277755_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#88;&#44;&#89;&#92;&#105;&#110;&#92;&#123;&#92;&#112;&#109;&#32;&#49;&#92;&#125;&#94;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"150\" style=\"vertical-align: -5px;\"\/>, and consider (but do not form!) the positive semidefinite matrix <p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2b1df104e3d571430963573b54d5c4df_l3.png\" height=\"22\" width=\"184\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#65;&#32;&#61;&#32;&#40;&#88;&#43;&#89;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#40;&#88;&#43;&#89;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n\n\n\n<li>Observe that <p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a0f6e916740a9c27733c659418cc15cf_l3.png\" height=\"22\" width=\"451\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#114;&#40;&#65;&#41;&#32;&#61;&#32;&#92;&#116;&#114;&#40;&#88;&#94;&#92;&#116;&#111;&#112;&#32;&#88;&#41;&#32;&#43;&#32;&#50;&#92;&#116;&#114;&#40;&#88;&#94;&#92;&#116;&#111;&#112;&#32;&#89;&#41;&#32;&#43;&#32;&#92;&#116;&#114;&#40;&#89;&#94;&#92;&#116;&#111;&#112;&#32;&#89;&#41;&#32;&#61;&#32;&#50;&#110;&#32;&#43;&#32;&#50;&#40;&#120;&#94;&#92;&#116;&#111;&#112;&#32;&#121;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Thus, the two cases in (2) can be equivalently written in terms of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-510dfb66c08639685e06722bf6542798_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#114;&#40;&#65;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"40\" style=\"vertical-align: -5px;\"\/>:<p class=\"ql-center-displayed-equation\" style=\"line-height: 20px;\"><span class=\"ql-right-eqno\"> (2&#8242;) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1fea970636b48c827e4584d3655b9e3c_l3.png\" height=\"20\" width=\"469\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#97;&#115;&#101;&#32;&#48;&#58;&#32;&#125;&#32;&#92;&#116;&#114;&#40;&#65;&#41;&#92;&#103;&#101;&#32;&#50;&#110;&#32;&#43;&#32;&#50;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#111;&#114;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#97;&#115;&#101;&#32;&#49;&#58;&#32;&#125;&#32;&#92;&#116;&#114;&#40;&#65;&#41;&#32;&#92;&#108;&#101;&#32;&#50;&#110;&#45;&#50;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#46;&#32;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n\n\n\n<li>By working together, Alice and Bob can implement a trace estimation algorithm. Alice will be in charge of running the algorithm, but Alice and Bob must work together to compute matvecs. (Details below!)<\/li>\n\n\n\n<li>Using the output of the trace estimation algorithm, Alice determines whether they are in case 0 or 1 (i.e., where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-82c35ddc5e87c3aa49301c355d6b4181_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#114;&#40;&#65;&#41;&#32;&#92;&#103;&#103;&#32;&#50;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"88\" style=\"vertical-align: -5px;\"\/> or <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-330ec4ffd2c2e587455b51cae3867e6e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#114;&#40;&#65;&#41;&#32;&#92;&#108;&#108;&#32;&#50;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"88\" style=\"vertical-align: -5px;\"\/>) and sends the result to Bob.<\/li>\n<\/ul>\n\n\n\n<p>To complete this procedure, we just need to show how Alice and Bob can implement the matvec procedure using minimal communication. Suppose Alice and Bob want to compute <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4200ce40285877cc04f24ed5a5716a26_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"22\" style=\"vertical-align: 0px;\"\/> for some vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fab4c39805a4ffa76218c5524e1b6e66_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"9\" style=\"vertical-align: 0px;\"\/> with entries between <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5bf4edce1009152f2284be30e87eaff0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"21\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27e3598fd2d4f0491067f1afaced92e9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/> with up to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3ab6f6c64ce17f786a81f8cc8fdcec90_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"8\" style=\"vertical-align: 0px;\"\/> decimal digits. First, convert <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fab4c39805a4ffa76218c5524e1b6e66_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"9\" style=\"vertical-align: 0px;\"\/> to a vector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0c83fefa77aa44e32739e4ede96a853e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#49;&#48;&#94;&#98;&#32;&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"74\" style=\"vertical-align: 0px;\"\/> whose entries are <em>integers<\/em> between <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c8c9d4308cbcc204ada16bbaca152db8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#49;&#48;&#94;&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"37\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c473e5ecce24999375487b914e5da985_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#48;&#94;&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"23\" style=\"vertical-align: 0px;\"\/>. Since <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bbb351de2c0d47e40b16aff9e508a195_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#122;&#32;&#61;&#32;&#49;&#48;&#94;&#123;&#45;&#98;&#125;&#65;&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"107\" style=\"vertical-align: 0px;\"\/>, interconverting between <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4200ce40285877cc04f24ed5a5716a26_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"22\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7b196e7f20cb881b53b991caa5976305_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"26\" style=\"vertical-align: 0px;\"\/> is trivial. Alice and Bob&#8217;s procedure for computing <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7b196e7f20cb881b53b991caa5976305_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"26\" style=\"vertical-align: 0px;\"\/> is as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Alice sends Bob <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8daecae168d2c5e4e901c89360b57724_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"13\" style=\"vertical-align: 0px;\"\/>.<\/li>\n\n\n\n<li>Having received <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8daecae168d2c5e4e901c89360b57724_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"13\" style=\"vertical-align: 0px;\"\/>, Bob forms <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2b88b0e2dad77b6a37f7595f013f6459_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"27\" style=\"vertical-align: 0px;\"\/> and sends it to Alice.<\/li>\n\n\n\n<li>Having received <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2b88b0e2dad77b6a37f7595f013f6459_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"27\" style=\"vertical-align: 0px;\"\/>, Alice computes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b5e09eb7dc4c36bd0f7a65b740e4d8c0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#88;&#119;&#43;&#89;&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"115\" style=\"vertical-align: -2px;\"\/> and sends it to Bob.<\/li>\n\n\n\n<li>Having received <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1ccb53cb35fc73370b29b241e3fa4bcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"9\" style=\"vertical-align: 0px;\"\/>, Bob computes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-88c7f37e66122d2dc1ffb836b0baf95e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#94;&#92;&#116;&#111;&#112;&#32;&#118;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"35\" style=\"vertical-align: 0px;\"\/> and sends its to Alice.<\/li>\n\n\n\n<li>Alice forms <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d4e04ea9a8f240fb071b0998fd348834_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#119;&#32;&#61;&#32;&#88;&#94;&#92;&#116;&#111;&#112;&#32;&#118;&#32;&#43;&#32;&#89;&#94;&#92;&#116;&#111;&#112;&#32;&#118;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"143\" style=\"vertical-align: -2px;\"\/>.<\/li>\n<\/ul>\n\n\n\n<p>Because <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ee8974e4adfbdab75fa43f4df80b4e5d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#88;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"16\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-58d456b42236adc71c7788a42a6c7884_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ff6b8afe91648470e537bb8e3c4e7c31_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"72\" style=\"vertical-align: -4px;\"\/> and have <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7b7086fe465164ee1c46f7c8b3f43eaf_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#112;&#109;&#32;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"22\" style=\"vertical-align: 0px;\"\/> entries, all vectors computed in this procedure are vectors of length <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0bbb71c94391d90ce47d108084081941_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"25\" style=\"vertical-align: -4px;\"\/> with integer entries between <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ac9825efa50cb19962ab1d7334183839_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#45;&#52;&#110;&#32;&#49;&#48;&#94;&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"57\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fc017d8f311b4a88130daff588e81362_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#52;&#110;&#49;&#48;&#94;&#98;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"44\" style=\"vertical-align: 0px;\"\/>. We conclude the communication cost for one matvec is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7971613de397a17340a29eae9cb9d168_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#92;&#84;&#104;&#101;&#116;&#97;&#40;&#40;&#98;&#43;&#92;&#108;&#111;&#103;&#32;&#110;&#41;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"172\" style=\"vertical-align: -5px;\"\/> bits.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Analysis<\/h3>\n\n\n\n<p>Consider an algorithm we&#8217;ll call BestTraceAlgorithm. Given any accuracy parameter <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b7d1940a59903c3d1372ec01a488a98a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#62;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"41\" style=\"vertical-align: -2px;\"\/>, BestTraceAlgorithm requires at most <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4c032a21e8f131904e61440185cfbe3d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#32;&#61;&#32;&#109;&#40;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"76\" style=\"vertical-align: -5px;\"\/> matvecs and, for any positive semidefinite input matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> of any size, produces an estimate <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73419300cbdf7c3bc535ccb1e5b66722_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"14\" style=\"vertical-align: 0px;\"\/> satisfying <p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><span class=\"ql-right-eqno\"> (3) <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9165ea3846d540eb654af9f7f59a5c2_l3.png\" height=\"54\" width=\"161\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#124;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#45;&#92;&#116;&#114;&#40;&#65;&#41;&#124;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#92;&#108;&#101;&#32;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>We assume that BestTraceAlgorithm is the best possible algorithm in the sense that no algorithm can achieve (3) on all (positive semidefinite) inputs with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0f57f9bbca22e151c19b88b5653e7737_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#39;&#32;&#60;&#32;&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"59\" style=\"vertical-align: -2px;\"\/> matvecs.<\/p>\n\n\n\n<p>To solve the Gap-Hamming problem, Alice and Bob just need enough accuracy in their trace estimation to distinguish between cases 0 and 1. In particular, if <p class=\"ql-center-displayed-equation\" style=\"line-height: 55px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8327e1b03c9ba9162fb737e40a192b3a_l3.png\" height=\"55\" width=\"147\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#108;&#101;&#102;&#116;&#124;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#32;&#45;&#32;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#124;&#32;&#92;&#108;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#44;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>then Alice and Bob can distinguish between cases 0 and 1 in (2&#8242;)<\/p>\n\n\n\n<p>Suppose that Alice and Bob apply trace estimation to solve the Gap-Hamming problem, using <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6d890b0f5af56bc2bde465a9af2fd218_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"15\" style=\"vertical-align: 0px;\"\/> matvecs in total. The total communication is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-921c220623e9750d74d98535e911c8db_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#99;&#100;&#111;&#116;&#32;&#84;&#32;&#61;&#32;&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#109;&#40;&#98;&#43;&#92;&#108;&#111;&#103;&#32;&#110;&#41;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"213\" style=\"vertical-align: -5px;\"\/> bits. Chakrabati and Regev showed that Gap-Hamming requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5c00ec33d7cefbff62ff7daf9fd9a728_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"19\" style=\"vertical-align: 0px;\"\/> bits of communication (for some <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-12bb942740cb695bffb02e58b1e590ea_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#99;&#62;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"40\" style=\"vertical-align: -2px;\"\/>) to solve the Gap-Hamming problem with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-67cd3aedd1b935749b72002c197798c5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#50;&#47;&#51;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"27\" style=\"vertical-align: -5px;\"\/> probability. Thus, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3c7cb921fe3553208f43f872479c400e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#109;&#92;&#99;&#100;&#111;&#116;&#32;&#84;&#32;&#60;&#32;&#99;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"84\" style=\"vertical-align: -2px;\"\/>, then Alice and Bob <em>fail<\/em> to solve the Gap-Hamming problem with at least <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-73f7f8da8e6d14b631a1748f5f0bc8ba_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#47;&#51;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"26\" style=\"vertical-align: -5px;\"\/> probability. Thus, <p class=\"ql-center-displayed-equation\" style=\"line-height: 55px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-74364fd915239fdaf0889d005378b7ba_l3.png\" height=\"55\" width=\"649\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#102;&#32;&#125;&#32;&#109;&#32;&#60;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#99;&#110;&#125;&#123;&#84;&#125;&#32;&#61;&#32;&#92;&#84;&#104;&#101;&#116;&#97;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#123;&#98;&#43;&#92;&#108;&#111;&#103;&#32;&#110;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#44;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#116;&#104;&#101;&#110;&#32;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#124;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#32;&#45;&#32;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#124;&#32;&#62;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#119;&#105;&#116;&#104;&#32;&#112;&#114;&#111;&#98;&#97;&#98;&#105;&#108;&#105;&#116;&#121;&#32;&#97;&#116;&#32;&#108;&#101;&#97;&#115;&#116;&#32;&#125;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#51;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The contrapositive of this statement is that if <p class=\"ql-center-displayed-equation\" style=\"line-height: 55px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-81fbd6e8e08c9759a6cbf5ac4f9782e2_l3.png\" height=\"55\" width=\"604\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#102;&#32;&#125;&#92;&#108;&#101;&#102;&#116;&#124;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#32;&#45;&#32;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#124;&#32;&#92;&#108;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#119;&#105;&#116;&#104;&#32;&#112;&#114;&#111;&#98;&#97;&#98;&#105;&#108;&#105;&#116;&#121;&#32;&#97;&#116;&#32;&#108;&#101;&#97;&#115;&#116;&#32;&#125;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#50;&#125;&#123;&#51;&#125;&#44;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#116;&#104;&#101;&#110;&#32;&#125;&#32;&#109;&#32;&#92;&#103;&#101;&#32;&#92;&#84;&#104;&#101;&#116;&#97;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#123;&#98;&#43;&#92;&#108;&#111;&#103;&#32;&#110;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><br>Say Alice and Bob run BestTraceAlgorithm with parameter <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3811834a48b7cd85048db364eb50ac06_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#61;&#32;&#92;&#116;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#51;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"27\" width=\"61\" style=\"vertical-align: -11px;\"\/>. Then, by (3) and <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/08\/02\/big-ideas-in-applied-math-concentration-inequalities\/#markovs-inequality\">Markov&#8217;s inequality<\/a>,<p class=\"ql-center-displayed-equation\" style=\"line-height: 55px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-95db791999f5573659f14f5b0d4a386e_l3.png\" height=\"55\" width=\"371\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#108;&#101;&#102;&#116;&#124;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#104;&#97;&#116;&#123;&#92;&#116;&#114;&#125;&#32;&#45;&#32;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#124;&#32;&#92;&#108;&#101;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#119;&#105;&#116;&#104;&#32;&#112;&#114;&#111;&#98;&#97;&#98;&#105;&#108;&#105;&#116;&#121;&#32;&#97;&#116;&#32;&#108;&#101;&#97;&#115;&#116;&#32;&#125;&#92;&#102;&#114;&#97;&#99;&#123;&#50;&#125;&#123;&#51;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Therefore, BestTraceAlgorithm requires at least <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8f0975698051029d6273269409146a9f_l3.png\" height=\"43\" width=\"227\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#109;&#32;&#92;&#103;&#101;&#32;&#92;&#84;&#104;&#101;&#116;&#97;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;&#125;&#123;&#98;&#43;&#92;&#108;&#111;&#103;&#32;&#110;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#109;&#97;&#116;&#118;&#101;&#99;&#115;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Using the fact that we&#8217;ve set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c26e17f892a8808c9cb72904c7162950_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#61;&#32;&#49;&#47;&#51;&#92;&#115;&#113;&#114;&#116;&#123;&#110;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"84\" style=\"vertical-align: -5px;\"\/>, we conclude that any trace estimation algorithm, even BestTraceAlgorithm, requires<p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b3eb651ca114a7fe19f3b8c5d3e64063_l3.png\" height=\"43\" width=\"275\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#109;&#32;&#92;&#103;&#101;&#32;&#92;&#84;&#104;&#101;&#116;&#97;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#32;&#40;&#98;&#43;&#92;&#108;&#111;&#103;&#40;&#49;&#47;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#41;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#109;&#97;&#116;&#118;&#101;&#99;&#115;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>In particular, no trace estimation algorithm can achieve mean relative error <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-68eb29837031f4afbd699052143a2826_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> using even <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-de93b3b7f4dab7043f59e175c1be58a2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#49;&#47;&#92;&#118;&#97;&#114;&#101;&#112;&#115;&#105;&#108;&#111;&#110;&#94;&#123;&#48;&#46;&#57;&#57;&#57;&#125;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"85\" style=\"vertical-align: -5px;\"\/> matvecs. This proves the MMMW theorem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am excited to share that our paper XTrace: Making the most of every sample in stochastic trace estimation has been published in the SIAM Journal on Matrix Analysis and Applications. (See also our paper on arXiv.) Spurred by this exciting news, I wanted to take the opportunity to share one of my favorite results<a class=\"more-link\" href=\"https:\/\/www.ethanepperly.com\/index.php\/2024\/01\/04\/how-good-can-stochastic-trace-estimates-be\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,14],"tags":[],"class_list":["post-1719","post","type-post","status-publish","format-standard","hentry","category-expository","category-trace-estimation"],"_links":{"self":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/comments?post=1719"}],"version-history":[{"count":6,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1719\/revisions"}],"predecessor-version":[{"id":1729,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1719\/revisions\/1729"}],"wp:attachment":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/media?parent=1719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/categories?post=1719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/tags?post=1719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}