\documentclass[11pt,a4paper]{article} \usepackage[a4paper,margin=25mm]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern,microtype,amsmath,amssymb,amsthm,xcolor,tikz,float} \definecolor{cblue}{HTML}{24576C} \definecolor{cgold}{HTML}{BE771E} \definecolor{cmag}{HTML}{9E4A80} \usetikzlibrary{shapes.geometric} \usepackage[colorlinks=true,linkcolor=black,citecolor=magenta,urlcolor=black]{hyperref} \urlstyle{same} \newtheorem{thm}{Theorem}[section] \newtheorem{introthm}{Theorem} \renewcommand{\theintrothm}{\Alph{introthm}} \newtheorem{prop}[thm]{Proposition} \newtheorem{defn}[thm]{Definition} \newtheorem{conj}[thm]{Conjecture} \theoremstyle{definition} \newtheorem{quest}[thm]{Question} \setlength{\parskip}{1pt}\setlength{\emergencystretch}{2em} \raggedbottom \setcounter{tocdepth}{1} \title{Circulant Hadamard matrices, old and new} \author{Teo 2.0 and Opus 5.5} \date{} \hypersetup{pdftitle={Circulant Hadamard matrices, old and new},pdfauthor={Teo 2.0 and Opus 5.5}} \begin{document} \maketitle \begin{abstract} This is a survey of the circulant Hadamard matrices, real, Butson and complex, with full proofs. The eigenvalues of such a matrix are given by a Fourier transform, and have constant modulus, and this brings in Fourier analysis, via the theorems of Gauss, Bj\"orck, Backelin and Haagerup, and arithmetic, via the self-conjugacy and field descent methods of Turyn and Schmidt. We also discuss these matrices as ground states of a spin chain, whose partition function counts them at low temperature, with weights, when they are finitely many and nondegenerate, the spin models and subfactors associated to them, the circulant almost Hadamard matrices and the flat polynomials, the constructions of Williamson and Menon, using several circulants, or other groups, and the recently announced proof of the circulant Hadamard conjecture by OpenAI. Along the way, we prove a Fourier criterion for wildness, we classify the circulant matrices having 2 distinct entries, we make the counting theorem of Haagerup constructive, we recompute numerically all the cyclic $11$-roots, we show that the PeCAN algorithm from signal processing, and its versions for the $p$-norms with $1\leq p<2$, are ascent algorithms whose fixed points are critical points on the unitary group, and we show that the energy of the spin chain and the $1$-norm belong to a family of $p$-energies, having the same behavior around the ground states. \end{abstract} \begingroup \color{magenta}\hypersetup{linkcolor=magenta} \setlength{\parskip}{0pt} \makeatletter \renewcommand{\l@section}[2]{% \ifnum\c@tocdepth>\z@ \addpenalty{\@secpenalty} \addvspace{1pt} \setlength\@tempdima{1.8em} \begingroup \parindent\z@ \rightskip\@pnumwidth \parfillskip-\@pnumwidth \leavevmode\bfseries \advance\leftskip\@tempdima \hskip-\leftskip #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss #2}\par \endgroup \fi} \makeatother \tableofcontents \endgroup \section*{Introduction} \phantomsection\addcontentsline{toc}{section}{Introduction} A complex Hadamard matrix is a matrix $H\in M_N(\mathbb T)$ whose rows are pairwise orthogonal, that is, $HH^*=N1_N$. The basic example is the Fourier matrix $F_N=(w^{ij})$, with $w=e^{2\pi i/N}$, and the real examples, with entries $\pm1$, which exist only at $N=2$ and at the multiples of $4$, go back to Sylvester and Hadamard \cite{had}. In between, the Butson matrices are those having as entries roots of unity of a given order $q$ \cite{but}. A matrix $H\in M_N(\mathbb C)$ is called circulant when $H_{ij}=h_{j-i}$, for a certain function $h:\mathbb Z_N\to\mathbb C$, and the question that we will discuss here is that of understanding the circulant Hadamard matrices. The circulant matrices are diagonalized by the Fourier matrix, their eigenvalues being the numbers $\lambda_k=\sum_th_tw^{kt}$, and as found by Bj\"orck \cite{bjo}, $H$ is Hadamard precisely when $|h_t|=1$ for any $t$, and $|\lambda_k|=\sqrt N$ for any $k$. In other words, we are looking for the unimodular functions on $\mathbb Z_N$ whose Fourier transform is unimodular too, up to the factor $\sqrt N$. The first examples are the quadratic chirps $h_t=w^{t^2}$, at $N$ odd, whose Fourier transforms are Gauss sums, and so have modulus $\sqrt N$, by the famous computation of Gauss. Another example, found by Bj\"orck and Fr\"oberg \cite{bjf}, is the following matrix, which is not equivalent to $F_6$: $$BF_6=\begin{pmatrix} 1&ia&-a&-i&-\bar a&i\bar a\\ i\bar a&1&ia&-a&-i&-\bar a\\ -\bar a&i\bar a&1&ia&-a&-i\\ -i&-\bar a&i\bar a&1&ia&-a\\ -a&-i&-\bar a&i\bar a&1&ia\\ ia&-a&-i&-\bar a&i\bar a&1 \end{pmatrix}$$ Here $a=(1-\sqrt3+i\sqrt{2\sqrt3})/2$ is the solution of $a^2-(1-\sqrt3)a+1=0$ having positive imaginary part, so that $|a|=1$, and $a$ is a root of the polynomial $x^4-2x^3-2x+1$, obtained by eliminating $\sqrt3$. The roots of unity of degree at most $4$ over $\mathbb Q$ have real parts $0,\pm1,\pm1/2,\pm\sqrt2/2,\pm\sqrt3/2,(\pm1\pm\sqrt5)/4$, so $a$ is not a root of unity, because $Re(a)=(1-\sqrt3)/2$, and so $BF_6$ is not of Butson type. As we will see in section \ref{sec:cyclic}, up to some natural symmetries, and to complex conjugation, the only circulant complex Hadamard matrices of order $6$ are the chirps, which are equivalent to $F_6$, and the matrix $BF_6$. In the real case, the only known examples are the matrix $K_4=J_4-2I_4$ and its variations at $N=4$, namely the $8$ matrices whose first row has exactly one entry different from the other $3$, plus the trivial matrices at $N=1$. Ryser conjectured in 1963 that there are no other examples \cite{rys}, and this circulant Hadamard conjecture has been one of the main driving forces of the subject. The theory of the circulant Hadamard matrices developed along 3 main lines, as follows: \medskip (1) The analytic line. Bj\"orck reformulated the problem in terms of the cyclic $N$-roots \cite{bjo}, which are the solutions of a remarkable system of polynomial equations, and the unimodular ones correspond to the circulant complex Hadamard matrices. Backelin proved that when $N$ is not squarefree there are infinitely many cyclic $N$-roots \cite{bac}, and Bj\"orck and Saffari conjectured that there are finitely many when $N$ is squarefree \cite{bsa}. At $N=p$ prime, Haagerup proved that the number of cyclic $p$-roots, counted with multiplicity, is $\binom{2p-2}{p-1}$ \cite{ha2}, by using the theorem of Chebotarev on the minors of $F_p$, and complex analysis. The cyclic $N$-roots were also computed by computer algebra, at small values of $N$ \cite{bfr,bjf,bf8,fau,sab}, and the unimodular cyclic $10$-roots were recently used for proving that the standard and Fourier bases of $\mathbb C^{10}$ cannot be completed into $4$ mutually unbiased bases \cite{yld}. \medskip (2) The arithmetic line. The eigenvalues of a circulant Butson matrix are cyclotomic integers of modulus $\sqrt N$, and this leads to strong restrictions on $N$. In the real case, Turyn showed via his self-conjugacy method that $N=4u^2$ with $u$ odd, and not a prime power \cite{tur}, and Schmidt's field descent method \cite{sc1,sc2}, developed further by Leung and Schmidt \cite{lsc}, excluded many more values of $u$. The same arithmetic governs the Butson case, where the eigenvalues are Weil numbers, and where the circulant Butson matrices of prime power order were classified by Duc and Schmidt \cite{dsc}, as well as the circulant matrices with few distinct entries, which correspond to the cyclic difference sets, such as the quadratic residues, and the projective geometries over the finite fields. Recently, OpenAI announced a full proof of the circulant Hadamard conjecture \cite{oai}, by using arithmetic methods, and we present here this proof, in a self-contained form. \medskip (3) The quantum algebraic line. A complex Hadamard matrix produces a spin model in the sense of Jones \cite{jo1}, and so a subfactor, a planar algebra, and a quantum permutation group $G_H\subset S_N^+$. The main question is whether $H$ is wild, in the sense that $G_H=S_N^+$, and the first proofs of wildness, due to Bisch and Nicoara \cite{bn1,bn2}, use congruences of the profile of $H$. This method was extended in \cite{bao}, with many circulant matrices shown to be wild, while some others, such as $BF_6$, remained open. In the circulant case, the wildness can be read on the congruences between the eigenvalues, while the Fourier matrices and the tensor products are not wild. \medskip These 3 lines are interconnected in many ways, with the arithmetic of the eigenvalues entering into the wildness criteria, and with the analytic methods counting the Butson matrices too, and together with the 3 main cases, real, Butson and complex, they are summarized in Figure \ref{fig:target}. \begin{figure}[H] \centering \begin{tikzpicture}[font=\scriptsize,xscale=1.22,yscale=0.68] \fill[cblue!8] (0,0)--(90:5) arc (90:210:5)--cycle; \fill[cgold!10] (0,0)--(-30:5) arc (-30:90:5)--cycle; \fill[cmag!7] (0,0)--(210:5) arc (210:330:5)--cycle; \foreach \r in {1.7,3.35,5} \draw[black!50,line width=.6pt] (0,0) circle[radius=\r]; \foreach \a in {90,210,330} \draw[black!50,line width=.6pt] (0,0)--(\a:5); \node[fill=white,inner sep=1pt] at (90:1.2) {real}; \node[fill=white,inner sep=1pt] at (90:2.85) {Butson}; \node[fill=white,inner sep=1pt] at (90:4.5) {complex}; \node[cblue,font=\small\bfseries,anchor=east] at (150:5.15) {analytic}; \node[cgold,font=\small\bfseries,anchor=west] at (30:5.15) {arithmetic}; \node[cmag,font=\small\bfseries] at (270:5.55) {quantum algebraic}; \node[align=center,text width=1.2cm] at (180:0.85) {sidelobes}; \node[align=center,text width=1.2cm] at (0:0.85) {Ryser}; \node[align=center,text width=1.2cm] at (270:0.95) {$K_4$}; \node[align=center] at (180:2.52) {Gauss sums,\\chirps}; \node[align=center] at (0:2.52) {field\\descent}; \node[align=center,text width=1.7cm] at (270:2.5) {simple index $2,3$}; \node[align=center] at (180:4.17) {cyclic roots,\\Haagerup}; \node[align=center] at (0:4.17) {eigenvalue\\congruences}; \node[align=center,text width=2.2cm] at (270:4.15) {spin models, wildness}; \end{tikzpicture} \caption{The $3$ lines of the theory, analytic, arithmetic and quantum algebraic, as sectors, and the $3$ cases, real, Butson and complex, as nested ellipses, with real $\subset$ Butson $\subset$ complex, and with the main topics in each of the $9$ resulting regions.}\label{fig:target} \end{figure} Here are some milestones of the theory, the references being given in the text: \begin{center} \begin{tabular}{|l|l|l|} \hline 1811&Gauss&quadratic Gauss sums, and so the chirps\\ \hline 1893&Hadamard&maximal determinants, Hadamard matrices\\ \hline 1944&Williamson&Hadamard matrices from $4$ circulants\\ \hline 1960&Klauder et al.&chirp radars, pulse compression\\ \hline 1962&Butson&Butson matrices, roots of unity as entries\\ \hline 1963&Ryser&circulant Hadamard conjecture\\ \hline 1965&Turyn&$N=4u^2$, with $u$ odd, not a prime power\\ \hline 1980&Kahane&ultraflat unimodular polynomials\\ \hline 1989&Backelin&infinitely many cyclic $N$-roots, $N$ not squarefree\\ \hline 1989&Jones&spin models, subfactors\\ \hline 1990&Bj\"orck&cyclic $N$-roots\\ \hline 1991&Backelin, Fr\"oberg&the $924$ cyclic $7$-roots\\ \hline 1999&Schmidt&field descent\\ \hline 2001&Faug\`ere&the cyclic $9$-roots\\ \hline 2005&Bir\'o, Meshulam, Tao&uncertainty principle at $N=p$ prime\\ \hline 2008&Haagerup&counting at $N=p$ prime\\ \hline 2020&Balister et al.&flat polynomials with $\pm1$ coefficients\\ \hline 2026&OpenAI&announced proof of the Ryser conjecture\\ \hline \end{tabular} \end{center} Our purpose here is to survey all this, with full proofs, and with some new results added. Regarding the analytic line, we will see that the proof of Haagerup is in fact constructive, and leads to an algorithm computing all the cyclic $p$-roots. We have: \begin{introthm}\label{thm:c} For $p$ prime, the number of circulant complex Hadamard matrices of order $p$ with $h_0=1$ is finite, and is at most $\binom{2p-2}{p-1}$, this being the number of cyclic $p$-roots counted with multiplicity. Moreover, all the cyclic $p$-roots can be obtained by continuation from the explicit zeros of a proper polynomial map. \end{introthm} Numerically, at $p=11$, the continuation finds $184756$ distinct cyclic $11$-roots, so that all of them are simple, and $18744$ unimodular ones, which are the circulant complex Hadamard matrices of order $11$ with $h_0=1$, in agreement with the counts in \cite{lts} and \cite{fr}. We also discuss the circulant matrices as ground states of the spin chain with energy $\Phi(x)=\sum_k|\hat x_k|^4-N^3$, and we show that its partition function satisfies $Z_N(\beta)\sim C_N(4\pi\beta)^{-(N-1)/2}$ precisely when there are finitely many circulant complex Hadamard matrices of order $N$ with $h_0=1$, all nondegenerate, $C_N$ being a weighted count of them, and decays more slowly otherwise. For the chirps of prime order $p=1(4)$, these weights involve the fundamental unit and the class number of $\mathbb Q(\sqrt p)$. In relation with the quantum algebraic line, we have the following Fourier version of the wildness criteria from \cite{bn2,bao}: \begin{introthm}\label{thm:a} Let $H$ be a circulant complex Hadamard matrix of order $N\geq6$, with algebraic entries, which are units at a prime $P$ not dividing $N$, of a number field containing them, and $e^{2\pi i/N}$. If all the eigenvalues $\lambda_k$ of $H$, except possibly one, are congruent modulo $P$, then $H$ is wild. \end{introthm} This covers for instance the Bj\"orck matrices of simple index $2$ at the primes $p=1(4)$ with $p\geq13$, whose wildness was established in \cite{bao}. As another application, we have the following result, involving the cyclic difference sets, which updates the classification of the $2$-valued unimodular sequences with unimodular Fourier transform of Saffari \cite{saf}, by using the solution of the conjecture of Ryser, the wildness coming from \cite{bao}: \begin{introthm}\label{thm:b} A circulant complex Hadamard matrix of order $N\geq2$, whose first row takes exactly $2$ values, is, up to a scalar, of the form $h=1+(z-1)\chi_D$, with: \begin{enumerate} \item Either $N=2,4$ and $D$ a single point, \item Or $N=4n-1$ and $D$ a cyclic difference set with parameters $(4n-1,2n-1,n-1)$, \end{enumerate} or the complement of such a set, and with $|z-1|^2=N/n$, where $n$ is the order of $D$, and with $n=1$ in the first case. All these matrices are wild, at $N\geq7$. \end{introthm} Finally, in relation with the almost Hadamard matrices \cite{bnz,bn3}, which are the local maximizers of the $1$-norm $||U||_1=\sum_{ij}|U_{ij}|$ on the unitary group $U_N$, rescaled by $\sqrt N$, and more generally with the $p$-almost Hadamard matrices \cite{bnp}, coming from the $p$-norms $||U||_p=(\sum_{ij}|U_{ij}|^p)^{1/p}$, we have a result in the circulant case. Given a matrix $U$ with nonzero entries, and $p\geq1$, we set $W=(|U_{ij}|^{p-1}U_{ij}/|U_{ij}|)_{ij}$, which at $p=1$ is the phase matrix of $U$, and when $W$ is invertible, we let $U'=Pol(W)$ be the unitary in its polar decomposition $W=Pol(W)|W|$. We have then: \begin{introthm}\label{thm:d} Let $1\leq p<2$, let $U$ be a circulant unitary with nonzero entries, such that the matrix $W$ is invertible, and set $U'=Pol(W)$. Then $||U'||_p\geq||U||_p$, with equality precisely when $U'=U$, and in this case $U$ is a critical point of the $p$-norm on $U_N$. Moreover, any circulant $p$-almost Hadamard matrix $\sqrt NV$, with $V$ having nonzero entries, and invertible matrix $W$, appears in this way, with $V'=V$. \end{introthm} At $p=1$, in terms of the phase vectors $s$ of the first rows, the map $U\to U'$ becomes $s\to s'$, with $s'$ being the phase vector of the first row of $Pol(S)$, and this is the PeCAN algorithm of Stoica, He and Li \cite{shl}, used in signal processing for finding sequences with impulse-like periodic autocorrelations, which is closely related to the alternating projections for the biunimodular vectors of F\"uhr and Rzeszotnik \cite{fr}. Theorem \ref{thm:d} shows that this algorithm, and its versions with $1\leq p<2$, are ascent algorithms for the $p$-norms, as long as they are defined, whose global maxima are the circulant complex Hadamard matrices, and whose fixed points are critical points on the whole $U_N$, the circulant $p$-almost Hadamard matrices being among them. We will also see that the $1$-norm, the Shannon entropy, and the energy $\Phi$ of the spin chain are the members at $p=1,2,4$ of a family of $p$-energies on the torus $\mathbb T^N$, which all behave in the same way around the circulant complex Hadamard matrices, with the same weighted counts $C_N$, and whose spurious local minima at small $N$ mostly persist from $p=1$ to $p=4$, with $2$ exceptions found at $N=15$. The paper is organized as in Figure \ref{fig:map}, with the sections arranged on a clock, and colored according to the 3 lines of the theory, as follows: \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \node[draw=magenta,line width=1.1pt,ellipse,fill=magenta!6,inner sep=4pt] (c) at (0,0) {$H_{ij}=h_{j-i}$}; \foreach \i/\t/\col in {1/{circulants, Fourier analysis}/cblue,2/{cyclic roots, after Bj\"orck}/cblue,3/{Haagerup, prime orders}/cblue,4/{ground states, partition functions}/cblue,5/{Gauss sums, Butson circulants}/cgold,6/{cyclotomic fields, field descent}/cgold,7/{difference sets, few entries}/cgold,8/{spin models, wildness}/cmag,9/{alternating character products}/cgold,10/{the real case, after OpenAI}/cgold,11/{almost Hadamard circulants}/cblue,12/{energies, flat polynomials}/cblue}{ \node[draw=\col,rounded corners=3pt,fill=\col!9,align=center,text width=2.75cm,inner sep=2pt,font=\scriptsize,execute at begin node={\hyphenpenalty=10000}] (n\i) at ({6.15*cos(90-30*(\i-1))},{2.35*sin(90-30*(\i-1))}) {\textbf{\i.} \t}; \draw[\col!55,line width=.7pt] (c)--(n\i);} \end{tikzpicture} \caption{A map of the paper, in clock form. The sections dealing with the analytic line are in blue, those dealing with the arithmetic line are in gold, and the section dealing with the quantum algebraic line is in magenta.}\label{fig:map} \end{figure} More in detail, in section 1 we discuss the Fourier analysis of the circulant matrices, the criterion of Bj\"orck, the chirps, with their origins in radar, and the Gauss sums, and the relation with the biunimodular vectors and the mutually unbiased bases. In section 2 we discuss the cyclic $N$-roots, the families of Backelin, the conjecture of Bj\"orck and Saffari, and the classification at $N=4,6$, and in section 3 we prove the counting theorem of Haagerup, along with Theorem \ref{thm:c}, and we recompute the cyclic $11$-roots. In section 4 we discuss the circulant complex Hadamard matrices as ground states of a spin chain, the low temperature asymptotics of the partition function, and the contributions of the chirps. In section 5 we discuss the Butson case, with the eigenvalues being Weil numbers, and the Bj\"orck matrices of simple index $2$ and $3$, and in section 6 we review the cyclotomic fields, and discuss the self-conjugacy method of Turyn, and the field descent method of Schmidt. In section 7 we discuss the difference sets, cyclic or not, and prove the classification part of Theorem \ref{thm:b}, and in section 8 we discuss the spin models, and prove Theorem \ref{thm:a}, and the wildness part of Theorem \ref{thm:b}. In sections 9-10 we present the proof of the conjecture of Ryser from \cite{oai}, in a self-contained form, along with its consequences for the sidelobes and the Barker sequences, and the construction of Williamson, which uses $4$ circulant matrices. In section 11 we discuss the circulant almost Hadamard matrices, real and complex, and their versions for the $p$-norms, and prove Theorem \ref{thm:d}, and in section 12 we discuss the energies coming from the $p$-norms, and the flat polynomials. The open questions are discussed at the end of the corresponding sections. \section{Circulants and Fourier analysis}\label{sec:fourier} We use the Fourier matrix $F_N=(w^{ij})$, with $w=e^{2\pi i/N}$, and its columns $f_k=(w^{jk})_j$. The scalar products are linear at left, $\langle x,y\rangle=\sum_jx_j\bar y_j$. Given a function $h:\mathbb Z_N\to\mathbb C$, we let $H=(h_{j-i})_{ij}$ be the associated circulant matrix, and we use the following Fourier transform, which produces the eigenvalues of $H$: $$\lambda_k=\sum_th_tw^{kt}$$ The basic facts of Fourier analysis on $\mathbb Z_N$, which will be used throughout, are as follows, with the convolution being given by $(h*g)_t=\sum_sh_sg_{t-s}$: \begin{prop}\label{prop:fourier} For $h,g:\mathbb Z_N\to\mathbb C$, with Fourier transforms $\hat h_k=\sum_th_tw^{kt}$, we have: \begin{enumerate} \item Inversion: $h_t=\frac{1}{N}\sum_k\hat h_kw^{-kt}$. \item Plancherel: $\sum_k\hat h_k\overline{\hat g_k}=N\sum_th_t\bar g_t$. \item Convolution: $\widehat{h*g}=\hat h\hat g$. \end{enumerate} \end{prop} \begin{proof} All these formulae follow from $\sum_kw^{kt}=N\delta_{t0}$. For instance, for (2) we have $\sum_k\hat h_k\overline{\hat g_k}=\sum_{t,s}h_t\bar g_s\sum_kw^{k(t-s)}=N\sum_th_t\bar g_t$, and (1) and (3) are similar. \end{proof} The circulant matrices are the polynomials in the shift matrix $U=(\delta_{j,i+1})_{ij}$, because $H=\sum_th_tU^t$, and so they form a commutative algebra, the product of the circulant matrices associated to $h,g$ being the circulant matrix associated to $h*g$. Also, the Fourier transform turns this algebra into the algebra $\mathbb C^N$, with pointwise product. More precisely, we have the following result, which in relation with the Hadamard condition goes back to Bj\"orck \cite{bjo}: \begin{prop}\label{prop:diag} The circulant matrix $H$ associated to $h:\mathbb Z_N\to\mathbb C$ is diagonalized by the Fourier matrix, as follows, with $\lambda_k$ being the above Fourier transform of $h$: $$H=\frac{1}{N}\,F_N\,diag(\lambda_0,\ldots,\lambda_{N-1})F_N^*$$ In particular, $H$ is a complex Hadamard matrix precisely when $|h_t|=1$ for any $t$, and when $|\lambda_k|=\sqrt N$ for any $k$. \end{prop} \begin{proof} We have $(Hf_k)_i=\sum_jh_{j-i}w^{jk}=w^{ik}\sum_th_tw^{kt}=\lambda_k(f_k)_i$, which gives the formula, the vectors $f_k/\sqrt N$ being an orthonormal basis. Thus $HH^*=\frac{1}{N}F_N\,diag(|\lambda_k|^2)F_N^*$, and this equals $N1_N$ precisely when $|\lambda_k|^2=N$ for any $k$. \end{proof} As a first illustration, for $K_4$ we have $h=(-1,1,1,1)$, and so $\lambda_0=2$ and $\lambda_k=-2$ for $k\neq0$, and for the matrix $F_2'$ having first row $h=(1,i)$ we have $\lambda=(1+i,1-i)$. Equivalently, the Hadamard condition can be written in terms of the periodic autocorrelations of $h$, as $\sum_th_{t+s}\bar h_t=N\delta_{s0}$, because $|\lambda_k|^2$ is the Fourier transform of this autocorrelation function. With this, we have the following result, which shows that the circulant complex Hadamard matrices exist at any $N\geq1$: \begin{prop}\label{prop:chirp} The circulant matrices associated to the quadratic chirps $$h_t=\begin{cases} w^{at^2}&(N\ {\rm odd})\\ e^{\pi iat^2/N}&(N\ {\rm even}) \end{cases}$$ with $a$ prime to $N$, are complex Hadamard matrices, all equivalent to $F_N$. \end{prop} \begin{proof} For $N$ even, $a$ is odd, and since $(t+N)^2=t^2+2tN+N^2$, with $N$ even, the function $h$ is well-defined on $\mathbb Z_N$. Now with $\nu=2$ for $N$ odd, and $\nu=1$ for $N$ even, we have in both cases $h_{t+s}\bar h_t=h_sw^{\nu ast}$, and so: $$\sum_th_{t+s}\bar h_t=h_s\sum_tw^{\nu ast}=N\delta_{s0}$$ Here we have used the fact that $\nu a$ is invertible modulo $N$. As for the equivalence with $F_N$, we have $h_{j-i}=h_ih_jw^{-\nu aij}$, so $H$ is obtained from $F_N$ by permuting the columns via $j\to-\nu aj$, and then multiplying the rows and columns by scalars. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.9]; \filldraw[draw=black!70,fill=white] (1.90,0.00) circle[radius=2.2pt]; \node at (2.32,0.00) {$0$}; \filldraw[draw=black!70,fill=white] (1.18,1.49) circle[radius=2.2pt]; \node at (1.45,1.81) {$1$}; \filldraw[draw=black!70,fill=white] (-0.42,1.85) circle[radius=2.2pt]; \node at (-0.52,2.26) {$2$}; \filldraw[draw=black!70,fill=white] (-1.71,0.82) circle[radius=2.2pt]; \node at (-2.09,1.01) {$3$}; \filldraw[draw=black!70,fill=white] (-1.71,-0.82) circle[radius=2.2pt]; \node at (-2.09,-1.01) {$4$}; \filldraw[draw=black!70,fill=white] (-0.42,-1.85) circle[radius=2.2pt]; \node at (-0.52,-2.26) {$5$}; \filldraw[draw=black!70,fill=white] (1.18,-1.49) circle[radius=2.2pt]; \node at (1.45,-1.81) {$6$}; \draw[cblue,line width=1pt] (1.90,0.00)--(2.22,0.00); \draw[cblue,line width=1pt] (1.18,1.49)--(1.38,1.74); \draw[cblue,line width=1pt] (-0.42,1.85)--(-0.71,1.71); \draw[cblue,line width=1pt] (-1.71,0.82)--(-1.78,1.14); \draw[cblue,line width=1pt] (-1.71,-0.82)--(-1.78,-0.51); \draw[cblue,line width=1pt] (-0.42,-1.85)--(-0.71,-1.99); \draw[cblue,line width=1pt] (1.18,-1.49)--(1.38,-1.24); \draw[black!40] (0.00,0.00) circle[radius=1.0]; \filldraw[draw=black!70,fill=white] (1.00,0.00) circle[radius=2.2pt]; \filldraw[draw=black!70,fill=white] (0.62,0.78) circle[radius=2.2pt]; \filldraw[draw=black!70,fill=white] (-0.22,0.97) circle[radius=2.2pt]; \filldraw[draw=black!70,fill=white] (-0.90,0.43) circle[radius=2.2pt]; \filldraw[draw=black!70,fill=white] (-0.90,-0.43) circle[radius=2.2pt]; \filldraw[draw=black!70,fill=white] (-0.22,-0.97) circle[radius=2.2pt]; \filldraw[draw=black!70,fill=white] (0.62,-0.78) circle[radius=2.2pt]; \draw[cgold,line width=1pt] (1.00,0.00)--(1.00,0.28); \draw[cgold,line width=1pt] (0.62,0.78)--(0.90,0.72); \draw[cgold,line width=1pt] (-0.22,0.97)--(-0.00,1.15); \draw[cgold,line width=1pt] (-0.90,0.43)--(-1.02,0.18); \draw[cgold,line width=1pt] (-0.90,-0.43)--(-1.02,-0.69); \draw[cgold,line width=1pt] (-0.22,-0.97)--(-0.00,-0.80); \draw[cgold,line width=1pt] (0.62,-0.78)--(0.90,-0.84); \end{tikzpicture} \caption{The quadratic chirp $x_t=w^{t^2}$ at $N=7$, drawn as a clock diagram: the hand at the point $t$ of the outer circle points in the direction of $x_t$, and the hand at the point $k$ of the inner circle points in the direction of the eigenvalue $\lambda_k$, a Gauss sum, of modulus $\sqrt7$.}\label{fig:chirp} \end{figure} At $N$ odd, with $a=1$, the eigenvalues of the chirp are the quadratic Gauss sums $\lambda_k=\sum_tw^{t^2+kt}$, and the above result is the classical statement that these have modulus $\sqrt N$, as illustrated in Figure \ref{fig:chirp}, the figures in this paper being computed by the program {\tt draw.py}. The equivalence of the circulant matrices can be partly seen on $h$. Multiplying $H$ by a scalar, shifting $h$, or multiplying $h$ by a character, $h_t\to h_tw^{at}$, which amounts to multiplying the rows by $w^{-ai}$ and the columns by $w^{aj}$, produces equivalent circulant matrices, whose eigenvalues are multiplied by a scalar, or by a character, or shifted. Also, for $r$ invertible modulo $N$, the dilation $h_t\to h_{rt}$ amounts to permuting the rows and columns by $i\to ri$. We have: \begin{thm}\label{thm:circeq} The operations $h\to ch$ with $c\in\mathbb T$, $h_t\to h_{t+s}$, $h_t\to h_tw^{at}$ and $h_t\to h_{rt}$ with $r\in\mathbb Z_N^*$, together with the complex conjugation, and the transposition $h_t\to h_{-t}$, map circulant complex Hadamard matrices to circulant complex Hadamard matrices, and act on the eigenvalues by $\lambda_k\to c\lambda_k$, $\lambda_k\to w^{-ks}\lambda_k$, $\lambda_k\to\lambda_{k+a}$, $\lambda_k\to\lambda_{k/r}$, $\lambda_k\to\bar\lambda_{-k}$ and $\lambda_k\to\lambda_{-k}$. All these operations, except for the conjugation, produce equivalent matrices. \end{thm} \begin{proof} The formulae for the eigenvalues are clear from the definition of $\lambda_k$. As for the equivalence, the first 4 operations were discussed above, and the transposition produces the matrix $H^t=(h_{i-j})_{ij}$, which is the dilation of $H$ by $r=-1$, and so is equivalent to $H$. \end{proof} In quantum information terms, the circulant complex Hadamard matrices are related to the mutually unbiased bases. Recall that 2 orthonormal bases $\{e_i\}$ and $\{f_j\}$ of $\mathbb C^N$ are called unbiased when $|\langle e_i,f_j\rangle|=1/\sqrt N$ for any $i,j$, which amounts to saying that the change of basis matrix, rescaled by $\sqrt N$, is complex Hadamard. The maximal number of mutually unbiased bases in $\mathbb C^N$ is $N+1$, attained when $N$ is a prime power, and whether this number is attained at $N=6$ is a well-known open question, closely related to the classification of the complex Hadamard matrices of order $6$. A vector $x\in\mathbb T^N$ is called biunimodular when $\hat x_k=\sum_tx_tw^{kt}$ has modulus $\sqrt N$ for any $k$, and with this terminology, from \cite{bjo,fr,ha1}, we have: \begin{thm}\label{thm:mub} For a vector $x\in\mathbb T^N$, the following conditions are equivalent: \begin{enumerate} \item The circulant matrix with first row $x$ is a complex Hadamard matrix. \item $x$ is biunimodular. \item The shifts of $x/\sqrt N$ form an orthonormal basis, unbiased to both the standard basis, and the Fourier basis $\{f_k/\sqrt N\}$. \end{enumerate} \end{thm} \begin{proof} The equivalence $(1)\iff(2)$ is Proposition \ref{prop:diag}. Regarding (3), the shifts $x^{(i)}=(x_{j-i})_j$ are the rows of $H$, which form a basis of $\mathbb C^N$ which is orthogonal precisely when $H$ is Hadamard, and which is always unbiased to the standard basis, its entries having modulus $1$. Also, we have $\langle x^{(i)},f_k\rangle=\sum_jx_{j-i}w^{-jk}=w^{-ik}\hat x_{-k}$, so the unbiasedness to the Fourier basis amounts to $|\hat x_{-k}|=\sqrt N$ for any $k$, which is condition (2). \end{proof} In operator algebra terms, this is the statement that the circulant complex Hadamard matrices produce maximal abelian subalgebras of $M_N(\mathbb C)$ which are orthogonal to both the diagonal subalgebra, and to its Fourier transform, and this was the original motivation of Haagerup for studying these matrices \cite{ha1}. Recently, the unimodular cyclic $10$-roots, discussed in the next section, were used for proving that the standard and Fourier bases of $\mathbb C^{10}$ cannot be completed into a system of $4$ mutually unbiased bases \cite{yld}. The chirps owe their name to signal processing. For a signal $h_t=e^{i\phi(t)}$, the increment $\phi(t+1)-\phi(t)$ of the phase is the instantaneous frequency, and for $h_t=e^{\pi iat^2/N}$ this is $\pi a(2t+1)/N$, which grows linearly with $t$, so that, when played as a sound, the signal goes up in pitch, like the song of a bird. The chirps were used from 1951 on at Bell Labs, in classified work on radars, which was made public in \cite{kpd}, and their discrete versions, as polyphase sequences with perfect periodic autocorrelation, are known in coding theory as the Frank-Zadoff-Chu sequences \cite{chu,fzh}. The idea, called pulse compression, is that a long chirp of low power, sent by the radar, can be compressed at reception, by correlating it with the chirp itself, into a short peak of high power, because its autocorrelation is the same as that of an impulse, which in the periodic setting is the formula $\sum_th_{t+s}\bar h_t=N\delta_{s0}$ from the proof of Proposition \ref{prop:chirp}. Equivalently, the chirps have the same flat spectrum as an impulse, which is the fact that they are biunimodular: \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \fill[cgold!60!black] (-1.25,-0.62) rectangle (0.95,-0.56); \draw[cgold!60!black,line width=1pt] (-0.2,-0.38)--(-0.25,-0.59) (0.1,-0.38)--(0.12,-0.59); \fill[cblue] (-0.55,0.02)--(-1.15,0.32)--(-1.05,0.08)--(-1.2,-0.05)--(-0.55,-0.12)--cycle; \fill[cblue] (0,0) ellipse[x radius=0.62,y radius=0.42]; \fill[cblue] (0.55,0.38) circle[radius=0.27]; \fill[cblue!70!white] (-0.38,0.08) .. controls (-0.05,0.32) and (0.28,0.15) .. (0.3,-0.06) .. controls (0.05,-0.12) and (-0.2,-0.08) .. cycle; \fill[white] (0.62,0.45) circle[radius=0.07]; \fill[black] (0.64,0.45) circle[radius=0.035]; \fill[cgold] (0.78,0.44)--(1.08,0.52)--(0.8,0.36)--cycle; \fill[cgold] (0.8,0.32)--(1.05,0.22)--(0.77,0.26)--cycle; \draw[cblue,line width=0.8pt] (1.350,0.790) --(1.356,0.790) --(1.361,0.790) --(1.367,0.790) --(1.372,0.790) --(1.378,0.790) --(1.384,0.790) --(1.389,0.790) --(1.395,0.790) --(1.400,0.790) --(1.406,0.790) --(1.412,0.790) --(1.417,0.790) --(1.423,0.790) --(1.428,0.790) --(1.434,0.790) --(1.440,0.790) --(1.445,0.790) --(1.451,0.790) --(1.456,0.790) --(1.462,0.790) --(1.468,0.790) --(1.473,0.790) --(1.479,0.790) --(1.485,0.790) --(1.490,0.790) --(1.496,0.790) --(1.501,0.790) --(1.507,0.790) --(1.513,0.790) --(1.518,0.790) --(1.524,0.790) --(1.529,0.790) --(1.535,0.790) --(1.541,0.790) --(1.546,0.790) --(1.552,0.790) --(1.557,0.790) --(1.563,0.789) --(1.569,0.789) --(1.574,0.789) --(1.580,0.789) --(1.585,0.789) --(1.591,0.789) --(1.597,0.789) --(1.602,0.789) --(1.608,0.789) --(1.613,0.789) --(1.619,0.789) --(1.625,0.789) --(1.630,0.788) --(1.636,0.788) --(1.641,0.788) --(1.647,0.788) --(1.653,0.788) --(1.658,0.788) --(1.664,0.787) --(1.669,0.787) --(1.675,0.787) --(1.681,0.787) --(1.686,0.787) --(1.692,0.786) --(1.697,0.786) --(1.703,0.786) --(1.709,0.786) --(1.714,0.785) --(1.720,0.785) --(1.726,0.785) --(1.731,0.785) --(1.737,0.784) --(1.742,0.784) --(1.748,0.783) --(1.754,0.783) --(1.759,0.783) --(1.765,0.782) --(1.770,0.782) --(1.776,0.781) --(1.782,0.781) --(1.787,0.781) --(1.793,0.780) --(1.798,0.780) --(1.804,0.779) --(1.810,0.778) --(1.815,0.778) --(1.821,0.777) --(1.826,0.777) --(1.832,0.776) --(1.838,0.775) --(1.843,0.775) --(1.849,0.774) --(1.854,0.773) --(1.860,0.773) --(1.866,0.772) --(1.871,0.771) --(1.877,0.770) --(1.882,0.769) --(1.888,0.768) --(1.894,0.767) --(1.899,0.767) --(1.905,0.766) --(1.910,0.765) --(1.916,0.764) --(1.922,0.763) --(1.927,0.761) --(1.933,0.760) --(1.938,0.759) --(1.944,0.758) --(1.950,0.757) --(1.955,0.756) --(1.961,0.754) --(1.967,0.753) --(1.972,0.752) --(1.978,0.750) --(1.983,0.749) --(1.989,0.747) --(1.995,0.746) --(2.000,0.744) --(2.006,0.743) --(2.011,0.741) --(2.017,0.740) --(2.023,0.738) --(2.028,0.736) --(2.034,0.734) --(2.039,0.733) --(2.045,0.731) --(2.051,0.729) --(2.056,0.727) --(2.062,0.725) --(2.067,0.723) --(2.073,0.721) --(2.079,0.719) --(2.084,0.717) --(2.090,0.714) --(2.095,0.712) --(2.101,0.710) --(2.107,0.708) --(2.112,0.705) --(2.118,0.703) --(2.123,0.700) --(2.129,0.698) --(2.135,0.695) --(2.140,0.693) --(2.146,0.690) --(2.151,0.687) --(2.157,0.684) --(2.163,0.682) --(2.168,0.679) --(2.174,0.676) --(2.179,0.673) --(2.185,0.670) --(2.191,0.667) --(2.196,0.663) --(2.202,0.660) --(2.208,0.657) --(2.213,0.654) --(2.219,0.650) --(2.224,0.647) --(2.230,0.643) --(2.236,0.640) --(2.241,0.636) --(2.247,0.633) --(2.252,0.629) --(2.258,0.625) --(2.264,0.621) --(2.269,0.618) --(2.275,0.614) --(2.280,0.610) --(2.286,0.606) --(2.292,0.602) --(2.297,0.597) --(2.303,0.593) --(2.308,0.589) --(2.314,0.585) --(2.320,0.580) --(2.325,0.576) --(2.331,0.571) --(2.336,0.567) --(2.342,0.562) --(2.348,0.558) --(2.353,0.553) --(2.359,0.548) --(2.364,0.543) --(2.370,0.538) --(2.376,0.534) --(2.381,0.529) --(2.387,0.523) --(2.392,0.518) --(2.398,0.513) --(2.404,0.508) --(2.409,0.503) --(2.415,0.498) --(2.420,0.492) --(2.426,0.487) --(2.432,0.481) --(2.437,0.476) --(2.443,0.470) --(2.449,0.465) --(2.454,0.459) --(2.460,0.453) --(2.465,0.448) --(2.471,0.442) --(2.477,0.436) --(2.482,0.430) --(2.488,0.424) --(2.493,0.418) --(2.499,0.413) --(2.505,0.407) --(2.510,0.400) --(2.516,0.394) --(2.521,0.388) --(2.527,0.382) --(2.533,0.376) --(2.538,0.370) --(2.544,0.363) --(2.549,0.357) --(2.555,0.351) --(2.561,0.345) --(2.566,0.338) --(2.572,0.332) --(2.577,0.325) --(2.583,0.319) --(2.589,0.313) --(2.594,0.306) --(2.600,0.300) --(2.605,0.293) --(2.611,0.287) --(2.617,0.280) --(2.622,0.274) --(2.628,0.267) --(2.633,0.261) --(2.639,0.254) --(2.645,0.248) --(2.650,0.241) --(2.656,0.235) --(2.661,0.228) --(2.667,0.222) --(2.673,0.216) --(2.678,0.209) --(2.684,0.203) --(2.690,0.196) --(2.695,0.190) --(2.701,0.184) --(2.706,0.177) --(2.712,0.171) --(2.718,0.165) --(2.723,0.158) --(2.729,0.152) --(2.734,0.146) --(2.740,0.140) --(2.746,0.134) --(2.751,0.128) --(2.757,0.122) --(2.762,0.116) --(2.768,0.110) --(2.774,0.104) --(2.779,0.099) --(2.785,0.093) --(2.790,0.087) --(2.796,0.082) --(2.802,0.076) --(2.807,0.071) --(2.813,0.065) --(2.818,0.060) --(2.824,0.055) --(2.830,0.050) --(2.835,0.045) --(2.841,0.040) --(2.846,0.035) --(2.852,0.031) --(2.858,0.026) --(2.863,0.022) --(2.869,0.017) --(2.874,0.013) --(2.880,0.009) --(2.886,0.005) --(2.891,0.001) --(2.897,-0.003) --(2.902,-0.007) --(2.908,-0.010) --(2.914,-0.014) --(2.919,-0.017) --(2.925,-0.020) --(2.931,-0.023) --(2.936,-0.026) --(2.942,-0.028) --(2.947,-0.031) --(2.953,-0.033) --(2.959,-0.036) --(2.964,-0.038) --(2.970,-0.040) --(2.975,-0.042) --(2.981,-0.043) --(2.987,-0.045) --(2.992,-0.046) --(2.998,-0.047) --(3.003,-0.048) --(3.009,-0.049) --(3.015,-0.049) --(3.020,-0.050) --(3.026,-0.050) --(3.031,-0.050) --(3.037,-0.050) --(3.043,-0.050) --(3.048,-0.049) --(3.054,-0.048) --(3.059,-0.047) --(3.065,-0.046) --(3.071,-0.045) --(3.076,-0.044) --(3.082,-0.042) --(3.087,-0.040) --(3.093,-0.038) --(3.099,-0.036) --(3.104,-0.033) --(3.110,-0.031) --(3.115,-0.028) --(3.121,-0.025) --(3.127,-0.021) --(3.132,-0.018) --(3.138,-0.014) --(3.143,-0.010) --(3.149,-0.006) --(3.155,-0.002) --(3.160,0.003) --(3.166,0.007) --(3.172,0.012) --(3.177,0.017) --(3.183,0.023) --(3.188,0.028) --(3.194,0.034) --(3.200,0.040) --(3.205,0.046) --(3.211,0.052) --(3.216,0.059) --(3.222,0.065) --(3.228,0.072) --(3.233,0.079) --(3.239,0.086) --(3.244,0.094) --(3.250,0.101) --(3.256,0.109) --(3.261,0.117) --(3.267,0.125) --(3.272,0.133) --(3.278,0.142) --(3.284,0.150) --(3.289,0.159) --(3.295,0.168) --(3.300,0.177) --(3.306,0.186) --(3.312,0.195) --(3.317,0.205) --(3.323,0.214) --(3.328,0.224) --(3.334,0.234) --(3.340,0.243) --(3.345,0.253) --(3.351,0.264) --(3.356,0.274) --(3.362,0.284) --(3.368,0.294) --(3.373,0.305) --(3.379,0.315) --(3.384,0.326) --(3.390,0.337) --(3.396,0.347) --(3.401,0.358) --(3.407,0.369) --(3.413,0.380) --(3.418,0.390) --(3.424,0.401) --(3.429,0.412) --(3.435,0.423) --(3.441,0.434) --(3.446,0.445) --(3.452,0.455) --(3.457,0.466) --(3.463,0.477) --(3.469,0.487) --(3.474,0.498) --(3.480,0.509) --(3.485,0.519) --(3.491,0.530) --(3.497,0.540) --(3.502,0.550) --(3.508,0.560) --(3.513,0.570) --(3.519,0.580) --(3.525,0.590) --(3.530,0.600) --(3.536,0.609) --(3.541,0.618) --(3.547,0.628) --(3.553,0.637) --(3.558,0.645) --(3.564,0.654) --(3.569,0.663) --(3.575,0.671) --(3.581,0.679) --(3.586,0.687) --(3.592,0.694) --(3.597,0.702) --(3.603,0.709) --(3.609,0.716) --(3.614,0.722) --(3.620,0.728) --(3.625,0.735) --(3.631,0.740) --(3.637,0.746) --(3.642,0.751) --(3.648,0.756) --(3.654,0.761) --(3.659,0.765) --(3.665,0.769) --(3.670,0.772) --(3.676,0.776) --(3.682,0.779) --(3.687,0.781) --(3.693,0.784) --(3.698,0.786) --(3.704,0.787) --(3.710,0.788) --(3.715,0.789) --(3.721,0.790) --(3.726,0.790) --(3.732,0.790) --(3.738,0.789) --(3.743,0.788) --(3.749,0.787) --(3.754,0.785) --(3.760,0.783) --(3.766,0.781) --(3.771,0.778) --(3.777,0.775) --(3.782,0.771) --(3.788,0.767) --(3.794,0.763) --(3.799,0.758) --(3.805,0.753) --(3.810,0.747) --(3.816,0.741) --(3.822,0.735) --(3.827,0.729) --(3.833,0.722) --(3.838,0.714) --(3.844,0.707) --(3.850,0.699) --(3.855,0.690) --(3.861,0.682) --(3.866,0.673) --(3.872,0.663) --(3.878,0.654) --(3.883,0.644) --(3.889,0.634) --(3.895,0.623) --(3.900,0.612) --(3.906,0.601) --(3.911,0.590) --(3.917,0.579) --(3.923,0.567) --(3.928,0.555) --(3.934,0.542) --(3.939,0.530) --(3.945,0.517) --(3.951,0.505) --(3.956,0.492) --(3.962,0.478) --(3.967,0.465) --(3.973,0.452) --(3.979,0.438) --(3.984,0.425) --(3.990,0.411) --(3.995,0.397) --(4.001,0.383) --(4.007,0.369) --(4.012,0.355) --(4.018,0.341) --(4.023,0.327) --(4.029,0.314) --(4.035,0.300) --(4.040,0.286) --(4.046,0.272) --(4.051,0.258) --(4.057,0.245) --(4.063,0.231) --(4.068,0.218) --(4.074,0.205) --(4.079,0.192) --(4.085,0.179) --(4.091,0.166) --(4.096,0.154) --(4.102,0.141) --(4.107,0.129) --(4.113,0.118) --(4.119,0.106) --(4.124,0.095) --(4.130,0.084) --(4.136,0.074) --(4.141,0.064) --(4.147,0.054) --(4.152,0.044) --(4.158,0.035) --(4.164,0.027) --(4.169,0.018) --(4.175,0.010) --(4.180,0.003) --(4.186,-0.004) --(4.192,-0.011) --(4.197,-0.017) --(4.203,-0.022) --(4.208,-0.027) --(4.214,-0.032) --(4.220,-0.036) --(4.225,-0.040) --(4.231,-0.043) --(4.236,-0.045) --(4.242,-0.047) --(4.248,-0.049) --(4.253,-0.050) --(4.259,-0.050) --(4.264,-0.050) --(4.270,-0.049) --(4.276,-0.048) --(4.281,-0.046) --(4.287,-0.044) --(4.292,-0.041) --(4.298,-0.037) --(4.304,-0.033) --(4.309,-0.028) --(4.315,-0.023) --(4.320,-0.017) --(4.326,-0.011) --(4.332,-0.004) --(4.337,0.003) --(4.343,0.011) --(4.348,0.019) --(4.354,0.028) --(4.360,0.038) --(4.365,0.048) --(4.371,0.058) --(4.377,0.069) --(4.382,0.080) --(4.388,0.092) --(4.393,0.104) --(4.399,0.116) --(4.405,0.129) --(4.410,0.143) --(4.416,0.156) --(4.421,0.170) --(4.427,0.185) --(4.433,0.199) --(4.438,0.214) --(4.444,0.229) --(4.449,0.245) --(4.455,0.260) --(4.461,0.276) --(4.466,0.292) --(4.472,0.308) --(4.477,0.324) --(4.483,0.341) --(4.489,0.357) --(4.494,0.374) --(4.500,0.390) --(4.505,0.407) --(4.511,0.423) --(4.517,0.439) --(4.522,0.456) --(4.528,0.472) --(4.533,0.488) --(4.539,0.504) --(4.545,0.520) --(4.550,0.535) --(4.556,0.551) --(4.561,0.566) --(4.567,0.580) --(4.573,0.595) --(4.578,0.609) --(4.584,0.623) --(4.589,0.636) --(4.595,0.649) --(4.601,0.661) --(4.606,0.673) --(4.612,0.685) --(4.618,0.696) --(4.623,0.707) --(4.629,0.717) --(4.634,0.726) --(4.640,0.735) --(4.646,0.743) --(4.651,0.751) --(4.657,0.758) --(4.662,0.764) --(4.668,0.770) --(4.674,0.775) --(4.679,0.779) --(4.685,0.783) --(4.690,0.786) --(4.696,0.788) --(4.702,0.789) --(4.707,0.790) --(4.713,0.790) --(4.718,0.789) --(4.724,0.788) --(4.730,0.785) --(4.735,0.782) --(4.741,0.779) --(4.746,0.774) --(4.752,0.769) --(4.758,0.763) --(4.763,0.757) --(4.769,0.749) --(4.774,0.741) --(4.780,0.732) --(4.786,0.723) --(4.791,0.713) --(4.797,0.702) --(4.802,0.691) --(4.808,0.679) --(4.814,0.666) --(4.819,0.653) --(4.825,0.640) --(4.831,0.625) --(4.836,0.611) --(4.842,0.595) --(4.847,0.580) --(4.853,0.564) --(4.859,0.547) --(4.864,0.530) --(4.870,0.513) --(4.875,0.496) --(4.881,0.478) --(4.887,0.460) --(4.892,0.442) --(4.898,0.423) --(4.903,0.405) --(4.909,0.386) --(4.915,0.367) --(4.920,0.349) --(4.926,0.330) --(4.931,0.312) --(4.937,0.293) --(4.943,0.275) --(4.948,0.256) --(4.954,0.238) --(4.959,0.220) --(4.965,0.203) --(4.971,0.186) --(4.976,0.169) --(4.982,0.152) --(4.987,0.136) --(4.993,0.121) --(4.999,0.106) --(5.004,0.091) --(5.010,0.077) --(5.015,0.064) --(5.021,0.051) --(5.027,0.039) --(5.032,0.027) --(5.038,0.016) --(5.043,0.006) --(5.049,-0.003) --(5.055,-0.012) --(5.060,-0.019) --(5.066,-0.026) --(5.072,-0.032) --(5.077,-0.037) --(5.083,-0.042) --(5.088,-0.045) --(5.094,-0.048) --(5.100,-0.049) --(5.105,-0.050) --(5.111,-0.050) --(5.116,-0.049) --(5.122,-0.047) --(5.128,-0.044) --(5.133,-0.040) --(5.139,-0.035) --(5.144,-0.029) --(5.150,-0.022) --(5.156,-0.015) --(5.161,-0.006) --(5.167,0.003) --(5.172,0.013) --(5.178,0.024) --(5.184,0.036) --(5.189,0.048) --(5.195,0.062) --(5.200,0.076) --(5.206,0.090) --(5.212,0.106) --(5.217,0.122) --(5.223,0.139) --(5.228,0.156) --(5.234,0.173) --(5.240,0.192) --(5.245,0.210) --(5.251,0.229) --(5.256,0.249) --(5.262,0.269) --(5.268,0.289) --(5.273,0.309) --(5.279,0.329) --(5.284,0.350) --(5.290,0.370) --(5.296,0.391) --(5.301,0.412) --(5.307,0.432) --(5.313,0.453) --(5.318,0.473) --(5.324,0.493) --(5.329,0.513) --(5.335,0.532) --(5.341,0.551) --(5.346,0.570) --(5.352,0.588) --(5.357,0.606) --(5.363,0.623) --(5.369,0.639) --(5.374,0.655) --(5.380,0.670) --(5.385,0.685) --(5.391,0.698) --(5.397,0.711) --(5.402,0.723) --(5.408,0.734) --(5.413,0.744) --(5.419,0.753) --(5.425,0.762) --(5.430,0.769) --(5.436,0.775) --(5.441,0.780) --(5.447,0.784) --(5.453,0.787) --(5.458,0.789) --(5.464,0.790) --(5.469,0.790) --(5.475,0.788) --(5.481,0.786) --(5.486,0.782) --(5.492,0.777) --(5.497,0.772) --(5.503,0.765) --(5.509,0.757) --(5.514,0.748) --(5.520,0.738) --(5.525,0.727) --(5.531,0.715) --(5.537,0.702) --(5.542,0.688) --(5.548,0.673) --(5.554,0.657) --(5.559,0.641) --(5.565,0.623) --(5.570,0.605) --(5.576,0.587) --(5.582,0.567) --(5.587,0.548) --(5.593,0.527) --(5.598,0.506) --(5.604,0.485) --(5.610,0.464) --(5.615,0.442) --(5.621,0.420) --(5.626,0.397) --(5.632,0.375) --(5.638,0.352) --(5.643,0.330) --(5.649,0.308) --(5.654,0.285) --(5.660,0.263) --(5.666,0.242) --(5.671,0.220) --(5.677,0.199) --(5.682,0.179) --(5.688,0.159) --(5.694,0.140) --(5.699,0.121) --(5.705,0.103) --(5.710,0.086) --(5.716,0.069) --(5.722,0.054) --(5.727,0.039) --(5.733,0.026) --(5.738,0.013) --(5.744,0.001) --(5.750,-0.009) --(5.755,-0.018) --(5.761,-0.027) --(5.766,-0.034) --(5.772,-0.039) --(5.778,-0.044) --(5.783,-0.047) --(5.789,-0.049) --(5.795,-0.050) --(5.800,-0.049) --(5.806,-0.048) --(5.811,-0.044) --(5.817,-0.040) --(5.823,-0.034) --(5.828,-0.027) --(5.834,-0.019) --(5.839,-0.010) --(5.845,0.001) --(5.851,0.013) --(5.856,0.026) --(5.862,0.040) --(5.867,0.055) --(5.873,0.071) --(5.879,0.088) --(5.884,0.107) --(5.890,0.125) --(5.895,0.145) --(5.901,0.166) --(5.907,0.187) --(5.912,0.209) --(5.918,0.231) --(5.923,0.254) --(5.929,0.277) --(5.935,0.301) --(5.940,0.324) --(5.946,0.348) --(5.951,0.372) --(5.957,0.397) --(5.963,0.421) --(5.968,0.445) --(5.974,0.468) --(5.979,0.492) --(5.985,0.515) --(5.991,0.537) --(5.996,0.559) --(6.002,0.581) --(6.007,0.601) --(6.013,0.621) --(6.019,0.640) --(6.024,0.659) --(6.030,0.676) --(6.036,0.692) --(6.041,0.708) --(6.047,0.722) --(6.052,0.734) --(6.058,0.746) --(6.064,0.756) --(6.069,0.765) --(6.075,0.773) --(6.080,0.779) --(6.086,0.784) --(6.092,0.788) --(6.097,0.790) --(6.103,0.790) --(6.108,0.789) --(6.114,0.786) --(6.120,0.783) --(6.125,0.777) --(6.131,0.770) --(6.136,0.762) --(6.142,0.752) --(6.148,0.741) --(6.153,0.729) --(6.159,0.715) --(6.164,0.700) --(6.170,0.684) --(6.176,0.666) --(6.181,0.648) --(6.187,0.628) --(6.192,0.608) --(6.198,0.587) --(6.204,0.564) --(6.209,0.542) --(6.215,0.518) --(6.220,0.494) --(6.226,0.469) --(6.232,0.444) --(6.237,0.419) --(6.243,0.393) --(6.248,0.368) --(6.254,0.342) --(6.260,0.317) --(6.265,0.291) --(6.271,0.266) --(6.277,0.241) --(6.282,0.217) --(6.288,0.193) --(6.293,0.170) --(6.299,0.148) --(6.305,0.126) --(6.310,0.105) --(6.316,0.086) --(6.321,0.067) --(6.327,0.050) --(6.333,0.033) --(6.338,0.018) --(6.344,0.005) --(6.349,-0.007) --(6.355,-0.018) --(6.361,-0.027) --(6.366,-0.035) --(6.372,-0.041) --(6.377,-0.046) --(6.383,-0.049) --(6.389,-0.050) --(6.394,-0.050) --(6.400,-0.047) --(6.405,-0.044) --(6.411,-0.038) --(6.417,-0.031) --(6.422,-0.023) --(6.428,-0.012) --(6.433,-0.001) --(6.439,0.013) --(6.445,0.027) --(6.450,0.043) --(6.456,0.061) --(6.461,0.080) --(6.467,0.100) --(6.473,0.121) --(6.478,0.143) --(6.484,0.166) --(6.489,0.190) --(6.495,0.214) --(6.501,0.240) --(6.506,0.266) --(6.512,0.292) --(6.518,0.319) --(6.523,0.346) --(6.529,0.373) --(6.534,0.400) --(6.540,0.427) --(6.546,0.454) --(6.551,0.480) --(6.557,0.506) --(6.562,0.532) --(6.568,0.557) --(6.574,0.581) --(6.579,0.604) --(6.585,0.626) --(6.590,0.648) --(6.596,0.668) --(6.602,0.686) --(6.607,0.704) --(6.613,0.720) --(6.618,0.734) --(6.624,0.747) --(6.630,0.759) --(6.635,0.768) --(6.641,0.776) --(6.646,0.782) --(6.652,0.787) --(6.658,0.789) --(6.663,0.790) --(6.669,0.789) --(6.674,0.786) --(6.680,0.781) --(6.686,0.774) --(6.691,0.766) --(6.697,0.756) --(6.702,0.744) --(6.708,0.730) --(6.714,0.715) --(6.719,0.698) --(6.725,0.680) --(6.730,0.660) --(6.736,0.639) --(6.742,0.617) --(6.747,0.594) --(6.753,0.569) --(6.759,0.544) --(6.764,0.518) --(6.770,0.491) --(6.775,0.463) --(6.781,0.435) --(6.787,0.407) --(6.792,0.379) --(6.798,0.350) --(6.803,0.322) --(6.809,0.293) --(6.815,0.265) --(6.820,0.238) --(6.826,0.211) --(6.831,0.185) --(6.837,0.159) --(6.843,0.135) --(6.848,0.112) --(6.854,0.090) --(6.859,0.069) --(6.865,0.049) --(6.871,0.032) --(6.876,0.015) --(6.882,0.001) --(6.887,-0.012) --(6.893,-0.023) --(6.899,-0.033) --(6.904,-0.040) --(6.910,-0.045) --(6.915,-0.049) --(6.921,-0.050) --(6.927,-0.049) --(6.932,-0.047) --(6.938,-0.042) --(6.943,-0.035) --(6.949,-0.026) --(6.955,-0.016) --(6.960,-0.003) --(6.966,0.011) --(6.971,0.028) --(6.977,0.045) --(6.983,0.065) --(6.988,0.086) --(6.994,0.108) --(7.000,0.132) --(7.005,0.157) --(7.011,0.183) --(7.016,0.210) --(7.022,0.238) --(7.028,0.267) --(7.033,0.296) --(7.039,0.325) --(7.044,0.355) --(7.050,0.385) --(7.056,0.415) --(7.061,0.444) --(7.067,0.474) --(7.072,0.502) --(7.078,0.530) --(7.084,0.558) --(7.089,0.584) --(7.095,0.609) --(7.100,0.634) --(7.106,0.656) --(7.112,0.678) --(7.117,0.697) --(7.123,0.715) --(7.128,0.732) --(7.134,0.746) --(7.140,0.759) --(7.145,0.769) --(7.151,0.778) --(7.156,0.784) --(7.162,0.788) --(7.168,0.790) --(7.173,0.790) --(7.179,0.787) --(7.184,0.782) --(7.190,0.775) --(7.196,0.766) --(7.201,0.755) --(7.207,0.742) --(7.212,0.727) --(7.218,0.709) --(7.224,0.690) --(7.229,0.670) --(7.235,0.647) --(7.241,0.623) --(7.246,0.598) --(7.252,0.572) --(7.257,0.544) --(7.263,0.515) --(7.269,0.486) --(7.274,0.456) --(7.280,0.425) --(7.285,0.394) --(7.291,0.363) --(7.297,0.332) --(7.302,0.301) --(7.308,0.270) --(7.313,0.240) --(7.319,0.211) --(7.325,0.183) --(7.330,0.155) --(7.336,0.129) --(7.341,0.104) --(7.347,0.080) --(7.353,0.058) --(7.358,0.038) --(7.364,0.020) --(7.369,0.003) --(7.375,-0.011) --(7.381,-0.023) --(7.386,-0.033) --(7.392,-0.041) --(7.397,-0.046) --(7.403,-0.049) --(7.409,-0.050) --(7.414,-0.048) --(7.420,-0.044) --(7.425,-0.037) --(7.431,-0.029) --(7.437,-0.017) --(7.442,-0.004) --(7.448,0.012) --(7.453,0.029) --(7.459,0.049) --(7.465,0.071) --(7.470,0.094) --(7.476,0.119) --(7.482,0.145) --(7.487,0.173) --(7.493,0.202) --(7.498,0.232) --(7.504,0.263) --(7.510,0.294) --(7.515,0.326) --(7.521,0.359) --(7.526,0.391) --(7.532,0.423) --(7.538,0.455) --(7.543,0.487) --(7.549,0.517) --(7.554,0.547) --(7.560,0.576) --(7.566,0.604) --(7.571,0.630) --(7.577,0.655) --(7.582,0.678) --(7.588,0.699) --(7.594,0.719) --(7.599,0.736) --(7.605,0.751) --(7.610,0.764) --(7.616,0.774) --(7.622,0.782) --(7.627,0.787) --(7.633,0.790) --(7.638,0.790) --(7.644,0.787) --(7.650,0.782) --(7.655,0.775) --(7.661,0.765) --(7.666,0.752) --(7.672,0.737) --(7.678,0.720) --(7.683,0.701) --(7.689,0.679) --(7.694,0.656) --(7.700,0.631) --(7.706,0.604) --(7.711,0.575) --(7.717,0.546) --(7.723,0.515) --(7.728,0.483) --(7.734,0.450) --(7.739,0.417) --(7.745,0.384) --(7.751,0.350) --(7.756,0.317) --(7.762,0.284) --(7.767,0.251) --(7.773,0.219) --(7.779,0.188) --(7.784,0.159) --(7.790,0.130) --(7.795,0.103) --(7.801,0.078) --(7.807,0.055) --(7.812,0.033) --(7.818,0.014) --(7.823,-0.003) --(7.829,-0.017) --(7.835,-0.029) --(7.840,-0.038) --(7.846,-0.045) --(7.851,-0.049) --(7.857,-0.050) --(7.863,-0.048) --(7.868,-0.044) --(7.874,-0.037) --(7.879,-0.027) --(7.885,-0.015) --(7.891,0.000) --(7.896,0.018) --(7.902,0.038) --(7.907,0.060) --(7.913,0.084) --(7.919,0.110) --(7.924,0.138) --(7.930,0.167) --(7.935,0.198) --(7.941,0.230) --(7.947,0.263) --(7.952,0.297) --(7.958,0.331) --(7.964,0.366) --(7.969,0.401) --(7.975,0.435) --(7.980,0.469) --(7.986,0.503) --(7.992,0.535) --(7.997,0.566) --(8.003,0.597) --(8.008,0.625) --(8.014,0.652) --(8.020,0.677) --(8.025,0.700) --(8.031,0.720) --(8.036,0.738) --(8.042,0.754) --(8.048,0.767) --(8.053,0.777) --(8.059,0.784) --(8.064,0.789) --(8.070,0.790); \fill[cgold] (1.35,0.79) circle[radius=1.3pt]; \fill[cgold] (1.77,0.78) circle[radius=1.3pt]; \fill[cgold] (2.19,0.67) circle[radius=1.3pt]; \fill[cgold] (2.61,0.29) circle[radius=1.3pt]; \fill[cgold] (3.03,-0.05) circle[radius=1.3pt]; \fill[cgold] (3.45,0.45) circle[radius=1.3pt]; \fill[cgold] (3.87,0.67) circle[radius=1.3pt]; \fill[cgold] (4.29,-0.04) circle[radius=1.3pt]; \fill[cgold] (4.71,0.79) circle[radius=1.3pt]; \fill[cgold] (5.13,-0.04) circle[radius=1.3pt]; \fill[cgold] (5.55,0.67) circle[radius=1.3pt]; \fill[cgold] (5.97,0.45) circle[radius=1.3pt]; \fill[cgold] (6.39,-0.05) circle[radius=1.3pt]; \fill[cgold] (6.81,0.29) circle[radius=1.3pt]; \fill[cgold] (7.23,0.67) circle[radius=1.3pt]; \fill[cgold] (7.65,0.78) circle[radius=1.3pt]; \node[below] at (4.71,-0.25) {$Re(e^{\pi it^2/16})$}; \fill[cgold] (9.00,-0.5) rectangle (9.11,0.9); \fill[cgold] (9.16,-0.5) rectangle (9.27,0.9); \fill[cgold] (9.32,-0.5) rectangle (9.43,0.9); \fill[cgold] (9.48,-0.5) rectangle (9.59,0.9); \fill[cgold] (9.64,-0.5) rectangle (9.75,0.9); \fill[cgold] (9.80,-0.5) rectangle (9.91,0.9); \fill[cgold] (9.96,-0.5) rectangle (10.07,0.9); \fill[cgold] (10.12,-0.5) rectangle (10.23,0.9); \fill[cgold] (10.28,-0.5) rectangle (10.39,0.9); \fill[cgold] (10.44,-0.5) rectangle (10.55,0.9); \fill[cgold] (10.60,-0.5) rectangle (10.71,0.9); \fill[cgold] (10.76,-0.5) rectangle (10.87,0.9); \fill[cgold] (10.92,-0.5) rectangle (11.03,0.9); \fill[cgold] (11.08,-0.5) rectangle (11.19,0.9); \fill[cgold] (11.24,-0.5) rectangle (11.35,0.9); \fill[cgold] (11.40,-0.5) rectangle (11.51,0.9); \draw[black!40] (8.90,-0.5)--(11.56,-0.5); \node[below] at (10.28,-0.5) {$|\widehat h_k|=4$}; \end{tikzpicture} \caption{The chirp $h_t=e^{\pi it^2/N}$ at $N=16$, as sung by a bird, with the real parts of $h_t$ in gold, on a wave whose frequency grows linearly, and as seen by Fourier, the moduli of the Fourier coefficients $\widehat h_k$ being all equal to $\sqrt{16}=4$.}\label{fig:bird} \end{figure} We will meet the signal processing again in sections \ref{sec:ahm} and \ref{sec:energies}. The modulus of the Gauss sums was used in Proposition \ref{prop:chirp}, via the autocorrelations. Their exact value, found by Gauss, is as follows, with the proof below being due to Dirichlet, and being analytic: \begin{thm}\label{thm:gausssum} For any $N\geq1$, the Gauss sum $G_N=\sum_{t\in\mathbb Z_N}w^{t^2}$ is given by $$G_N=\frac{(1+i)(1+i^{-N})}{2}\sqrt N$$ that is, $G_N=\sqrt N,0,i\sqrt N,(1+i)\sqrt N$, according to the class of $N$ modulo $4$, being $1,2,3,0$. \end{thm} \begin{proof} Consider the function $\varphi(x)=\sum_{t=0}^{N-1}e^{2\pi i(x+t)^2/N}$, for $x\in[0,1]$. Since $e^{2\pi iN^2/N}=1$, we have $\varphi(1)=\varphi(0)=G_N$, so $\varphi$ extends into a continuous $1$-periodic function, which is smooth on each interval $[n,n+1]$, and by the Dirichlet theorem, its Fourier series converges to it at every point. At $x=0$ we obtain $G_N=\sum_mc_m$, the sum being the limit of the symmetric partial sums, where, with the changes of variables $y=x+t$ and $u=y-mN/2$: $$c_m=\int_0^1\varphi(x)e^{-2\pi imx}dx=\int_0^Ne^{2\pi i(y^2/N-my)}dy=e^{-\pi iNm^2/2}\int_{-mN/2}^{N-mN/2}e^{2\pi iu^2/N}du$$ For $m=2k$ the exponential factor is $1$, and the interval is $[-kN,-kN+N]$. For $m=2k+1$ the factor is $i^{-N}$, because $m^2=1$ modulo $8$, and the interval is $[-kN-N/2,-kN+N/2]$. Thus, the sum of the terms with $|m|\leq2K+1$ is given by: $$\sum_{|m|\leq2K+1}c_m=\int_{-KN}^{(K+1)N}e^{2\pi iu^2/N}du+i^{-N}\int_{-KN-N/2}^{(K+1)N+N/2}e^{2\pi iu^2/N}du$$ With $K\to\infty$, and with the Fresnel integral $\int_{\mathbb R}e^{2\pi iu^2/N}du=(1+i)\sqrt N/2$, we obtain the result. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[cblue,line width=.6pt] (0.00,0.00)--(0.55,0.00)--(1.09,0.08)--(1.54,0.40)--(1.65,0.94)--(1.22,1.29)--(0.80,0.94)--(1.20,0.56)--(1.38,1.08)--(0.87,0.87)--(1.42,0.79)--(0.90,0.99)--(1.43,0.83)--(0.88,0.78)--(1.28,1.17)--(1.38,0.63)--(0.83,0.67)--(0.85,1.22)--(1.38,1.38)--(1.83,1.07)--(2.01,0.55)--(2.04,0.00)--(2.06,-0.55)--(2.24,-1.07)--(2.69,-1.38)--(3.22,-1.22)--(3.24,-0.67)--(2.69,-0.63)--(2.79,-1.17)--(3.19,-0.78)--(2.64,-0.83)--(3.17,-0.99)--(2.66,-0.79)--(3.20,-0.87)--(2.69,-1.08)--(2.88,-0.56)--(3.27,-0.94)--(2.85,-1.29)--(2.42,-0.94)--(2.53,-0.40)--(2.98,-0.08)--(3.52,-0.00); \fill[cgold] (0.00,0.00) circle[radius=1.8pt]; \fill[cgold] (3.52,-0.00) circle[radius=1.8pt]; \node[right] at (3.52,-0.00) {$G_{41}$}; \draw[cblue,line width=.6pt] (6.50,0.00)--(7.05,0.00)--(7.59,0.08)--(8.05,0.38)--(8.19,0.92)--(7.81,1.31)--(7.33,1.04)--(7.62,0.57)--(7.97,1.00)--(7.42,1.04)--(7.83,0.67)--(7.58,1.16)--(7.79,0.65)--(7.47,1.10)--(7.97,0.87)--(7.46,0.67)--(7.52,1.22)--(8.04,1.06)--(7.94,0.52)--(7.41,0.40)--(6.97,0.73)--(6.80,1.25)--(6.78,1.80)--(6.75,2.35)--(6.58,2.87)--(6.14,3.21)--(5.61,3.09)--(5.51,2.55)--(6.03,2.39)--(6.09,2.94)--(5.58,2.74)--(6.08,2.51)--(5.76,2.95)--(5.97,2.45)--(5.72,2.94)--(6.13,2.57)--(5.58,2.61)--(5.93,3.03)--(6.22,2.56)--(5.74,2.29)--(5.36,2.69)--(5.50,3.22)--(5.96,3.53)--(6.50,3.61); \fill[cgold] (6.50,0.00) circle[radius=1.8pt]; \fill[cgold] (6.50,3.61) circle[radius=1.8pt]; \node[right] at (6.50,3.61) {$G_{43}$}; \end{tikzpicture} \caption{The partial sums $\sum_{t\leq T}w^{t^2}$, for $T=0,\ldots,N-1$, at $N=41$ and $N=43$, going from $0$ to the Gauss sums $G_{41}=\sqrt{41}$ and $G_{43}=i\sqrt{43}$, and forming discrete versions of the spiral of the Fresnel integral.}\label{fig:gausssum} \end{figure} In particular, for $p$ prime with $p=1(4)$ the quadratic Gauss sum is $\sqrt p$, and for $p=3(4)$ it is $i\sqrt p$, which was the famous sign question of Gauss. The partial sums of $G_N$ form discrete versions of the spiral of the Fresnel integral, as shown in Figure \ref{fig:gausssum}. As a consequence, we can compute the spectrum of the chirps, as follows: \begin{prop}\label{prop:chirpspec} For $N$ odd, the eigenvalues of the chirp $h_t=w^{t^2}$ are $\lambda_k=w^{-c^2k^2}G_N$, with $c=(N+1)/2$ being the inverse of $2$ modulo $N$. \end{prop} \begin{proof} We have $t^2+kt=(t+ck)^2-c^2k^2$ modulo $N$, because $2c=1$, and so $\lambda_k=\sum_tw^{t^2+kt}=w^{-c^2k^2}\sum_tw^{(t+ck)^2}=w^{-c^2k^2}G_N$. \end{proof} Thus the hands on the inner circle in Figure \ref{fig:chirp} turn quadratically too, the chirps being, up to constants, their own Fourier transforms. This self-duality is a manifestation of the fact that the Fourier transform of a Gaussian function is again Gaussian. \section{Cyclic roots, after Bj\"orck}\label{sec:cyclic} In this section we discuss the cyclic $N$-roots of Bj\"orck \cite{bjo}, which are the algebraic counterpart of the circulant complex Hadamard matrices. The definition is as follows: \begin{defn} A cyclic $N$-root is a vector $z\in\mathbb C^N$, with indices in $\mathbb Z_N$, such that $$\sum_jz_jz_{j+1}\ldots z_{j+k-1}=0$$ for $k=1,\ldots,N-1$, and such that $z_0z_1\ldots z_{N-1}=1$. \end{defn} The connection with the circulant matrices is best seen by writing $z_j=x_{j+1}/x_j$. Following Haagerup \cite{ha2}, we have the following result, which shows that the cyclic $N$-roots are the complex solutions of the circulant Hadamard equations: \begin{prop}\label{prop:xlevel} The map $x\to z$ given by $z_j=x_{j+1}/x_j$ is a bijection between the vectors $x\in(\mathbb C^*)^N$ with $x_0=1$ satisfying $$\sum_jx_{j+k}x_j^{-1}=0\quad,\quad\forall k\neq0$$ and the cyclic $N$-roots. The unimodular solutions $x$ correspond to the unimodular cyclic $N$-roots, and to the circulant complex Hadamard matrices with $h_0=1$. \end{prop} \begin{proof} For $x\in(\mathbb C^*)^N$ we have $z_0\ldots z_{N-1}=1$, and $z_jz_{j+1}\ldots z_{j+k-1}=x_{j+k}/x_j$, so the equations correspond. Conversely, a cyclic $N$-root has nonzero entries, because $z_0\ldots z_{N-1}=1$, and $x_j=z_0\ldots z_{j-1}$, for $j=0,\ldots,N-1$, is well-defined on $\mathbb Z_N$, because $x_N=1=x_0$. Finally, $x$ is unimodular precisely when $z$ is, and in this case $x_j^{-1}=\bar x_j$, and the equations are the orthogonality of the rows of the circulant matrix associated to $x$. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.7]; \filldraw[draw=black!70,fill=white] (1.70,0.00) circle[radius=2.2pt]; \node at (2.21,0.00) {$x_0$}; \filldraw[draw=black!70,fill=white] (0.85,1.47) circle[radius=2.2pt]; \node at (1.11,1.91) {$x_1$}; \filldraw[draw=black!70,fill=white] (-0.85,1.47) circle[radius=2.2pt]; \node at (-1.10,1.91) {$x_2$}; \filldraw[draw=black!70,fill=white] (-1.70,0.00) circle[radius=2.2pt]; \node at (-2.21,0.00) {$x_3$}; \filldraw[draw=black!70,fill=white] (-0.85,-1.47) circle[radius=2.2pt]; \node at (-1.11,-1.91) {$x_4$}; \filldraw[draw=black!70,fill=white] (0.85,-1.47) circle[radius=2.2pt]; \node at (1.11,-1.91) {$x_5$}; \draw[cblue,line width=1pt,->,>=stealth] (1.28,0.74)--(0.90,0.59); \draw[cblue,line width=1pt,->,>=stealth] (0.00,1.47)--(0.00,1.87); \draw[cblue,line width=1pt,->,>=stealth] (-1.27,0.74)--(-0.90,0.59); \draw[cblue,line width=1pt,->,>=stealth] (-1.28,-0.74)--(-1.65,-0.59); \draw[cblue,line width=1pt,->,>=stealth] (-0.00,-1.47)--(-0.00,-1.87); \draw[cblue,line width=1pt,->,>=stealth] (1.28,-0.74)--(1.65,-0.59); \draw[cgold,line width=1pt] (4.30,0.60)--(3.79,0.40)--(3.79,0.95)--(4.30,0.75)--(3.79,0.95)--(3.79,0.40)--(4.30,0.60); \fill[cgold] (4.30,0.60) circle[radius=1.4pt]; \fill[cgold] (3.79,0.40) circle[radius=1.4pt]; \fill[cgold] (3.79,0.95) circle[radius=1.4pt]; \fill[cgold] (4.30,0.75) circle[radius=1.4pt]; \fill[cgold] (3.79,0.95) circle[radius=1.4pt]; \fill[cgold] (3.79,0.40) circle[radius=1.4pt]; \node at (5.45,1.05) {$k=1$}; \draw[cgold,line width=1pt] (4.30,-1.30)--(4.50,-1.81)--(4.70,-1.30)--(4.30,-0.93)--(4.50,-0.41)--(4.70,-0.93)--(4.30,-1.30); \fill[cgold] (4.30,-1.30) circle[radius=1.4pt]; \fill[cgold] (4.50,-1.81) circle[radius=1.4pt]; \fill[cgold] (4.70,-1.30) circle[radius=1.4pt]; \fill[cgold] (4.30,-0.93) circle[radius=1.4pt]; \fill[cgold] (4.50,-0.41) circle[radius=1.4pt]; \fill[cgold] (4.70,-0.93) circle[radius=1.4pt]; \node at (5.45,-0.85) {$k=2$}; \end{tikzpicture} \caption{The matrix $BF_6$ as a gauge field on the ring: the arrow on the edge from $x_j$ to $x_{j+1}$ is the cyclic root $z_j=x_{j+1}/x_j$. At right, the products $z_jz_{j+1}\ldots z_{j+k-1}$ along the $6$ arcs of length $k$, placed head to tail, close up into a polygon, which is the equation $\sigma_k=0$, here for $k=1,2$.}\label{fig:gauge} \end{figure} Figure \ref{fig:gauge} shows this correspondence for the matrix $BF_6$, with the cyclic root drawn as a gauge field on the ring. The symmetries in Theorem \ref{thm:circeq} act on the cyclic $N$-roots, the shift $x_j\to x_{j+s}/x_s$ corresponding to the cyclic shift of $z$, the character twist $x_j\to x_jw^{aj}$ corresponding to $z\to w^az$, the transposition corresponding to the reversal $z_j\to z_{-j-1}^{-1}$, and the inversion $x\to x^{-1}$, which corresponds to the complex conjugation in the unimodular case, being given by $z\to z^{-1}$. In contrast with the unimodular case, the cyclic $N$-roots are not always isolated, the basic result here being as follows: \begin{thm}\label{thm:backelin} Assume that $m^2|N$, with $m\geq2$, and let $g$ be a quadratic chirp of order $N$, as in Proposition \ref{prop:chirp}. Then, for any $c\in(\mathbb C^*)^m$, extended by $m$-periodicity to $\mathbb Z_N$, the vector $$x_t=c_tg_t$$ satisfies the equations in Proposition \ref{prop:xlevel}. In particular, there are infinitely many cyclic $N$-roots, forming an algebraic set of dimension $\geq m-1$, and the circulant complex Hadamard matrices of order $N$ contain an $(m-1)$-dimensional real family, given by $c\in\mathbb T^m$. \end{thm} \begin{proof} Let $n=N/m$, so that $m|n$. With notations from the proof of Proposition \ref{prop:chirp}, we have $g_{j+k}g_j^{-1}=g_kw^{\nu akj}$, and so, by writing $j=r+mb$, with $0\leq r] (-2.6,0)--(2.6,0); \draw[black!20,->] (0,-2.6)--(0,2.6); \draw[cblue,line width=.4pt] (0.00,0.00)--(0.03,0.03)--(0.06,0.09)--(0.07,0.15)--(0.05,0.22)--(0.02,0.27)--(-0.02,0.31)--(-0.06,0.33)--(-0.09,0.36)--(-0.13,0.37)--(-0.17,0.38)--(-0.20,0.38)--(-0.24,0.39)--(-0.27,0.39)--(-0.30,0.38)--(-0.32,0.38)--(-0.35,0.37)--(-0.38,0.36)--(-0.40,0.35)--(-0.43,0.34)--(-0.45,0.33)--(-0.47,0.31)--(-0.49,0.30)--(-0.51,0.28)--(-0.52,0.26)--(-0.53,0.24)--(-0.55,0.22)--(-0.55,0.20)--(-0.56,0.17)--(-0.56,0.15)--(-0.56,0.13)--(-0.56,0.11)--(-0.56,0.09)--(-0.55,0.07)--(-0.54,0.06)--(-0.54,0.05)--(-0.53,0.03)--(-0.52,0.02)--(-0.51,0.01)--(-0.50,0.01)--(-0.50,-0.00); \fill[cgold] (-0.50,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-0.40,1.24)--(-0.37,1.27)--(-0.33,1.31)--(-0.31,1.37)--(-0.29,1.43)--(-0.29,1.50)--(-0.31,1.56)--(-0.33,1.62)--(-0.36,1.67)--(-0.39,1.71)--(-0.42,1.75)--(-0.45,1.79)--(-0.47,1.82)--(-0.50,1.85)--(-0.53,1.88)--(-0.56,1.91)--(-0.59,1.94)--(-0.62,1.97)--(-0.65,2.00)--(-0.68,2.03)--(-0.70,2.06)--(-0.73,2.09)--(-0.76,2.12)--(-0.79,2.15)--(-0.82,2.19)--(-0.84,2.23)--(-0.87,2.27)--(-0.90,2.31)--(-0.93,2.36)--(-0.95,2.41); \draw[cblue,line width=.4pt] (0.00,0.00)--(0.07,0.00)--(0.16,0.00)--(0.25,-0.03)--(0.33,-0.09)--(0.38,-0.15)--(0.42,-0.21)--(0.44,-0.26)--(0.47,-0.31)--(0.48,-0.35)--(0.50,-0.40)--(0.51,-0.44)--(0.52,-0.47)--(0.53,-0.51)--(0.53,-0.54)--(0.54,-0.58)--(0.54,-0.61)--(0.55,-0.64)--(0.55,-0.67)--(0.55,-0.70)--(0.55,-0.73)--(0.55,-0.75)--(0.55,-0.78)--(0.55,-0.81)--(0.54,-0.83)--(0.54,-0.86)--(0.53,-0.89)--(0.53,-0.91)--(0.52,-0.94)--(0.52,-0.96)--(0.51,-0.99)--(0.50,-1.01)--(0.49,-1.04)--(0.48,-1.06)--(0.47,-1.09)--(0.46,-1.11)--(0.45,-1.14)--(0.44,-1.16)--(0.43,-1.19)--(0.41,-1.21)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.05,0.01)--(0.10,0.02)--(0.18,0.02)--(0.26,-0.00)--(0.33,-0.04)--(0.39,-0.09)--(0.43,-0.14)--(0.47,-0.18)--(0.50,-0.23)--(0.52,-0.27)--(0.55,-0.32)--(0.56,-0.36)--(0.58,-0.40)--(0.59,-0.44)--(0.60,-0.48)--(0.61,-0.51)--(0.62,-0.55)--(0.62,-0.59)--(0.63,-0.62)--(0.63,-0.66)--(0.63,-0.69)--(0.63,-0.72)--(0.62,-0.76)--(0.62,-0.79)--(0.61,-0.82)--(0.61,-0.85)--(0.60,-0.88)--(0.59,-0.91)--(0.58,-0.94)--(0.57,-0.97)--(0.55,-1.00)--(0.54,-1.03)--(0.53,-1.05)--(0.51,-1.08)--(0.49,-1.11)--(0.48,-1.13)--(0.46,-1.16)--(0.44,-1.19)--(0.42,-1.21)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.03,0.00)--(0.06,0.01)--(0.10,0.01)--(0.14,0.03)--(0.18,0.05)--(0.22,0.08)--(0.25,0.12)--(0.28,0.16)--(0.30,0.21)--(0.31,0.25)--(0.32,0.29)--(0.33,0.33)--(0.33,0.37)--(0.33,0.41)--(0.33,0.44)--(0.34,0.48)--(0.34,0.51)--(0.34,0.55)--(0.33,0.58)--(0.33,0.61)--(0.33,0.64)--(0.33,0.68)--(0.33,0.71)--(0.33,0.74)--(0.33,0.77)--(0.33,0.80)--(0.33,0.84)--(0.34,0.87)--(0.34,0.90)--(0.34,0.93)--(0.34,0.96)--(0.35,1.00)--(0.35,1.03)--(0.36,1.06)--(0.37,1.09)--(0.37,1.12)--(0.38,1.15)--(0.39,1.18)--(0.39,1.21)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.05,0.76)--(1.08,0.80)--(1.11,0.87)--(1.14,0.97)--(1.21,1.08)--(1.28,1.16)--(1.35,1.23)--(1.42,1.29)--(1.48,1.34)--(1.54,1.39)--(1.59,1.43)--(1.64,1.47)--(1.68,1.51)--(1.73,1.54)--(1.77,1.58)--(1.81,1.61)--(1.85,1.63)--(1.89,1.66)--(1.93,1.68); \draw[cblue,line width=.4pt] (0.00,0.00)--(0.02,-0.01)--(0.05,-0.03)--(0.09,-0.04)--(0.14,-0.04)--(0.19,-0.04)--(0.23,-0.02)--(0.28,0.01)--(0.31,0.04)--(0.34,0.07)--(0.37,0.11)--(0.38,0.15)--(0.40,0.18)--(0.41,0.22)--(0.42,0.25)--(0.43,0.29)--(0.44,0.32)--(0.44,0.35)--(0.44,0.39)--(0.45,0.42)--(0.45,0.45)--(0.45,0.48)--(0.45,0.52)--(0.45,0.55)--(0.45,0.58)--(0.45,0.62)--(0.45,0.65)--(0.45,0.69)--(0.44,0.72)--(0.44,0.76)--(0.44,0.80)--(0.44,0.84)--(0.43,0.88)--(0.43,0.92)--(0.43,0.96)--(0.43,1.00)--(0.42,1.05)--(0.42,1.09)--(0.41,1.14)--(0.41,1.19)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.04,0.02)--(-0.09,0.04)--(-0.14,0.05)--(-0.21,0.05)--(-0.27,0.03)--(-0.32,0.01)--(-0.36,-0.03)--(-0.40,-0.06)--(-0.43,-0.09)--(-0.45,-0.12)--(-0.47,-0.15)--(-0.49,-0.18)--(-0.51,-0.21)--(-0.53,-0.24)--(-0.54,-0.26)--(-0.56,-0.29)--(-0.57,-0.31)--(-0.59,-0.34)--(-0.60,-0.36)--(-0.62,-0.38)--(-0.63,-0.40)--(-0.65,-0.43)--(-0.66,-0.45)--(-0.68,-0.47)--(-0.70,-0.49)--(-0.71,-0.51)--(-0.73,-0.53)--(-0.75,-0.55)--(-0.77,-0.57)--(-0.79,-0.59)--(-0.81,-0.61)--(-0.83,-0.63)--(-0.86,-0.65)--(-0.88,-0.67)--(-0.91,-0.68)--(-0.93,-0.70)--(-0.96,-0.72)--(-0.99,-0.73)--(-1.02,-0.75)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.06,-0.04)--(0.13,-0.12)--(0.18,-0.24)--(0.16,-0.37)--(0.12,-0.46)--(0.07,-0.52)--(0.03,-0.58)--(-0.02,-0.62)--(-0.06,-0.66)--(-0.10,-0.69)--(-0.14,-0.72)--(-0.18,-0.75)--(-0.21,-0.77)--(-0.25,-0.79)--(-0.28,-0.81)--(-0.32,-0.83)--(-0.35,-0.84)--(-0.39,-0.85)--(-0.42,-0.86)--(-0.45,-0.87)--(-0.49,-0.87)--(-0.52,-0.88)--(-0.55,-0.88)--(-0.58,-0.88)--(-0.61,-0.89)--(-0.64,-0.88)--(-0.68,-0.88)--(-0.71,-0.88)--(-0.74,-0.88)--(-0.77,-0.87)--(-0.80,-0.86)--(-0.83,-0.86)--(-0.85,-0.85)--(-0.88,-0.84)--(-0.91,-0.83)--(-0.94,-0.82)--(-0.97,-0.81)--(-1.00,-0.79)--(-1.02,-0.78)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.05,-0.76)--(1.09,-0.72)--(1.15,-0.65)--(1.26,-0.56)--(1.43,-0.51)--(1.59,-0.52)--(1.72,-0.55)--(1.83,-0.59)--(1.92,-0.63)--(2.01,-0.67)--(2.08,-0.71)--(2.15,-0.75)--(2.21,-0.80)--(2.27,-0.84)--(2.32,-0.88)--(2.37,-0.93)--(2.41,-0.97); \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.01,0.02)--(-0.03,0.05)--(-0.05,0.07)--(-0.08,0.09)--(-0.10,0.10)--(-0.13,0.11)--(-0.15,0.12)--(-0.17,0.12)--(-0.19,0.13)--(-0.22,0.13)--(-0.24,0.14)--(-0.26,0.14)--(-0.28,0.15)--(-0.30,0.15)--(-0.32,0.16)--(-0.34,0.16)--(-0.36,0.17)--(-0.38,0.17)--(-0.41,0.18)--(-0.43,0.19)--(-0.45,0.19)--(-0.48,0.20)--(-0.50,0.21)--(-0.53,0.22)--(-0.56,0.23)--(-0.59,0.25)--(-0.62,0.26)--(-0.65,0.28)--(-0.68,0.30)--(-0.71,0.33)--(-0.75,0.35)--(-0.78,0.38)--(-0.82,0.42)--(-0.85,0.45)--(-0.89,0.49)--(-0.92,0.54)--(-0.96,0.59)--(-0.99,0.64)--(-1.02,0.70)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.02,-0.04)--(0.05,-0.08)--(0.09,-0.13)--(0.14,-0.16)--(0.19,-0.18)--(0.25,-0.19)--(0.30,-0.20)--(0.35,-0.19)--(0.40,-0.19)--(0.44,-0.18)--(0.48,-0.17)--(0.51,-0.16)--(0.54,-0.15)--(0.58,-0.13)--(0.61,-0.12)--(0.64,-0.11)--(0.67,-0.10)--(0.69,-0.09)--(0.72,-0.08)--(0.75,-0.07)--(0.78,-0.06)--(0.80,-0.05)--(0.83,-0.04)--(0.86,-0.03)--(0.89,-0.03)--(0.91,-0.02)--(0.94,-0.01)--(0.97,-0.01)--(1.00,-0.00)--(1.03,0.00)--(1.05,0.01)--(1.08,0.01)--(1.11,0.01)--(1.14,0.01)--(1.17,0.01)--(1.20,0.01)--(1.22,0.01)--(1.25,0.01)--(1.28,0.00)--(1.30,-0.00); \fill[cgold] (1.30,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.03,0.06)--(-0.07,0.11)--(-0.11,0.14)--(-0.15,0.17)--(-0.19,0.19)--(-0.23,0.21)--(-0.27,0.22)--(-0.30,0.24)--(-0.34,0.25)--(-0.37,0.27)--(-0.40,0.28)--(-0.43,0.29)--(-0.46,0.30)--(-0.49,0.32)--(-0.52,0.33)--(-0.55,0.34)--(-0.57,0.35)--(-0.60,0.37)--(-0.62,0.38)--(-0.64,0.39)--(-0.67,0.41)--(-0.69,0.42)--(-0.71,0.44)--(-0.73,0.45)--(-0.75,0.47)--(-0.78,0.48)--(-0.80,0.50)--(-0.82,0.52)--(-0.84,0.53)--(-0.86,0.55)--(-0.88,0.57)--(-0.90,0.59)--(-0.92,0.61)--(-0.94,0.63)--(-0.95,0.65)--(-0.97,0.67)--(-0.99,0.69)--(-1.01,0.72)--(-1.03,0.74)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-0.40,-1.24)--(-0.37,-1.20)--(-0.34,-1.16)--(-0.31,-1.11)--(-0.31,-1.04)--(-0.32,-0.98)--(-0.34,-0.92)--(-0.38,-0.88)--(-0.41,-0.85)--(-0.45,-0.83)--(-0.48,-0.81)--(-0.51,-0.80)--(-0.54,-0.79)--(-0.56,-0.78)--(-0.59,-0.77)--(-0.61,-0.77)--(-0.63,-0.77)--(-0.65,-0.76)--(-0.67,-0.76)--(-0.68,-0.76)--(-0.70,-0.76)--(-0.72,-0.75)--(-0.74,-0.75)--(-0.75,-0.75)--(-0.77,-0.75)--(-0.78,-0.75)--(-0.80,-0.75)--(-0.82,-0.75)--(-0.83,-0.75)--(-0.85,-0.75)--(-0.86,-0.75)--(-0.88,-0.75)--(-0.90,-0.75)--(-0.92,-0.75)--(-0.93,-0.76)--(-0.95,-0.76)--(-0.97,-0.76)--(-0.99,-0.76)--(-1.01,-0.76)--(-1.03,-0.76)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.01,0.07)--(0.03,0.13)--(0.04,0.19)--(0.04,0.24)--(0.04,0.28)--(0.04,0.33)--(0.04,0.37)--(0.03,0.41)--(0.03,0.45)--(0.03,0.49)--(0.03,0.53)--(0.04,0.56)--(0.04,0.59)--(0.04,0.63)--(0.05,0.66)--(0.05,0.69)--(0.06,0.72)--(0.06,0.75)--(0.07,0.78)--(0.08,0.80)--(0.09,0.83)--(0.10,0.86)--(0.11,0.88)--(0.12,0.91)--(0.13,0.93)--(0.15,0.95)--(0.16,0.98)--(0.18,1.00)--(0.19,1.02)--(0.21,1.04)--(0.22,1.06)--(0.24,1.08)--(0.26,1.10)--(0.28,1.12)--(0.30,1.14)--(0.32,1.16)--(0.34,1.18)--(0.36,1.20)--(0.38,1.22)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.01,0.04)--(0.01,0.09)--(0.02,0.14)--(0.03,0.19)--(0.03,0.24)--(0.04,0.29)--(0.04,0.33)--(0.05,0.37)--(0.05,0.40)--(0.05,0.44)--(0.06,0.48)--(0.06,0.51)--(0.07,0.54)--(0.07,0.57)--(0.08,0.60)--(0.08,0.63)--(0.09,0.66)--(0.10,0.69)--(0.11,0.72)--(0.11,0.75)--(0.12,0.77)--(0.13,0.80)--(0.14,0.82)--(0.15,0.85)--(0.16,0.87)--(0.17,0.90)--(0.19,0.92)--(0.20,0.95)--(0.21,0.97)--(0.23,1.00)--(0.24,1.02)--(0.26,1.04)--(0.27,1.07)--(0.29,1.09)--(0.31,1.11)--(0.32,1.14)--(0.34,1.16)--(0.36,1.19)--(0.38,1.21)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.01,0.03)--(0.01,0.05)--(0.01,0.08)--(0.00,0.11)--(-0.00,0.13)--(-0.01,0.15)--(-0.01,0.18)--(-0.02,0.20)--(-0.02,0.22)--(-0.02,0.24)--(-0.03,0.26)--(-0.03,0.28)--(-0.04,0.31)--(-0.04,0.33)--(-0.04,0.35)--(-0.05,0.37)--(-0.05,0.40)--(-0.05,0.42)--(-0.05,0.45)--(-0.05,0.48)--(-0.05,0.50)--(-0.05,0.53)--(-0.05,0.56)--(-0.04,0.60)--(-0.04,0.63)--(-0.03,0.66)--(-0.02,0.70)--(-0.01,0.74)--(0.01,0.78)--(0.02,0.82)--(0.05,0.86)--(0.07,0.90)--(0.10,0.94)--(0.13,0.98)--(0.16,1.03)--(0.20,1.07)--(0.25,1.11)--(0.29,1.15)--(0.35,1.20)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,2.00)--(0.66,1.95)--(0.67,1.90)--(0.69,1.85)--(0.72,1.81)--(0.75,1.77)--(0.78,1.75)--(0.80,1.73)--(0.81,1.72)--(0.83,1.71)--(0.83,1.69)--(0.84,1.68)--(0.84,1.66)--(0.84,1.65)--(0.84,1.63)--(0.84,1.62)--(0.83,1.60)--(0.83,1.59)--(0.82,1.57)--(0.81,1.55)--(0.80,1.53)--(0.79,1.52)--(0.78,1.50)--(0.77,1.48)--(0.75,1.46)--(0.74,1.45)--(0.72,1.43)--(0.71,1.41)--(0.69,1.40)--(0.67,1.38)--(0.65,1.37)--(0.62,1.35)--(0.60,1.34)--(0.58,1.32)--(0.55,1.31)--(0.53,1.30)--(0.50,1.29)--(0.48,1.27)--(0.45,1.26)--(0.43,1.25)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.40,1.24)--(0.48,1.15)--(0.56,1.06)--(0.62,0.93)--(0.66,0.81)--(0.68,0.71)--(0.71,0.64)--(0.74,0.58)--(0.77,0.54)--(0.79,0.50)--(0.82,0.47)--(0.85,0.44)--(0.87,0.42)--(0.89,0.40)--(0.91,0.38)--(0.93,0.36)--(0.95,0.34)--(0.97,0.33)--(0.99,0.31)--(1.00,0.30)--(1.02,0.28)--(1.04,0.27)--(1.05,0.25)--(1.07,0.24)--(1.08,0.23)--(1.10,0.21)--(1.11,0.20)--(1.12,0.19)--(1.14,0.17)--(1.15,0.16)--(1.16,0.15)--(1.18,0.13)--(1.19,0.12)--(1.20,0.10)--(1.22,0.09)--(1.23,0.08)--(1.24,0.06)--(1.26,0.05)--(1.27,0.03)--(1.29,0.02)--(1.30,0.00); \fill[cgold] (1.30,0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.25,0.76)--(0.22,0.76)--(0.20,0.76)--(0.18,0.75)--(0.16,0.75)--(0.15,0.75)--(0.14,0.74)--(0.13,0.73)--(0.12,0.73)--(0.11,0.72)--(0.11,0.71)--(0.10,0.69)--(0.10,0.68)--(0.10,0.66)--(0.09,0.65)--(0.08,0.63)--(0.07,0.61)--(0.06,0.59)--(0.04,0.58)--(0.03,0.56)--(0.01,0.55)--(0.00,0.55)--(-0.01,0.54)--(-0.03,0.53)--(-0.04,0.53)--(-0.05,0.52)--(-0.06,0.52)--(-0.07,0.52)--(-0.08,0.51)--(-0.08,0.51)--(-0.09,0.51)--(-0.10,0.50)--(-0.11,0.50)--(-0.11,0.50)--(-0.12,0.49)--(-0.13,0.49)--(-0.13,0.49)--(-0.14,0.48)--(-0.14,0.48)--(-0.15,0.48)--(-0.15,0.47); \fill[cgold] (-0.15,0.47) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.06,-0.04)--(0.11,-0.08)--(0.16,-0.13)--(0.21,-0.18)--(0.25,-0.23)--(0.29,-0.29)--(0.34,-0.35)--(0.38,-0.40)--(0.41,-0.47)--(0.45,-0.53)--(0.49,-0.60)--(0.53,-0.67)--(0.57,-0.74)--(0.61,-0.83)--(0.65,-0.92)--(0.68,-1.03)--(0.70,-1.15)--(0.70,-1.27)--(0.69,-1.39)--(0.67,-1.51)--(0.64,-1.62)--(0.60,-1.74)--(0.55,-1.85)--(0.50,-1.95)--(0.44,-2.05)--(0.38,-2.15)--(0.30,-2.25)--(0.23,-2.34)--(0.15,-2.43)--(0.06,-2.52)--(-0.03,-2.60); \draw[cblue,line width=.4pt] (0.00,0.00)--(0.04,-0.02)--(0.08,-0.04)--(0.13,-0.05)--(0.20,-0.05)--(0.26,-0.05)--(0.32,-0.04)--(0.38,-0.03)--(0.43,-0.01)--(0.48,0.01)--(0.53,0.02)--(0.57,0.03)--(0.61,0.05)--(0.64,0.06)--(0.68,0.07)--(0.71,0.08)--(0.74,0.09)--(0.77,0.09)--(0.80,0.10)--(0.83,0.10)--(0.86,0.11)--(0.88,0.11)--(0.91,0.11)--(0.94,0.11)--(0.96,0.11)--(0.99,0.11)--(1.01,0.11)--(1.03,0.10)--(1.06,0.10)--(1.08,0.09)--(1.10,0.09)--(1.12,0.08)--(1.14,0.07)--(1.16,0.07)--(1.18,0.06)--(1.20,0.05)--(1.22,0.04)--(1.24,0.03)--(1.26,0.02)--(1.28,0.01)--(1.30,-0.00); \fill[cgold] (1.30,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.02,-0.01)--(0.05,-0.03)--(0.07,-0.04)--(0.09,-0.06)--(0.12,-0.07)--(0.14,-0.08)--(0.16,-0.10)--(0.18,-0.11)--(0.20,-0.12)--(0.22,-0.14)--(0.24,-0.15)--(0.26,-0.17)--(0.28,-0.19)--(0.30,-0.21)--(0.32,-0.23)--(0.34,-0.25)--(0.36,-0.27)--(0.37,-0.29)--(0.39,-0.31)--(0.41,-0.34)--(0.42,-0.36)--(0.44,-0.39)--(0.45,-0.42)--(0.46,-0.45)--(0.48,-0.49)--(0.49,-0.52)--(0.50,-0.56)--(0.50,-0.60)--(0.51,-0.64)--(0.52,-0.68)--(0.52,-0.73)--(0.52,-0.78)--(0.51,-0.83)--(0.51,-0.88)--(0.50,-0.94)--(0.49,-0.99)--(0.47,-1.05)--(0.45,-1.11)--(0.43,-1.17)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,0.47)--(0.57,0.44)--(0.48,0.41)--(0.39,0.40)--(0.31,0.43)--(0.27,0.46)--(0.25,0.49)--(0.24,0.52)--(0.24,0.55)--(0.23,0.57)--(0.23,0.60)--(0.23,0.63)--(0.23,0.65)--(0.23,0.68)--(0.24,0.70)--(0.24,0.72)--(0.24,0.74)--(0.24,0.77)--(0.25,0.79)--(0.25,0.81)--(0.25,0.83)--(0.26,0.85)--(0.26,0.87)--(0.27,0.89)--(0.27,0.91)--(0.28,0.93)--(0.28,0.95)--(0.29,0.97)--(0.30,0.99)--(0.30,1.01)--(0.31,1.03)--(0.32,1.05)--(0.33,1.07)--(0.33,1.09)--(0.34,1.11)--(0.35,1.13)--(0.36,1.15)--(0.37,1.17)--(0.38,1.19)--(0.39,1.21)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-1.05,-0.76)--(-1.01,-0.72)--(-0.98,-0.66)--(-0.94,-0.60)--(-0.92,-0.52)--(-0.91,-0.44)--(-0.92,-0.37)--(-0.93,-0.31)--(-0.94,-0.25)--(-0.96,-0.20)--(-0.97,-0.15)--(-0.99,-0.11)--(-1.00,-0.07)--(-1.01,-0.03)--(-1.02,0.00)--(-1.03,0.04)--(-1.04,0.07)--(-1.05,0.10)--(-1.06,0.13)--(-1.07,0.16)--(-1.07,0.19)--(-1.08,0.22)--(-1.08,0.24)--(-1.08,0.27)--(-1.09,0.30)--(-1.09,0.33)--(-1.09,0.35)--(-1.09,0.38)--(-1.09,0.41)--(-1.09,0.43)--(-1.09,0.46)--(-1.09,0.49)--(-1.09,0.52)--(-1.09,0.55)--(-1.08,0.58)--(-1.08,0.61)--(-1.08,0.64)--(-1.07,0.67)--(-1.07,0.70)--(-1.06,0.73)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.70,1.24)--(1.72,1.18)--(1.73,1.12)--(1.74,1.08)--(1.74,1.04)--(1.73,1.00)--(1.72,0.98)--(1.70,0.96)--(1.68,0.95)--(1.66,0.94)--(1.64,0.94)--(1.62,0.94)--(1.59,0.96)--(1.56,0.98)--(1.53,1.00)--(1.51,1.04)--(1.49,1.09)--(1.47,1.15)--(1.47,1.21)--(1.48,1.27)--(1.50,1.33)--(1.52,1.40)--(1.56,1.45)--(1.60,1.51)--(1.64,1.56)--(1.69,1.61)--(1.74,1.65)--(1.79,1.69)--(1.85,1.73); \draw[cblue,line width=.4pt] (0.00,0.00)--(0.03,0.00)--(0.05,0.00)--(0.08,0.01)--(0.10,0.01)--(0.13,0.01)--(0.16,0.02)--(0.18,0.02)--(0.21,0.02)--(0.24,0.01)--(0.26,0.01)--(0.29,0.00)--(0.32,-0.00)--(0.34,-0.02)--(0.37,-0.03)--(0.39,-0.05)--(0.40,-0.07)--(0.42,-0.09)--(0.42,-0.11)--(0.43,-0.13)--(0.43,-0.15)--(0.43,-0.17)--(0.43,-0.18)--(0.43,-0.19)--(0.43,-0.20)--(0.43,-0.21)--(0.42,-0.22)--(0.42,-0.23)--(0.42,-0.23)--(0.42,-0.24)--(0.42,-0.25)--(0.41,-0.25)--(0.41,-0.26)--(0.41,-0.26)--(0.41,-0.27)--(0.41,-0.27)--(0.41,-0.28)--(0.41,-0.28)--(0.40,-0.28)--(0.40,-0.29)--(0.40,-0.29); \fill[cgold] (0.40,-0.29) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.04,-0.00)--(-0.09,-0.01)--(-0.14,-0.01)--(-0.20,-0.03)--(-0.25,-0.04)--(-0.31,-0.07)--(-0.35,-0.10)--(-0.39,-0.13)--(-0.43,-0.17)--(-0.47,-0.20)--(-0.50,-0.23)--(-0.53,-0.26)--(-0.55,-0.29)--(-0.58,-0.31)--(-0.60,-0.34)--(-0.62,-0.36)--(-0.65,-0.39)--(-0.67,-0.41)--(-0.69,-0.43)--(-0.71,-0.45)--(-0.73,-0.47)--(-0.75,-0.49)--(-0.77,-0.51)--(-0.79,-0.53)--(-0.81,-0.54)--(-0.83,-0.56)--(-0.84,-0.57)--(-0.86,-0.59)--(-0.88,-0.61)--(-0.90,-0.62)--(-0.91,-0.63)--(-0.93,-0.65)--(-0.95,-0.66)--(-0.96,-0.68)--(-0.98,-0.69)--(-1.00,-0.71)--(-1.01,-0.72)--(-1.03,-0.73)--(-1.04,-0.75)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.08,0.00)--(0.17,-0.01)--(0.28,-0.04)--(0.38,-0.12)--(0.45,-0.19)--(0.50,-0.26)--(0.54,-0.32)--(0.57,-0.37)--(0.60,-0.42)--(0.62,-0.47)--(0.64,-0.51)--(0.65,-0.55)--(0.66,-0.59)--(0.67,-0.62)--(0.67,-0.66)--(0.67,-0.69)--(0.68,-0.72)--(0.67,-0.75)--(0.67,-0.78)--(0.67,-0.81)--(0.66,-0.84)--(0.66,-0.87)--(0.65,-0.90)--(0.64,-0.92)--(0.63,-0.95)--(0.62,-0.97)--(0.61,-0.99)--(0.60,-1.02)--(0.59,-1.04)--(0.57,-1.06)--(0.56,-1.08)--(0.54,-1.10)--(0.53,-1.12)--(0.51,-1.14)--(0.50,-1.16)--(0.48,-1.17)--(0.46,-1.19)--(0.44,-1.21)--(0.42,-1.22)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-0.80,-0.00)--(-0.80,-0.00)--(-0.81,-0.01)--(-0.81,-0.02)--(-0.81,-0.04)--(-0.82,-0.06)--(-0.83,-0.08)--(-0.84,-0.11)--(-0.86,-0.14)--(-0.87,-0.18)--(-0.89,-0.21)--(-0.92,-0.25)--(-0.94,-0.30)--(-0.97,-0.35)--(-1.01,-0.40)--(-1.05,-0.45)--(-1.11,-0.51)--(-1.18,-0.56)--(-1.26,-0.61)--(-1.34,-0.65)--(-1.44,-0.68)--(-1.53,-0.70)--(-1.63,-0.71)--(-1.72,-0.72)--(-1.82,-0.72)--(-1.92,-0.71)--(-2.02,-0.70)--(-2.11,-0.68)--(-2.21,-0.66)--(-2.31,-0.63)--(-2.41,-0.60)--(-2.51,-0.56); \draw[cblue,line width=.4pt] (1.30,-0.00)--(1.32,0.02)--(1.34,0.03)--(1.36,0.05)--(1.39,0.06)--(1.41,0.07)--(1.43,0.08)--(1.46,0.08)--(1.48,0.08)--(1.50,0.07)--(1.52,0.06)--(1.54,0.05)--(1.56,0.03)--(1.56,0.01)--(1.57,-0.01)--(1.56,-0.04)--(1.55,-0.06)--(1.53,-0.08)--(1.52,-0.09)--(1.50,-0.10)--(1.48,-0.10)--(1.46,-0.10)--(1.44,-0.09)--(1.43,-0.09)--(1.42,-0.09)--(1.41,-0.08)--(1.40,-0.08)--(1.39,-0.07)--(1.38,-0.06)--(1.37,-0.06)--(1.36,-0.05)--(1.36,-0.05)--(1.35,-0.04)--(1.34,-0.04)--(1.34,-0.03)--(1.33,-0.02)--(1.32,-0.02)--(1.32,-0.01)--(1.31,-0.01)--(1.31,-0.00)--(1.30,-0.00); \fill[cgold] (1.30,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-2.10,-0.00)--(-2.08,0.02)--(-2.06,0.03)--(-2.04,0.05)--(-2.02,0.07)--(-2.00,0.08)--(-1.98,0.10)--(-1.96,0.11)--(-1.94,0.13)--(-1.92,0.14)--(-1.89,0.16)--(-1.87,0.17)--(-1.85,0.19)--(-1.82,0.20)--(-1.80,0.21)--(-1.78,0.23)--(-1.75,0.24)--(-1.72,0.25)--(-1.70,0.27)--(-1.67,0.28)--(-1.64,0.30)--(-1.61,0.31)--(-1.58,0.33)--(-1.55,0.34)--(-1.52,0.36)--(-1.49,0.38)--(-1.46,0.39)--(-1.42,0.41)--(-1.39,0.44)--(-1.36,0.46)--(-1.32,0.48)--(-1.29,0.51)--(-1.26,0.54)--(-1.23,0.57)--(-1.20,0.59)--(-1.17,0.62)--(-1.15,0.65)--(-1.12,0.68)--(-1.10,0.71)--(-1.07,0.74)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.05,0.05)--(0.10,0.11)--(0.14,0.19)--(0.16,0.26)--(0.17,0.32)--(0.17,0.38)--(0.17,0.43)--(0.17,0.48)--(0.17,0.52)--(0.17,0.56)--(0.17,0.60)--(0.17,0.63)--(0.17,0.66)--(0.17,0.69)--(0.17,0.72)--(0.18,0.75)--(0.18,0.78)--(0.19,0.80)--(0.19,0.83)--(0.20,0.85)--(0.20,0.88)--(0.21,0.90)--(0.22,0.92)--(0.22,0.94)--(0.23,0.96)--(0.24,0.98)--(0.25,1.00)--(0.26,1.02)--(0.27,1.04)--(0.28,1.06)--(0.29,1.08)--(0.30,1.10)--(0.31,1.11)--(0.32,1.13)--(0.34,1.15)--(0.35,1.17)--(0.36,1.18)--(0.37,1.20)--(0.39,1.22)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.03,0.03)--(0.07,0.06)--(0.10,0.09)--(0.14,0.13)--(0.18,0.16)--(0.22,0.20)--(0.27,0.24)--(0.32,0.27)--(0.37,0.31)--(0.43,0.34)--(0.49,0.37)--(0.55,0.39)--(0.62,0.41)--(0.68,0.42)--(0.75,0.42)--(0.82,0.41)--(0.88,0.39)--(0.93,0.36)--(0.98,0.33)--(1.01,0.30)--(1.04,0.28)--(1.07,0.25)--(1.09,0.23)--(1.11,0.21)--(1.13,0.19)--(1.14,0.17)--(1.16,0.15)--(1.17,0.13)--(1.19,0.12)--(1.20,0.10)--(1.21,0.09)--(1.22,0.08)--(1.23,0.07)--(1.24,0.05)--(1.25,0.04)--(1.26,0.03)--(1.27,0.02)--(1.28,0.02)--(1.29,0.01)--(1.30,-0.00); \fill[cgold] (1.30,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.02,0.02)--(0.04,0.03)--(0.06,0.05)--(0.08,0.06)--(0.10,0.08)--(0.12,0.09)--(0.14,0.11)--(0.16,0.12)--(0.18,0.14)--(0.20,0.16)--(0.22,0.17)--(0.24,0.19)--(0.26,0.21)--(0.29,0.23)--(0.32,0.26)--(0.36,0.27)--(0.39,0.29)--(0.43,0.30)--(0.48,0.31)--(0.52,0.32)--(0.56,0.32)--(0.60,0.32)--(0.64,0.31)--(0.68,0.31)--(0.72,0.30)--(0.76,0.29)--(0.80,0.28)--(0.84,0.27)--(0.88,0.26)--(0.92,0.24)--(0.96,0.22)--(0.99,0.20)--(1.03,0.18)--(1.07,0.16)--(1.11,0.14)--(1.15,0.11)--(1.19,0.09)--(1.22,0.06)--(1.26,0.03)--(1.30,0.00); \fill[cgold] (1.30,0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (2.10,0.00)--(2.10,-0.00)--(2.10,-0.01)--(2.10,-0.02)--(2.09,-0.04)--(2.08,-0.07)--(2.07,-0.10)--(2.05,-0.13)--(2.03,-0.16)--(2.00,-0.20)--(1.97,-0.23)--(1.93,-0.26)--(1.88,-0.29)--(1.83,-0.31)--(1.77,-0.33)--(1.71,-0.33)--(1.65,-0.33)--(1.60,-0.31)--(1.55,-0.29)--(1.52,-0.26)--(1.49,-0.23)--(1.47,-0.21)--(1.45,-0.19)--(1.43,-0.17)--(1.42,-0.15)--(1.41,-0.13)--(1.40,-0.12)--(1.39,-0.11)--(1.38,-0.09)--(1.37,-0.08)--(1.36,-0.07)--(1.36,-0.06)--(1.35,-0.05)--(1.34,-0.04)--(1.34,-0.04)--(1.33,-0.03)--(1.32,-0.02)--(1.32,-0.02)--(1.31,-0.01)--(1.31,-0.00)--(1.30,-0.00); \fill[cgold] (1.30,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.30,0.00)--(1.25,-0.04)--(1.20,-0.07)--(1.15,-0.09)--(1.11,-0.11)--(1.06,-0.12)--(1.03,-0.12)--(0.99,-0.12)--(0.96,-0.12)--(0.93,-0.11)--(0.91,-0.10)--(0.89,-0.09)--(0.87,-0.08)--(0.85,-0.06)--(0.84,-0.04)--(0.83,-0.02)--(0.82,0.00)--(0.83,0.03)--(0.83,0.05)--(0.85,0.07)--(0.86,0.09)--(0.88,0.10)--(0.90,0.11)--(0.92,0.12)--(0.94,0.13)--(0.96,0.13)--(0.98,0.14)--(1.00,0.14)--(1.02,0.13)--(1.05,0.13)--(1.07,0.13)--(1.09,0.12)--(1.11,0.11)--(1.14,0.10)--(1.16,0.09)--(1.18,0.08)--(1.21,0.07)--(1.23,0.05)--(1.25,0.04)--(1.28,0.02)--(1.30,-0.00); \fill[cgold] (1.30,-0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.80,0.00)--(0.75,-0.05)--(0.70,-0.11)--(0.66,-0.19)--(0.65,-0.26)--(0.64,-0.32)--(0.64,-0.38)--(0.63,-0.43)--(0.64,-0.48)--(0.64,-0.52)--(0.64,-0.56)--(0.64,-0.60)--(0.63,-0.63)--(0.63,-0.66)--(0.63,-0.69)--(0.63,-0.72)--(0.63,-0.75)--(0.62,-0.78)--(0.62,-0.80)--(0.61,-0.83)--(0.61,-0.85)--(0.60,-0.88)--(0.60,-0.90)--(0.59,-0.92)--(0.58,-0.94)--(0.57,-0.96)--(0.56,-0.98)--(0.56,-1.00)--(0.55,-1.02)--(0.54,-1.04)--(0.53,-1.06)--(0.52,-1.08)--(0.50,-1.10)--(0.49,-1.11)--(0.48,-1.13)--(0.47,-1.15)--(0.46,-1.17)--(0.44,-1.18)--(0.43,-1.20)--(0.42,-1.22)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.02,-0.02)--(-0.04,-0.03)--(-0.06,-0.05)--(-0.08,-0.07)--(-0.10,-0.08)--(-0.12,-0.10)--(-0.14,-0.11)--(-0.17,-0.13)--(-0.19,-0.14)--(-0.21,-0.16)--(-0.23,-0.17)--(-0.26,-0.19)--(-0.28,-0.20)--(-0.30,-0.21)--(-0.33,-0.23)--(-0.35,-0.24)--(-0.38,-0.25)--(-0.41,-0.27)--(-0.43,-0.28)--(-0.46,-0.30)--(-0.49,-0.31)--(-0.52,-0.33)--(-0.55,-0.34)--(-0.58,-0.36)--(-0.61,-0.38)--(-0.65,-0.39)--(-0.68,-0.41)--(-0.71,-0.44)--(-0.75,-0.46)--(-0.78,-0.48)--(-0.81,-0.51)--(-0.84,-0.54)--(-0.87,-0.57)--(-0.90,-0.59)--(-0.93,-0.62)--(-0.95,-0.65)--(-0.98,-0.68)--(-1.00,-0.71)--(-1.03,-0.74)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.03,0.03)--(0.06,0.05)--(0.10,0.07)--(0.13,0.09)--(0.16,0.10)--(0.18,0.11)--(0.21,0.13)--(0.24,0.14)--(0.26,0.15)--(0.28,0.16)--(0.31,0.17)--(0.33,0.18)--(0.35,0.19)--(0.38,0.21)--(0.40,0.22)--(0.43,0.23)--(0.46,0.25)--(0.49,0.26)--(0.52,0.27)--(0.55,0.27)--(0.59,0.28)--(0.63,0.28)--(0.66,0.28)--(0.70,0.28)--(0.73,0.28)--(0.77,0.27)--(0.81,0.26)--(0.85,0.25)--(0.88,0.24)--(0.92,0.23)--(0.96,0.21)--(1.00,0.20)--(1.03,0.18)--(1.07,0.16)--(1.11,0.14)--(1.15,0.11)--(1.19,0.09)--(1.22,0.06)--(1.26,0.03)--(1.30,0.00); \fill[cgold] (1.30,0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.05,-0.04)--(-0.11,-0.08)--(-0.16,-0.12)--(-0.21,-0.14)--(-0.27,-0.17)--(-0.32,-0.18)--(-0.38,-0.19)--(-0.43,-0.19)--(-0.47,-0.18)--(-0.51,-0.17)--(-0.55,-0.15)--(-0.58,-0.13)--(-0.60,-0.10)--(-0.62,-0.07)--(-0.62,-0.04)--(-0.62,-0.02)--(-0.61,0.00)--(-0.60,0.01)--(-0.59,0.02)--(-0.58,0.03)--(-0.57,0.03)--(-0.56,0.03)--(-0.55,0.03)--(-0.55,0.03)--(-0.54,0.03)--(-0.54,0.03)--(-0.53,0.03)--(-0.53,0.02)--(-0.52,0.02)--(-0.52,0.02)--(-0.52,0.02)--(-0.52,0.02)--(-0.51,0.01)--(-0.51,0.01)--(-0.51,0.01)--(-0.51,0.01)--(-0.50,0.01)--(-0.50,0.00)--(-0.50,0.00)--(-0.50,0.00); \fill[cgold] (-0.50,0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,-0.47)--(0.61,-0.54)--(0.57,-0.62)--(0.51,-0.71)--(0.43,-0.79)--(0.35,-0.85)--(0.27,-0.89)--(0.19,-0.93)--(0.12,-0.96)--(0.05,-0.99)--(-0.01,-1.02)--(-0.07,-1.04)--(-0.12,-1.05)--(-0.17,-1.07)--(-0.22,-1.08)--(-0.27,-1.08)--(-0.32,-1.09)--(-0.36,-1.09)--(-0.40,-1.09)--(-0.44,-1.09)--(-0.48,-1.09)--(-0.52,-1.08)--(-0.56,-1.08)--(-0.59,-1.07)--(-0.63,-1.06)--(-0.66,-1.05)--(-0.70,-1.03)--(-0.73,-1.02)--(-0.76,-1.01)--(-0.79,-0.99)--(-0.82,-0.97)--(-0.84,-0.96)--(-0.87,-0.94)--(-0.89,-0.92)--(-0.92,-0.90)--(-0.94,-0.88)--(-0.97,-0.86)--(-0.99,-0.83)--(-1.01,-0.81)--(-1.03,-0.79)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-1.05,0.76)--(-1.00,0.80)--(-0.96,0.84)--(-0.91,0.89)--(-0.89,0.95)--(-0.87,1.01)--(-0.87,1.06)--(-0.88,1.10)--(-0.90,1.13)--(-0.91,1.16)--(-0.92,1.17)--(-0.93,1.19)--(-0.94,1.20)--(-0.95,1.20)--(-0.95,1.21)--(-0.96,1.21)--(-0.96,1.21)--(-0.97,1.20)--(-0.97,1.20)--(-0.97,1.19)--(-0.98,1.18)--(-0.98,1.17)--(-0.98,1.16)--(-0.98,1.15)--(-0.98,1.14)--(-0.98,1.12)--(-0.98,1.11)--(-0.99,1.09)--(-0.99,1.07)--(-0.99,1.05)--(-1.00,1.03)--(-1.00,1.01)--(-1.00,0.98)--(-1.01,0.96)--(-1.01,0.93)--(-1.02,0.91)--(-1.03,0.88)--(-1.03,0.85)--(-1.04,0.82)--(-1.05,0.79)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.70,-1.24)--(1.65,-1.20)--(1.61,-1.16)--(1.58,-1.12)--(1.56,-1.07)--(1.54,-1.03)--(1.54,-0.99)--(1.54,-0.95)--(1.55,-0.92)--(1.57,-0.88)--(1.59,-0.85)--(1.62,-0.82)--(1.65,-0.79)--(1.69,-0.76)--(1.73,-0.74)--(1.78,-0.72)--(1.84,-0.71)--(1.90,-0.70)--(1.97,-0.71)--(2.03,-0.73)--(2.09,-0.75)--(2.15,-0.78)--(2.20,-0.81)--(2.26,-0.85)--(2.31,-0.90)--(2.35,-0.94)--(2.40,-1.00); \draw[cblue,line width=.4pt] (0.00,0.00)--(0.01,0.03)--(0.01,0.05)--(0.02,0.08)--(0.04,0.11)--(0.05,0.13)--(0.06,0.16)--(0.08,0.18)--(0.10,0.20)--(0.12,0.22)--(0.14,0.24)--(0.16,0.25)--(0.18,0.27)--(0.20,0.27)--(0.22,0.28)--(0.24,0.28)--(0.26,0.28)--(0.27,0.28)--(0.29,0.28)--(0.30,0.28)--(0.31,0.28)--(0.31,0.28)--(0.32,0.28)--(0.33,0.28)--(0.33,0.28)--(0.34,0.28)--(0.34,0.28)--(0.35,0.28)--(0.35,0.28)--(0.36,0.28)--(0.36,0.28)--(0.37,0.28)--(0.37,0.28)--(0.38,0.28)--(0.38,0.28)--(0.38,0.28)--(0.39,0.29)--(0.39,0.29)--(0.40,0.29)--(0.40,0.29)--(0.40,0.29); \fill[cgold] (0.40,0.29) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.01,-0.04)--(-0.02,-0.08)--(-0.02,-0.12)--(-0.02,-0.16)--(-0.02,-0.20)--(-0.02,-0.23)--(-0.02,-0.25)--(-0.02,-0.28)--(-0.03,-0.31)--(-0.04,-0.33)--(-0.04,-0.36)--(-0.05,-0.38)--(-0.06,-0.41)--(-0.08,-0.43)--(-0.09,-0.45)--(-0.10,-0.48)--(-0.12,-0.50)--(-0.14,-0.52)--(-0.15,-0.55)--(-0.17,-0.57)--(-0.20,-0.59)--(-0.22,-0.61)--(-0.24,-0.64)--(-0.27,-0.66)--(-0.30,-0.68)--(-0.33,-0.70)--(-0.37,-0.72)--(-0.40,-0.73)--(-0.44,-0.75)--(-0.48,-0.76)--(-0.53,-0.78)--(-0.58,-0.79)--(-0.63,-0.80)--(-0.68,-0.80)--(-0.73,-0.80)--(-0.79,-0.80)--(-0.85,-0.80)--(-0.92,-0.79)--(-0.98,-0.78)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.01,0.07)--(0.01,0.13)--(-0.01,0.18)--(-0.03,0.23)--(-0.07,0.28)--(-0.11,0.32)--(-0.15,0.35)--(-0.19,0.37)--(-0.23,0.40)--(-0.26,0.41)--(-0.30,0.43)--(-0.33,0.44)--(-0.36,0.46)--(-0.39,0.47)--(-0.42,0.48)--(-0.45,0.49)--(-0.48,0.50)--(-0.51,0.51)--(-0.53,0.52)--(-0.56,0.53)--(-0.58,0.54)--(-0.61,0.55)--(-0.63,0.56)--(-0.66,0.57)--(-0.68,0.58)--(-0.70,0.59)--(-0.73,0.60)--(-0.75,0.61)--(-0.77,0.62)--(-0.80,0.63)--(-0.82,0.64)--(-0.85,0.66)--(-0.87,0.67)--(-0.90,0.68)--(-0.92,0.69)--(-0.95,0.71)--(-0.97,0.72)--(-1.00,0.74)--(-1.02,0.75)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,-2.00)--(0.60,-1.99)--(0.54,-1.98)--(0.48,-1.98)--(0.41,-1.98)--(0.34,-2.01)--(0.28,-2.04)--(0.22,-2.07)--(0.18,-2.11)--(0.14,-2.15)--(0.11,-2.19)--(0.07,-2.22)--(0.05,-2.25)--(0.02,-2.29)--(-0.00,-2.32)--(-0.03,-2.35)--(-0.05,-2.38)--(-0.07,-2.41)--(-0.09,-2.44)--(-0.11,-2.47)--(-0.14,-2.50)--(-0.16,-2.54)--(-0.18,-2.57); \draw[cblue,line width=.4pt] (0.40,-1.24)--(0.34,-1.15)--(0.27,-1.08)--(0.21,-1.01)--(0.16,-0.96)--(0.10,-0.94)--(0.04,-0.93)--(-0.02,-0.93)--(-0.07,-0.94)--(-0.12,-0.94)--(-0.17,-0.95)--(-0.22,-0.96)--(-0.26,-0.97)--(-0.30,-0.98)--(-0.34,-0.98)--(-0.38,-0.99)--(-0.41,-0.99)--(-0.45,-0.99)--(-0.48,-0.99)--(-0.52,-0.99)--(-0.55,-0.99)--(-0.58,-0.99)--(-0.61,-0.98)--(-0.64,-0.98)--(-0.67,-0.97)--(-0.70,-0.96)--(-0.72,-0.96)--(-0.75,-0.95)--(-0.78,-0.94)--(-0.80,-0.93)--(-0.83,-0.92)--(-0.85,-0.90)--(-0.88,-0.89)--(-0.90,-0.88)--(-0.92,-0.86)--(-0.95,-0.85)--(-0.97,-0.83)--(-0.99,-0.82)--(-1.01,-0.80)--(-1.03,-0.78)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.25,-0.76)--(0.24,-0.79)--(0.23,-0.82)--(0.21,-0.84)--(0.19,-0.87)--(0.17,-0.89)--(0.14,-0.91)--(0.11,-0.93)--(0.07,-0.94)--(0.03,-0.95)--(-0.01,-0.96)--(-0.06,-0.95)--(-0.10,-0.94)--(-0.14,-0.92)--(-0.18,-0.89)--(-0.22,-0.86)--(-0.24,-0.82)--(-0.25,-0.78)--(-0.26,-0.74)--(-0.26,-0.71)--(-0.25,-0.68)--(-0.25,-0.66)--(-0.24,-0.64)--(-0.23,-0.62)--(-0.23,-0.60)--(-0.22,-0.59)--(-0.21,-0.58)--(-0.21,-0.57)--(-0.20,-0.56)--(-0.20,-0.55)--(-0.19,-0.54)--(-0.19,-0.53)--(-0.18,-0.52)--(-0.18,-0.51)--(-0.17,-0.51)--(-0.17,-0.50)--(-0.17,-0.49)--(-0.16,-0.49)--(-0.16,-0.48)--(-0.16,-0.48)--(-0.15,-0.47); \fill[cgold] (-0.15,-0.47) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.02,0.06)--(-0.05,0.12)--(-0.07,0.17)--(-0.10,0.22)--(-0.12,0.26)--(-0.15,0.30)--(-0.18,0.34)--(-0.21,0.37)--(-0.24,0.41)--(-0.28,0.44)--(-0.32,0.47)--(-0.37,0.50)--(-0.42,0.53)--(-0.47,0.56)--(-0.53,0.60)--(-0.60,0.65)--(-0.67,0.70)--(-0.73,0.77)--(-0.80,0.84)--(-0.86,0.92)--(-0.91,1.01)--(-0.96,1.10)--(-1.00,1.19)--(-1.04,1.29)--(-1.08,1.39)--(-1.11,1.49)--(-1.13,1.60)--(-1.15,1.71)--(-1.17,1.82)--(-1.18,1.94)--(-1.18,2.06)--(-1.19,2.18)--(-1.18,2.30); \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.02,0.04)--(-0.04,0.09)--(-0.07,0.14)--(-0.10,0.19)--(-0.14,0.24)--(-0.18,0.28)--(-0.22,0.31)--(-0.27,0.34)--(-0.31,0.36)--(-0.34,0.38)--(-0.38,0.40)--(-0.41,0.41)--(-0.45,0.42)--(-0.48,0.44)--(-0.51,0.45)--(-0.53,0.46)--(-0.56,0.47)--(-0.58,0.48)--(-0.61,0.49)--(-0.63,0.50)--(-0.66,0.51)--(-0.68,0.52)--(-0.70,0.54)--(-0.72,0.55)--(-0.74,0.56)--(-0.76,0.57)--(-0.79,0.58)--(-0.81,0.59)--(-0.83,0.61)--(-0.85,0.62)--(-0.87,0.63)--(-0.89,0.64)--(-0.91,0.66)--(-0.93,0.67)--(-0.95,0.69)--(-0.97,0.70)--(-0.99,0.72)--(-1.01,0.73)--(-1.03,0.75)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.01,0.02)--(-0.02,0.05)--(-0.03,0.07)--(-0.04,0.09)--(-0.06,0.11)--(-0.07,0.13)--(-0.08,0.15)--(-0.09,0.17)--(-0.10,0.18)--(-0.11,0.20)--(-0.12,0.21)--(-0.13,0.23)--(-0.13,0.24)--(-0.14,0.25)--(-0.14,0.27)--(-0.15,0.28)--(-0.15,0.29)--(-0.15,0.31)--(-0.16,0.32)--(-0.16,0.33)--(-0.16,0.34)--(-0.16,0.35)--(-0.16,0.36)--(-0.16,0.37)--(-0.16,0.38)--(-0.16,0.39)--(-0.16,0.40)--(-0.16,0.41)--(-0.16,0.42)--(-0.15,0.42)--(-0.15,0.43)--(-0.15,0.44)--(-0.15,0.44)--(-0.15,0.45)--(-0.15,0.45)--(-0.15,0.46)--(-0.15,0.46)--(-0.15,0.47)--(-0.15,0.47)--(-0.15,0.47); \fill[cgold] (-0.15,0.47) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.70,1.24)--(1.62,1.11)--(1.53,0.98)--(1.44,0.83)--(1.37,0.67)--(1.32,0.50)--(1.29,0.34)--(1.27,0.20)--(1.26,0.07)--(1.25,-0.05)--(1.24,-0.15)--(1.23,-0.25)--(1.22,-0.33)--(1.20,-0.41)--(1.18,-0.49)--(1.16,-0.55)--(1.13,-0.62)--(1.11,-0.67)--(1.08,-0.73)--(1.05,-0.78)--(1.02,-0.82)--(0.99,-0.86)--(0.96,-0.90)--(0.92,-0.94)--(0.89,-0.97)--(0.86,-1.00)--(0.82,-1.03)--(0.79,-1.05)--(0.75,-1.07)--(0.72,-1.09)--(0.69,-1.11)--(0.66,-1.12)--(0.62,-1.14)--(0.59,-1.15)--(0.56,-1.16)--(0.54,-1.18)--(0.51,-1.19)--(0.48,-1.20)--(0.45,-1.21)--(0.43,-1.22)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.05,0.76)--(1.01,0.64)--(0.92,0.53)--(0.78,0.46)--(0.64,0.49)--(0.57,0.54)--(0.52,0.59)--(0.49,0.63)--(0.46,0.66)--(0.44,0.70)--(0.43,0.73)--(0.41,0.75)--(0.40,0.78)--(0.40,0.80)--(0.39,0.82)--(0.38,0.85)--(0.38,0.87)--(0.37,0.88)--(0.37,0.90)--(0.37,0.92)--(0.36,0.94)--(0.36,0.96)--(0.36,0.97)--(0.36,0.99)--(0.36,1.00)--(0.36,1.02)--(0.36,1.03)--(0.36,1.05)--(0.36,1.06)--(0.37,1.08)--(0.37,1.09)--(0.37,1.11)--(0.37,1.12)--(0.38,1.14)--(0.38,1.15)--(0.38,1.16)--(0.39,1.18)--(0.39,1.19)--(0.39,1.21)--(0.40,1.22)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,0.47)--(0.61,0.44)--(0.54,0.42)--(0.46,0.43)--(0.38,0.48)--(0.34,0.54)--(0.31,0.59)--(0.30,0.63)--(0.28,0.67)--(0.27,0.70)--(0.26,0.74)--(0.26,0.77)--(0.25,0.80)--(0.25,0.82)--(0.25,0.85)--(0.25,0.87)--(0.25,0.89)--(0.25,0.91)--(0.25,0.93)--(0.25,0.95)--(0.25,0.97)--(0.26,0.99)--(0.26,1.01)--(0.27,1.02)--(0.27,1.04)--(0.28,1.05)--(0.28,1.07)--(0.29,1.08)--(0.30,1.10)--(0.30,1.11)--(0.31,1.12)--(0.32,1.14)--(0.33,1.15)--(0.34,1.16)--(0.34,1.17)--(0.35,1.18)--(0.36,1.19)--(0.37,1.21)--(0.38,1.22)--(0.39,1.23)--(0.40,1.24); \fill[cgold] (0.40,1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.02,-0.04)--(0.03,-0.07)--(0.05,-0.10)--(0.06,-0.13)--(0.07,-0.15)--(0.08,-0.18)--(0.08,-0.20)--(0.09,-0.22)--(0.09,-0.24)--(0.09,-0.26)--(0.09,-0.28)--(0.08,-0.30)--(0.08,-0.32)--(0.07,-0.34)--(0.07,-0.35)--(0.06,-0.37)--(0.05,-0.38)--(0.05,-0.40)--(0.04,-0.41)--(0.03,-0.42)--(0.02,-0.43)--(0.01,-0.44)--(-0.01,-0.45)--(-0.02,-0.46)--(-0.03,-0.46)--(-0.04,-0.47)--(-0.05,-0.47)--(-0.06,-0.48)--(-0.07,-0.48)--(-0.08,-0.48)--(-0.09,-0.48)--(-0.10,-0.48)--(-0.11,-0.48)--(-0.12,-0.48)--(-0.13,-0.48)--(-0.13,-0.48)--(-0.14,-0.48)--(-0.15,-0.48)--(-0.15,-0.47)--(-0.15,-0.47); \fill[cgold] (-0.15,-0.47) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.25,0.76)--(0.19,0.68)--(0.11,0.60)--(-0.01,0.53)--(-0.12,0.51)--(-0.20,0.51)--(-0.27,0.52)--(-0.33,0.53)--(-0.38,0.53)--(-0.42,0.54)--(-0.46,0.54)--(-0.49,0.55)--(-0.52,0.55)--(-0.55,0.56)--(-0.58,0.56)--(-0.61,0.57)--(-0.63,0.57)--(-0.65,0.58)--(-0.68,0.59)--(-0.70,0.59)--(-0.72,0.60)--(-0.74,0.60)--(-0.76,0.61)--(-0.77,0.62)--(-0.79,0.62)--(-0.81,0.63)--(-0.83,0.64)--(-0.84,0.65)--(-0.86,0.65)--(-0.88,0.66)--(-0.89,0.67)--(-0.91,0.68)--(-0.92,0.69)--(-0.94,0.70)--(-0.96,0.71)--(-0.97,0.72)--(-0.99,0.72)--(-1.00,0.73)--(-1.02,0.74)--(-1.04,0.75)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-0.40,-1.24)--(-0.45,-1.12)--(-0.50,-1.00)--(-0.57,-0.88)--(-0.64,-0.77)--(-0.71,-0.66)--(-0.78,-0.58)--(-0.85,-0.50)--(-0.92,-0.43)--(-0.97,-0.37)--(-1.02,-0.30)--(-1.06,-0.25)--(-1.10,-0.19)--(-1.13,-0.14)--(-1.16,-0.08)--(-1.18,-0.03)--(-1.20,0.02)--(-1.22,0.06)--(-1.23,0.11)--(-1.24,0.16)--(-1.24,0.20)--(-1.25,0.24)--(-1.25,0.28)--(-1.25,0.32)--(-1.24,0.36)--(-1.24,0.40)--(-1.23,0.43)--(-1.22,0.47)--(-1.21,0.50)--(-1.20,0.53)--(-1.19,0.56)--(-1.18,0.58)--(-1.16,0.61)--(-1.15,0.63)--(-1.13,0.66)--(-1.12,0.68)--(-1.11,0.70)--(-1.09,0.71)--(-1.08,0.73)--(-1.06,0.75)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,2.00)--(0.68,1.80)--(0.73,1.60)--(0.78,1.40)--(0.84,1.20)--(0.92,1.01)--(1.01,0.85)--(1.08,0.71)--(1.15,0.58)--(1.21,0.46)--(1.26,0.34)--(1.30,0.24)--(1.33,0.13)--(1.35,0.04)--(1.37,-0.06)--(1.37,-0.15)--(1.38,-0.24)--(1.37,-0.32)--(1.36,-0.40)--(1.35,-0.48)--(1.33,-0.55)--(1.30,-0.62)--(1.27,-0.69)--(1.24,-0.75)--(1.21,-0.81)--(1.17,-0.87)--(1.12,-0.92)--(1.08,-0.96)--(1.03,-1.01)--(0.98,-1.05)--(0.93,-1.08)--(0.87,-1.11)--(0.82,-1.14)--(0.77,-1.16)--(0.71,-1.18)--(0.66,-1.20)--(0.61,-1.21)--(0.55,-1.22)--(0.50,-1.23)--(0.45,-1.23)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.04,0.00)--(0.08,-0.00)--(0.11,-0.01)--(0.13,-0.01)--(0.15,-0.02)--(0.17,-0.02)--(0.18,-0.03)--(0.20,-0.03)--(0.22,-0.04)--(0.23,-0.04)--(0.24,-0.05)--(0.25,-0.05)--(0.27,-0.06)--(0.28,-0.07)--(0.29,-0.07)--(0.30,-0.08)--(0.30,-0.09)--(0.31,-0.09)--(0.32,-0.10)--(0.33,-0.11)--(0.34,-0.12)--(0.34,-0.12)--(0.35,-0.13)--(0.35,-0.14)--(0.36,-0.15)--(0.36,-0.16)--(0.37,-0.17)--(0.37,-0.17)--(0.38,-0.18)--(0.38,-0.19)--(0.38,-0.20)--(0.39,-0.21)--(0.39,-0.22)--(0.39,-0.23)--(0.39,-0.24)--(0.40,-0.25)--(0.40,-0.26)--(0.40,-0.27)--(0.40,-0.28)--(0.40,-0.29); \fill[cgold] (0.40,-0.29) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.25,-0.76)--(0.16,-0.81)--(0.09,-0.86)--(0.01,-0.91)--(-0.08,-0.95)--(-0.15,-0.97)--(-0.22,-0.98)--(-0.28,-0.99)--(-0.33,-1.00)--(-0.37,-1.00)--(-0.41,-1.01)--(-0.45,-1.01)--(-0.49,-1.01)--(-0.52,-1.01)--(-0.55,-1.01)--(-0.58,-1.00)--(-0.61,-1.00)--(-0.64,-1.00)--(-0.67,-0.99)--(-0.69,-0.99)--(-0.71,-0.98)--(-0.74,-0.97)--(-0.76,-0.97)--(-0.78,-0.96)--(-0.80,-0.95)--(-0.82,-0.94)--(-0.84,-0.93)--(-0.85,-0.92)--(-0.87,-0.91)--(-0.89,-0.90)--(-0.91,-0.89)--(-0.92,-0.88)--(-0.94,-0.87)--(-0.95,-0.86)--(-0.97,-0.84)--(-0.98,-0.83)--(-1.00,-0.82)--(-1.01,-0.80)--(-1.03,-0.79)--(-1.04,-0.78)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (-0.40,1.24)--(-0.29,1.17)--(-0.18,1.10)--(-0.06,1.05)--(0.06,1.00)--(0.18,0.96)--(0.29,0.94)--(0.38,0.91)--(0.47,0.89)--(0.55,0.87)--(0.62,0.85)--(0.69,0.83)--(0.75,0.80)--(0.80,0.78)--(0.85,0.75)--(0.90,0.72)--(0.94,0.69)--(0.98,0.66)--(1.01,0.63)--(1.05,0.60)--(1.08,0.57)--(1.10,0.54)--(1.13,0.50)--(1.15,0.47)--(1.17,0.44)--(1.18,0.41)--(1.20,0.37)--(1.21,0.34)--(1.22,0.31)--(1.23,0.28)--(1.24,0.25)--(1.24,0.22)--(1.25,0.20)--(1.26,0.17)--(1.26,0.15)--(1.27,0.12)--(1.27,0.10)--(1.28,0.07)--(1.29,0.05)--(1.29,0.02)--(1.30,0.00); \fill[cgold] (1.30,0.00) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,-2.00)--(0.46,-1.93)--(0.27,-1.87)--(0.08,-1.83)--(-0.11,-1.80)--(-0.28,-1.79)--(-0.44,-1.79)--(-0.57,-1.79)--(-0.68,-1.78)--(-0.78,-1.78)--(-0.87,-1.76)--(-0.95,-1.74)--(-1.02,-1.72)--(-1.09,-1.69)--(-1.14,-1.66)--(-1.20,-1.62)--(-1.24,-1.58)--(-1.28,-1.54)--(-1.31,-1.50)--(-1.34,-1.45)--(-1.36,-1.41)--(-1.38,-1.36)--(-1.39,-1.31)--(-1.40,-1.27)--(-1.40,-1.22)--(-1.40,-1.18)--(-1.39,-1.13)--(-1.38,-1.09)--(-1.37,-1.05)--(-1.35,-1.01)--(-1.33,-0.98)--(-1.31,-0.94)--(-1.28,-0.91)--(-1.26,-0.89)--(-1.23,-0.86)--(-1.20,-0.84)--(-1.17,-0.82)--(-1.14,-0.80)--(-1.11,-0.79)--(-1.08,-0.78)--(-1.05,-0.76); \fill[cgold] (-1.05,-0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(0.01,0.04)--(0.03,0.08)--(0.06,0.10)--(0.08,0.12)--(0.09,0.13)--(0.10,0.14)--(0.11,0.15)--(0.12,0.16)--(0.13,0.17)--(0.14,0.17)--(0.15,0.18)--(0.16,0.19)--(0.17,0.20)--(0.18,0.20)--(0.18,0.21)--(0.19,0.22)--(0.20,0.22)--(0.21,0.23)--(0.22,0.23)--(0.22,0.24)--(0.23,0.24)--(0.24,0.25)--(0.25,0.25)--(0.26,0.25)--(0.26,0.26)--(0.27,0.26)--(0.28,0.27)--(0.29,0.27)--(0.30,0.27)--(0.31,0.27)--(0.32,0.28)--(0.32,0.28)--(0.33,0.28)--(0.34,0.28)--(0.35,0.28)--(0.36,0.29)--(0.37,0.29)--(0.38,0.29)--(0.39,0.29)--(0.40,0.29); \fill[cgold] (0.40,0.29) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.70,-1.24)--(1.57,-1.30)--(1.44,-1.37)--(1.33,-1.45)--(1.23,-1.54)--(1.15,-1.62)--(1.09,-1.69)--(1.04,-1.75)--(0.99,-1.79)--(0.95,-1.83)--(0.90,-1.86)--(0.86,-1.87)--(0.82,-1.89)--(0.78,-1.89)--(0.74,-1.90)--(0.70,-1.89)--(0.67,-1.89)--(0.63,-1.88)--(0.60,-1.87)--(0.57,-1.85)--(0.54,-1.83)--(0.51,-1.81)--(0.48,-1.79)--(0.46,-1.76)--(0.44,-1.73)--(0.42,-1.70)--(0.41,-1.67)--(0.39,-1.64)--(0.38,-1.61)--(0.37,-1.58)--(0.37,-1.54)--(0.37,-1.51)--(0.36,-1.48)--(0.36,-1.44)--(0.37,-1.41)--(0.37,-1.38)--(0.37,-1.35)--(0.38,-1.32)--(0.39,-1.29)--(0.39,-1.26)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.05,-0.76)--(0.94,-0.77)--(0.84,-0.78)--(0.78,-0.77)--(0.75,-0.76)--(0.74,-0.77)--(0.73,-0.79)--(0.72,-0.81)--(0.72,-0.83)--(0.71,-0.85)--(0.70,-0.87)--(0.70,-0.89)--(0.69,-0.91)--(0.68,-0.93)--(0.68,-0.95)--(0.67,-0.96)--(0.66,-0.98)--(0.65,-1.00)--(0.65,-1.01)--(0.64,-1.02)--(0.63,-1.04)--(0.62,-1.05)--(0.61,-1.07)--(0.60,-1.08)--(0.59,-1.09)--(0.58,-1.10)--(0.57,-1.11)--(0.56,-1.12)--(0.55,-1.13)--(0.54,-1.14)--(0.53,-1.15)--(0.52,-1.16)--(0.50,-1.17)--(0.49,-1.18)--(0.48,-1.19)--(0.47,-1.20)--(0.45,-1.21)--(0.44,-1.21)--(0.43,-1.22)--(0.42,-1.23)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.65,-0.47)--(0.62,-0.50)--(0.61,-0.52)--(0.62,-0.55)--(0.64,-0.60)--(0.63,-0.66)--(0.63,-0.70)--(0.62,-0.74)--(0.61,-0.77)--(0.60,-0.80)--(0.59,-0.82)--(0.59,-0.85)--(0.58,-0.87)--(0.57,-0.89)--(0.57,-0.91)--(0.56,-0.92)--(0.56,-0.94)--(0.55,-0.96)--(0.55,-0.97)--(0.54,-0.98)--(0.53,-1.00)--(0.53,-1.01)--(0.52,-1.03)--(0.52,-1.04)--(0.51,-1.05)--(0.51,-1.06)--(0.50,-1.08)--(0.49,-1.09)--(0.49,-1.10)--(0.48,-1.11)--(0.47,-1.12)--(0.47,-1.13)--(0.46,-1.14)--(0.45,-1.16)--(0.45,-1.17)--(0.44,-1.18)--(0.43,-1.19)--(0.43,-1.20)--(0.42,-1.21)--(0.41,-1.22)--(0.40,-1.24); \fill[cgold] (0.40,-1.24) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (0.00,0.00)--(-0.04,0.02)--(-0.07,0.05)--(-0.11,0.08)--(-0.16,0.12)--(-0.21,0.15)--(-0.26,0.18)--(-0.32,0.20)--(-0.37,0.22)--(-0.42,0.23)--(-0.47,0.24)--(-0.51,0.25)--(-0.55,0.27)--(-0.59,0.28)--(-0.63,0.29)--(-0.66,0.30)--(-0.70,0.31)--(-0.73,0.33)--(-0.75,0.34)--(-0.78,0.35)--(-0.81,0.37)--(-0.83,0.38)--(-0.85,0.40)--(-0.87,0.42)--(-0.89,0.44)--(-0.91,0.45)--(-0.93,0.47)--(-0.94,0.49)--(-0.96,0.51)--(-0.97,0.53)--(-0.99,0.55)--(-1.00,0.57)--(-1.01,0.59)--(-1.02,0.62)--(-1.02,0.64)--(-1.03,0.66)--(-1.04,0.68)--(-1.04,0.70)--(-1.05,0.72)--(-1.05,0.74)--(-1.05,0.76); \fill[cgold] (-1.05,0.76) circle[radius=1.3pt]; \draw[cblue,line width=.4pt] (1.30,-0.00)--(1.14,-0.14)--(0.98,-0.29)--(0.84,-0.45)--(0.73,-0.61)--(0.63,-0.74)--(0.54,-0.86)--(0.45,-0.96)--(0.35,-1.05)--(0.26,-1.12)--(0.17,-1.19)--(0.07,-1.25)--(-0.02,-1.29)--(-0.12,-1.33)--(-0.22,-1.37)--(-0.33,-1.39)--(-0.43,-1.41)--(-0.53,-1.42)--(-0.64,-1.42)--(-0.74,-1.42)--(-0.85,-1.41)--(-0.96,-1.39)--(-1.07,-1.37)--(-1.18,-1.33)--(-1.30,-1.30)--(-1.42,-1.25)--(-1.53,-1.20)--(-1.66,-1.14)--(-1.78,-1.08)--(-1.91,-1.01)--(-2.04,-0.94)--(-2.17,-0.86)--(-2.30,-0.78)--(-2.44,-0.70); \end{tikzpicture} \caption{The $70$ paths of Theorem \ref{thm:homotopy} at $p=5$, projected on the coordinate $x_1$, with the unit circle drawn, and the endpoints in gold. The $20$ endpoints on the circle are the circulant complex Hadamard matrices of order $5$, and the paths leaving the picture correspond to large values of $x_1$.}\label{fig:homotopy} \end{figure} The paths at $p=5$ are shown in Figure \ref{fig:homotopy}. The program {\tt haagerup.py} implements this, with a predictor-corrector method, and the program {\tt retrack.py} recomputes with smaller steps the paths whose endpoints coincide, which can happen numerically by path jumping, and the paths which failed, and {\tt merge.py} counts the results. The numbers of distinct cyclic $p$-roots found, and of unimodular ones, which are the circulant complex Hadamard matrices of order $p$ with $h_0=1$, are as follows: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $p$&3&5&7&11\\ \hline paths&6&70&924&184756\\ \hline distinct roots&6&70&924&184756\\ \hline unimodular roots&6&20&532&18744\\ \hline \end{tabular} \end{center} At all these primes, the endpoints are distinct, with residuals below $10^{-11}$, and with the smallest singular value of the Jacobian of $\psi$ at the endpoints being $0.57$, $0.18$, $0.046$ and $0.0017$, so numerically all the cyclic $p$-roots are simple, at $p\leq11$, this being numerical evidence, and not a certification. These counts agree with earlier computations. Li and Tsai found with the homotopy solver HOM4PS-2.0para $184756$ isolated cyclic $11$-roots, and $2704156=\binom{24}{12}$ isolated cyclic $13$-roots \cite{lts}, so numerically the cyclic $13$-roots are simple too, and F\"uhr and Rzeszotnik exhibited $18744$ unimodular cyclic $11$-roots, in $12$ orbits, the completeness of their list being left open in \cite{fr}, while agreeing with our counts at $p=5,7$. At $p=13$, Gabidulin and Shorin found $53222$ unimodular cyclic $13$-roots, by an exhaustive search \cite{gsh}. At $N$ prime, Theorem \ref{thm:haagerup} counts the cyclic $N$-roots with multiplicity, and the question is whether they are all simple, which holds numerically at $N\leq13$. At $N$ squarefree and composite, the method of Haagerup does not apply, as shown in \cite{zho}. At $N=6,10$ the cyclic roots are known to be finite in number, from the computations discussed in section \ref{sec:cyclic}, while at $N=14$ the count of isolated roots in \cite{lts} does not exclude positive-dimensional components, as noted in \cite{fr}, and the open cases include the following: \begin{quest} Are there finitely many cyclic $N$-roots at $N=14$ and $N=15$, and what are the numbers of circulant complex Hadamard matrices of these orders, with $h_0=1$? \end{quest} \section{Ground states, partition functions}\label{sec:ground} In this section we discuss the circulant complex Hadamard matrices from an analytic viewpoint, as ground states of a spin chain. Given $x\in\mathbb T^N$, consider its periodic autocorrelations $c(s)=\sum_tx_{t+s}\bar x_t$, so that $c(0)=N$. We have the following elementary result, which is the complex analogue of the formula for the sidelobe energy in section \ref{sec:real}: \begin{prop}\label{prop:energy} For $x\in\mathbb T^N$, with Fourier transform $\hat x_k=\sum_tx_tw^{kt}$, we have $$\Phi(x)=\sum_k|\hat x_k|^4-N^3=\sum_k(|\hat x_k|^2-N)^2=N\sum_{s\neq0}|c(s)|^2$$ In particular $\Phi\geq0$, with equality precisely when the circulant matrix associated to $x$ is a complex Hadamard matrix. \end{prop} \begin{proof} We have $|\hat x_k|^2=\sum_sc(s)w^{ks}$, and so $\sum_k|\hat x_k|^2=Nc(0)=N^2$, and $\sum_k|\hat x_k|^4=N\sum_s|c(s)|^2$, by the Plancherel formula. This gives the formulae, and the last assertion follows from Proposition \ref{prop:diag}. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.9]; \filldraw[draw=black!70,fill=white] (1.90,0.00) circle[radius=2pt]; \node at (2.32,0.00) {$0$}; \filldraw[draw=black!70,fill=white] (1.65,0.95) circle[radius=2pt]; \node at (2.01,1.16) {$1$}; \filldraw[draw=black!70,fill=white] (0.95,1.65) circle[radius=2pt]; \node at (1.16,2.01) {$2$}; \filldraw[draw=black!70,fill=white] (0.00,1.90) circle[radius=2pt]; \node at (0.00,2.32) {$3$}; \filldraw[draw=black!70,fill=white] (-0.95,1.65) circle[radius=2pt]; \node at (-1.16,2.01) {$4$}; \filldraw[draw=black!70,fill=white] (-1.65,0.95) circle[radius=2pt]; \node at (-2.01,1.16) {$5$}; \filldraw[draw=black!70,fill=white] (-1.90,0.00) circle[radius=2pt]; \node at (-2.32,0.00) {$6$}; \filldraw[draw=black!70,fill=white] (-1.65,-0.95) circle[radius=2pt]; \node at (-2.01,-1.16) {$7$}; \filldraw[draw=black!70,fill=white] (-0.95,-1.65) circle[radius=2pt]; \node at (-1.16,-2.01) {$8$}; \filldraw[draw=black!70,fill=white] (-0.00,-1.90) circle[radius=2pt]; \node at (-0.00,-2.32) {$9$}; \filldraw[draw=black!70,fill=white] (0.95,-1.65) circle[radius=2pt]; \node at (1.16,-2.01) {$10$}; \filldraw[draw=black!70,fill=white] (1.65,-0.95) circle[radius=2pt]; \node at (2.01,-1.16) {$11$}; \draw[cblue,line width=1.2pt] (1.65,0.95)--(-0.95,1.65) (0.95,1.65)--(0.00,1.90); \draw[cblue,dashed] (1.65,0.95)--(0.95,1.65) (-0.95,1.65)--(0.00,1.90); \draw[cgold,line width=1.2pt] (-1.90,0.00)--(1.65,-0.95) (-1.65,-0.95)--(0.95,-1.65); \draw[cgold,dashed] (-1.90,0.00)--(-1.65,-0.95) (1.65,-0.95)--(0.95,-1.65); \end{tikzpicture} \caption{Two interactions $x_a\bar x_bx_c\bar x_d$ of the energy $\Phi$, at $N=12$, with $(a,b,c,d)=(1,2,4,3)$ and $(6,7,11,10)$. The condition $a-b=d-c$, that is, $a+c=b+d$, means that the chords $ac$ and $bd$ are parallel, so the interactions are the trapezoids inscribed in the $N$-gon.}\label{fig:trapezoid} \end{figure} Thus $\Phi$ is the energy of a ring of $N$ spins, with the 4-body interaction $x_a\bar x_bx_c\bar x_d$, over the quadruples with $a-b=d-c$, which are the trapezoids in Figure \ref{fig:trapezoid}, and its ground states are the circulant complex Hadamard matrices. Since $\Phi$ is invariant under $x\to\zeta x$, with $\zeta\in\mathbb T$, we can normalize $x_0=1$, and the set $G_N$ of ground states with $x_0=1$ is then the set of unimodular cyclic $N$-roots, at the $x$-level of Proposition \ref{prop:xlevel}. We use the following notion: \begin{defn} The partition function of the circulant chain, at inverse temperature $\beta\geq0$, is $$Z_N(\beta)=\int_{\mathbb T^{N-1}}e^{-\beta\Phi(x)}dx$$ with $dx$ being the uniform probability measure on the vectors $x\in\mathbb T^N$ with $x_0=1$. \end{defn} At high temperature, $\beta\to0$, we have $Z_N(\beta)=1-\beta\int\Phi+O(\beta^2)$, and the moments of $\Phi$ count the solutions of systems of linear equations over $\mathbb Z_N$. For instance $\int|c(s)|^2dx=N$ for $s\neq0$, the only contributions coming from the diagonal terms, so $\int\Phi\,dx=N^2(N-1)$. We are interested here in the low temperature regime, $\beta\to\infty$, which concentrates around $G_N$. With $x_t=e^{i\theta_t}$ for $t\neq0$, let $J_x$ be the $N\times(N-1)$ real matrix having entries $\partial|\hat x_k|^2/\partial\theta_t$. We have: \begin{thm}\label{thm:laplace} Assume that $G_N$ is finite, and that $J_x$ has rank $N-1$, at any $x\in G_N$. Then $$\lim_{\beta\to\infty}(4\pi\beta)^{(N-1)/2}Z_N(\beta)=C_N$$ where $C_N=\sum_{x\in G_N}\det(J_x^tJ_x)^{-1/2}$ is a weighted count of the circulant complex Hadamard matrices of order $N$ with $h_0=1$. \end{thm} \begin{proof} Let $n=N-1$, and work with the coordinates $\theta\in[0,2\pi)^n$, so that $dx=d\theta/(2\pi)^n$. Outside small balls around the points of $G_N$ we have $\Phi\geq\varepsilon$, for some $\varepsilon>0$, by compactness, and this part contributes $O(e^{-\beta\varepsilon})$. Near $x\in G_N$, with $f_k=|\hat x_k|^2-N$, we have $\Phi=\sum_kf_k^2$, with $f_k$ vanishing at $x$, and so $\Phi(\theta)=|J_x(\theta-\theta_x)|^2+O(|\theta-\theta_x|^3)$. By the Laplace method, the contribution of the ball around $x$ is therefore, with $1+o(1)$ corrections: $$\frac{1}{(2\pi)^n}\int_{\mathbb R^n}e^{-\beta|J_xy|^2}dy=\frac{1}{(2\pi)^n}\Big(\frac{\pi}{\beta}\Big)^{n/2}\det(J_x^tJ_x)^{-1/2}=\frac{\det(J_x^tJ_x)^{-1/2}}{(4\pi\beta)^{n/2}}$$ Summing over $x\in G_N$ gives the result. \end{proof} When $G_N$ is not finite, the partition function decays more slowly, as follows: \begin{prop}\label{prop:lowerbound} If $G_N$ contains a smooth submanifold of dimension $d$, then there exists $c>0$ such that $Z_N(\beta)\geq c\beta^{-(N-1-d)/2}$, for any $\beta\geq1$. \end{prop} \begin{proof} Let $K\subset G_N$ be a compact piece of this submanifold, of dimension $d$. Since $\Phi\geq0$ vanishes on $K$, its gradient vanishes too, and the Taylor formula gives $\Phi\leq C\,dist(\theta,K)^2$ near $K$. Now with $U_r$ being the set of points at distance $0$, and any $\beta\geq1$. \end{thm} \begin{proof} If $G_N$ is finite and nondegenerate, we can use Theorem \ref{thm:laplace}. If $G_N$ is infinite, being a compact real algebraic set, it contains a smooth arc \cite{bcr}, and Proposition \ref{prop:lowerbound} with $d=1$ shows that $\beta^{(N-1)/2}Z_N(\beta)\geq c\beta^{1/2}$. If $G_N$ is finite, but $J_xv=0$ for some $x\in G_N$ and some unit vector $v$, write $\theta-\theta_x=y+tv$, with $y\perp v$. The Taylor formula gives $\Phi\leq C(|y|^2+|t|^3)$ near $x$, and integrating over $y$ and $t$ gives $Z_N(\beta)\geq c\beta^{-(N-2)/2}\beta^{-1/3}$, so $\beta^{(N-1)/2}Z_N(\beta)\geq c\beta^{1/6}$. Finally, when $m^2|N$, the family in Theorem \ref{thm:backelin}, with $c\in\mathbb T^m$ and $c_0=1$, is a smooth submanifold of $G_N$ of dimension $m-1$, and Proposition \ref{prop:lowerbound} applies. \end{proof} Thus the low temperature behavior of $Z_N$ detects the case where the ground states are finite in number, and nondegenerate, while in general Proposition \ref{prop:lowerbound} only gives lower bounds, coming from the smooth families of ground states, such as those coming from the square factors of $N$. In view of Conjecture \ref{conj:bsa}, it is natural to conjecture the following, which also includes the simplicity of the unimodular cyclic $N$-roots: \begin{conj}\label{conj:partition} For $N$ squarefree, $(4\pi\beta)^{(N-1)/2}Z_N(\beta)$ converges, as $\beta\to\infty$, to the weighted count $C_N$ of the circulant complex Hadamard matrices of order $N$ with $h_0=1$. \end{conj} The program {\tt partition.py} computes the matrices $J_x$ at all the points of $G_N$, found by the programs in sections \ref{sec:cyclic} and \ref{sec:haagerup}, for the squarefree orders $N\leq11$, and finds that they are nondegenerate, the smallest singular value $\sigma_{min}$ of the matrices $J_x$ being as follows, along with the value of $C_N$: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|} \hline $N$&2&3&5&6&7&10&11\\ \hline $|G_N|$&2&6&20&48&532&3040&18744\\ \hline $\sigma_{min}$&2.828&3.000&2.629&3.106&0.781&0.372&0.120\\ \hline $C_N$&0.7071&0.3849&0.02147&0.001648&0.006084&$1.335\cdot10^{-5}$&$1.458\cdot10^{-5}$\\ \hline \end{tabular} \end{center} Thus Conjecture \ref{conj:partition} holds numerically at $N\leq11$ squarefree. Observe that the weighted counts $C_N$ are not monotone in $N$, with $C_7>C_6$ and $C_{11}>C_{10}$, the large numbers of matrices at $N=7,11$ compensating for their smaller weights, which come from the smaller values of $\sigma_{min}$. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \draw[black!40,->] (-1.5,0)--(4.2,0) node[right]{$\log_{10}\beta$}; \draw[black!40,->] (-1.5,0)--(-1.5,4.0) node[above]{$\log_{10}Z_N$}; \node[below] at (-2.00,0) {$-1$}; \node[below] at (0.00,0) {$0$}; \node[below] at (2.00,0) {$1$}; \node[left] at (-1.5,0.00) {$-5$}; \node[left] at (-1.5,0.90) {$-4$}; \node[left] at (-1.5,1.80) {$-3$}; \node[left] at (-1.5,2.70) {$-2$}; \node[left] at (-1.5,3.60) {$-1$}; \draw[cblue,line width=1pt] (0.00,3.17)--(1.20,2.60)--(2.41,2.06)--(3.61,1.51); \fill[cblue] (0.00,3.17) circle[radius=1.6pt]; \fill[cblue] (1.20,2.60) circle[radius=1.6pt]; \fill[cblue] (2.41,2.06) circle[radius=1.6pt]; \fill[cblue] (3.61,1.51) circle[radius=1.6pt]; \node[cblue,right] at (3.61,1.51) {$N=3$}; \draw[cgold,line width=1pt] (-1.20,3.35)--(0.00,2.85)--(1.20,2.35)--(2.41,1.86); \fill[cgold] (-1.20,3.35) circle[radius=1.6pt]; \fill[cgold] (0.00,2.85) circle[radius=1.6pt]; \fill[cgold] (1.20,2.35) circle[radius=1.6pt]; \fill[cgold] (2.41,1.86) circle[radius=1.6pt]; \node[cgold,right] at (2.41,1.86) {$N=4$}; \draw[black,line width=1pt] (-1.20,2.14)--(-0.60,1.58)--(0.00,1.03)--(0.60,0.48); \fill[black] (-1.20,2.14) circle[radius=1.6pt]; \fill[black] (-0.60,1.58) circle[radius=1.6pt]; \fill[black] (0.00,1.03) circle[radius=1.6pt]; \fill[black] (0.60,0.48) circle[radius=1.6pt]; \node[black,right] at (0.60,0.48) {$N=5$}; \end{tikzpicture} \caption{The partition functions $Z_3,Z_4,Z_5$, computed by the trapezoid rule, in logarithmic scale. The slopes are $-1$ at $N=3$ and $-2$ at $N=5$, as predicted by Theorem \ref{thm:laplace}, while at $N=4$ the slope is close to $-1$, instead of $-3/2$, because of the curves of Backelin matrices.}\label{fig:loglog} \end{figure} The program also computes $Z_N(\beta)$ by the trapezoid rule on a grid, at $N=3,4,5$, see Figure \ref{fig:loglog}. At $N=3$, the ratio between $(4\pi\beta)Z_3(\beta)$ and $C_3$ is $1.0146$, $1.0035$, $1.0009$, at $\beta=4,16,64$, and at $N=5$ the corresponding ratio is $1.035$, $1.015$, $1.007$, at $\beta=0.5,1,2$. At $N=4$, where $G_4$ consists of the curves from Theorem \ref{thm:order4}, the ratio $Z_4(\beta)/Z_4(4\beta)$ is about $3.55$, close to $4$, in agreement with a decay of order $\beta^{-1}$, instead of the decay $\beta^{-3/2}$ of the finite case. However, the decay is not exactly of order $\beta^{-1}$, because of some degenerate points on these curves, as follows: \begin{prop}\label{prop:z4} At $N=4$ we have $Z_4(\beta)\geq c\beta^{-1}\log\beta$, for some $c>0$, and any $\beta$ large enough. In particular, $\beta Z_4(\beta)\to\infty$, for $\beta\to\infty$. \end{prop} \begin{proof} We work around the point $(1,1,-1,1)\in G_4$, with the coordinates given by $x=(1,e^{is},-e^{iy},e^{i(s+z)})$, which are obtained from $\theta$ by a linear change of variables of determinant $\pm1$. The autocorrelations are then $c(1)=e^{is}-e^{i(y-s)}-e^{i(s+z-y)}+e^{-i(s+z)}$ and $c(2)=2\cos z-2\cos y$, and at $z=0$ we have $c(1)=2\cos s-2\cos(s-y)=-4\sin(y/2)\sin(s-y/2)$. Thus, near $0$, we have $|c(1)|\leq C(|sy|+y^2+|z|)$ and $|c(2)|\leq C(y^2+z^2)$, and since $c(3)=\overline{c(1)}$, Proposition \ref{prop:energy} gives, for some $C'>0$: $$\Phi=4(2|c(1)|^2+c(2)^2)\leq C'(z^2+s^2y^2+y^4)$$ Now fix $\varepsilon>0$ small, and consider the region given by $\beta^{-1/4}\leq s\leq\varepsilon$, $|y|\leq\beta^{-1/2}/s$ and $|z|\leq\beta^{-1/2}$. On this region we have $s^2y^2\leq\beta^{-1}$, $y^4\leq\beta^{-2}s^{-4}\leq\beta^{-1}$ and $z^2\leq\beta^{-1}$, so $e^{-\beta\Phi}\geq e^{-3C'}$, and the volume of the region is: $$\int_{\beta^{-1/4}}^\varepsilon\frac{4\beta^{-1}}{s}\,ds=4\beta^{-1}\Big(\frac{\log\beta}{4}+\log\varepsilon\Big)$$ Thus $Z_4(\beta)\geq c\beta^{-1}\log\beta$, for $\beta$ large, as claimed. \end{proof} Along the curve $(1,a,-1,a)$ the energy $\Phi$ is nondegenerate in the transversal directions, except at the points with $a^4=1$, such as the real point $(1,1,-1,1)$, of type $K_4$, where the term $s^2y^2$ above degenerates, and the same happens on the other curve. Thus the measured ratio $3.55$ is a finite temperature observation, and a pure power law $Z_4(\beta)\sim c\beta^{-1}$ is excluded. We will see in section \ref{sec:energies} that $\Phi$ is the member at $p=4$ of a family of energies $E_p$, coming from the $p$-norms, which all have the same low temperature asymptotics, with the same constants $C_N$. From an analytic viewpoint, Conjecture \ref{conj:partition} is a version of Conjecture \ref{conj:bsa} which can be formulated without algebra, in terms of the low temperature behavior of the partition function $Z_N(\beta)$, and it is natural to look for an analytic approach to it, for instance via the moments of the energy $\Phi$, which count the solutions of systems of linear equations over $\mathbb Z_N$. Also, the weighted counts $C_N$ from Theorem \ref{thm:laplace} are new invariants. For the chirps, their contributions can be computed explicitly, as follows, with $(\frac{\cdot}{p})$ being the Legendre symbol, and with $\varepsilon>1$ and $h$ being the fundamental unit and the class number of $\mathbb Q(\sqrt p)$, at $p=1(4)$: \begin{prop}\label{prop:chirpweight} For $p$ odd prime, the chirp $x_t=w^{at^2+bt}$, with $a\neq0$, is a nondegenerate point of $G_p$, and its contribution to $C_p$ is given by $$\det(J_x^tJ_x)^{-1/2}=\frac{\sqrt p}{\prod_{s=1}^{p-1}2p|\sin(2\pi as^2/p)|}=p^{1/2-p}\varepsilon_a$$ where $\varepsilon_a=1$ at $p=3(4)$, and $\varepsilon_a=\varepsilon^{2h(\frac{2a}{p})}$ at $p=1(4)$. Thus the $p(p-1)$ chirps contribute $(p-1)p^{3/2-p}$ to $C_p$ at $p=3(4)$, and $(p-1)p^{3/2-p}(\varepsilon^{2h}+\varepsilon^{-2h})/2$ at $p=1(4)$. \end{prop} \begin{proof} Write $x_t=e^{i\theta_t}$, and perturb $\theta\to\theta+\delta$, with $\delta\in\mathbb R^p$. Since $x_{t+s}\bar x_t=w^{as^2+bs}w^{2ast}$, the first order variation of the autocorrelation $c(s)$ is, with $\hat\delta_m=\sum_t\delta_tw^{mt}$: $$\sum_tx_{t+s}\bar x_t\,i(\delta_{t+s}-\delta_t)=iw^{as^2+bs}(w^{-2as^2}-1)\hat\delta_{2as}$$ By Proposition \ref{prop:energy}, the quadratic part of $\Phi$ at $x$ is therefore $p\sum_{s\neq0}4\sin^2(2\pi as^2/p)|\hat\delta_{2as}|^2$, and since $s\to2as$ is a bijection of $\mathbb Z_p^*$, this quadratic form is diagonalized by the vectors $(w^{-mt})_t/\sqrt p$, with eigenvalue $4p^2\sin^2(2\pi as^2/p)$ for $m=2as\neq0$, and $0$ for $m=0$. The matrix $J_x^tJ_x$ is the principal minor of this form obtained by removing the coordinate $0$, and for a positive matrix whose kernel is spanned by a unit vector $v$, such a minor is the product of the nonzero eigenvalues, times $v_0^2=1/p$. This gives the first formula, and the nondegeneracy. Now let $Q,Q'\subset\mathbb Z_p^*$ be the squares and the non-squares, and let $P_+,P_-$ be the products of the numbers $\sin(\pi r/p)$, with $04$. (1) For $p=1(4)$, $g$ is real, so $Re((1-s)\bar v)=0$, and with $Re(s\bar v)=0$ we obtain $Re(v)=0$. Thus $v=it$ with $t\in\mathbb R^*$, and $Re(s\bar v)=t\,Im(s)=0$ shows that $s=r$ is real. Then $(1-r)^2=pr^2$ gives $r=1/(1\pm\sqrt p)$, and we obtain $a=r+it$ and $b=r-it$, with $t=\pm\sqrt{1-r^2}$. (2) For $p=3(4)$, $g$ is purely imaginary, so $Im((1-s)\bar v)=0$, and with $Re(s\bar v)=0$ we obtain $s\bar v=i\mu$, with $\mu=Im(\bar v)$. Thus $s=i\mu v/|v|^2$, so $Re(s)=\mu^2/|v|^2=|s|^2$, and the condition $2Re(s)+(p-1)|s|^2=1$ gives $|s|^2=1/(p+1)$, and then $|v|^2=p/(p+1)$ and $\mu^2=p/(p+1)^2$. Writing $v=\varepsilon p/(p+1)-i\mu$, with $\varepsilon=\pm1$, we obtain $s=1/(p+1)+i\varepsilon\mu$, and so $a=1$ for $\varepsilon=1$, and $b=1$ for $\varepsilon=-1$, the other value being $(1-p\pm2i\sqrt p)/(p+1)$. Conversely, all these values satisfy the above equations, and give the 4 matrices in the statement, in each case. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.8]; \filldraw[draw=black!70,fill=white] (1.80,0.00) circle[radius=2.4pt]; \node at (2.23,0.00) {$0$}; \filldraw[draw=black!70,fill=cblue] (1.59,0.84) circle[radius=2.4pt]; \node at (1.98,1.04) {$1$}; \filldraw[draw=black!70,fill=cgold] (1.02,1.48) circle[radius=2.4pt]; \node at (1.27,1.84) {$2$}; \filldraw[draw=black!70,fill=cblue] (0.22,1.79) circle[radius=2.4pt]; \node at (0.27,2.22) {$3$}; \filldraw[draw=black!70,fill=cblue] (-0.64,1.68) circle[radius=2.4pt]; \node at (-0.79,2.09) {$4$}; \filldraw[draw=black!70,fill=cgold] (-1.35,1.19) circle[radius=2.4pt]; \node at (-1.67,1.48) {$5$}; \filldraw[draw=black!70,fill=cgold] (-1.75,0.43) circle[radius=2.4pt]; \node at (-2.17,0.53) {$6$}; \filldraw[draw=black!70,fill=cgold] (-1.75,-0.43) circle[radius=2.4pt]; \node at (-2.17,-0.53) {$7$}; \filldraw[draw=black!70,fill=cgold] (-1.35,-1.19) circle[radius=2.4pt]; \node at (-1.67,-1.48) {$8$}; \filldraw[draw=black!70,fill=cblue] (-0.64,-1.68) circle[radius=2.4pt]; \node at (-0.79,-2.09) {$9$}; \filldraw[draw=black!70,fill=cblue] (0.22,-1.79) circle[radius=2.4pt]; \node at (0.27,-2.22) {$10$}; \filldraw[draw=black!70,fill=cgold] (1.02,-1.48) circle[radius=2.4pt]; \node at (1.27,-1.84) {$11$}; \filldraw[draw=black!70,fill=cblue] (1.59,-0.84) circle[radius=2.4pt]; \node at (1.98,-1.04) {$12$}; \draw[black,line width=1pt] (1.80,0.00)--(2.10,0.00); \draw[black,line width=1pt] (1.59,0.84)--(1.66,1.13); \draw[black,line width=1pt] (1.02,1.48)--(1.09,1.19); \draw[black,line width=1pt] (0.22,1.79)--(0.28,2.08); \draw[black,line width=1pt] (-0.64,1.68)--(-0.57,1.98); \draw[black,line width=1pt] (-1.35,1.19)--(-1.28,0.90); \draw[black,line width=1pt] (-1.75,0.43)--(-1.68,0.14); \draw[black,line width=1pt] (-1.75,-0.43)--(-1.68,-0.72); \draw[black,line width=1pt] (-1.35,-1.19)--(-1.28,-1.49); \draw[black,line width=1pt] (-0.64,-1.68)--(-0.57,-1.39); \draw[black,line width=1pt] (0.22,-1.79)--(0.28,-1.49); \draw[black,line width=1pt] (1.02,-1.48)--(1.09,-1.77); \draw[black,line width=1pt] (1.59,-0.84)--(1.66,-0.54); \draw[black!40] (5.00,0.00) circle[radius=1.8]; \filldraw[draw=black!70,fill=white] (6.80,0.00) circle[radius=2.4pt]; \node at (7.23,0.00) {$0$}; \filldraw[draw=black!70,fill=cblue] (6.51,0.97) circle[radius=2.4pt]; \node at (6.88,1.21) {$1$}; \filldraw[draw=black!70,fill=cgold] (5.75,1.64) circle[radius=2.4pt]; \node at (5.93,2.03) {$2$}; \filldraw[draw=black!70,fill=cblue] (4.74,1.78) circle[radius=2.4pt]; \node at (4.68,2.21) {$3$}; \filldraw[draw=black!70,fill=cblue] (3.82,1.36) circle[radius=2.4pt]; \node at (3.54,1.69) {$4$}; \filldraw[draw=black!70,fill=cblue] (3.27,0.51) circle[radius=2.4pt]; \node at (2.86,0.63) {$5$}; \filldraw[draw=black!70,fill=cgold] (3.27,-0.51) circle[radius=2.4pt]; \node at (2.86,-0.63) {$6$}; \filldraw[draw=black!70,fill=cgold] (3.82,-1.36) circle[radius=2.4pt]; \node at (3.54,-1.69) {$7$}; \filldraw[draw=black!70,fill=cgold] (4.74,-1.78) circle[radius=2.4pt]; \node at (4.68,-2.21) {$8$}; \filldraw[draw=black!70,fill=cblue] (5.75,-1.64) circle[radius=2.4pt]; \node at (5.93,-2.03) {$9$}; \filldraw[draw=black!70,fill=cgold] (6.51,-0.97) circle[radius=2.4pt]; \node at (6.88,-1.21) {$10$}; \draw[black,line width=1pt] (6.80,0.00)--(7.10,0.00); \draw[black,line width=1pt] (6.51,0.97)--(6.26,1.14); \draw[black,line width=1pt] (5.75,1.64)--(6.05,1.64); \draw[black,line width=1pt] (4.74,1.78)--(4.49,1.95); \draw[black,line width=1pt] (3.82,1.36)--(3.57,1.53); \draw[black,line width=1pt] (3.27,0.51)--(3.02,0.67); \draw[black,line width=1pt] (3.27,-0.51)--(3.57,-0.51); \draw[black,line width=1pt] (3.82,-1.36)--(4.12,-1.36); \draw[black,line width=1pt] (4.74,-1.78)--(5.04,-1.78); \draw[black,line width=1pt] (5.75,-1.64)--(5.50,-1.47); \draw[black,line width=1pt] (6.51,-0.97)--(6.81,-0.97); \end{tikzpicture} \caption{The Bj\"orck matrices of simple index $2$ at $p=13$, with $Re(a)=1/(1+\sqrt{13})$, and at $p=11$, where we obtain the Paley matrix with $a=z$, $b=1$. The squares modulo $p$ are in blue, the non-squares in gold, and the hands show the entries.}\label{fig:index2} \end{figure} Thus at $p=3(4)$ we recover the matrices associated to the Paley difference sets, from Theorem \ref{thm:b}, and at $p=1(4)$ we obtain genuinely 3-valued matrices, as in Figure \ref{fig:index2}, whose wildness is discussed in section \ref{sec:spin}. The program {\tt index2.py} checks this classification for $5\leq p\leq47$, by solving the equations numerically from many starting points. Regarding now the general Butson case, the program {\tt butson.py} counts the circulant Butson matrices of order $N$, with entries in $\mathbb Z_q$, and with $h_0=1$, by exhaustive search, with the results being as follows: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|} \hline $N$&$q=2$&$q=3$&$q=4$&$q=5$&$q=6$&$q=7$&$q=8$\\ \hline 2&0&0&2&0&0&0&2\\ \hline 3&0&6&0&0&6&0&0\\ \hline 4&4&0&8&0&12&0&16\\ \hline 5&0&0&0&20&0&0&0\\ \hline 6&0&0&0&0&0&0&0\\ \hline 7&0&0&0&0&0&42&0\\ \hline 8&0&0&32&0&0&0&64\\ \hline 9&0&54&0&0&216&0&0\\ \hline 10&0&0&0&0&0&-&-\\ \hline \end{tabular} \end{center} At $N=3,5$ all the unimodular cyclic roots are Butson, while at $N=7$ only $42$ of the $532$ unimodular cyclic $7$-roots are Butson, with $q=7$, and at $N=6$ there are no solutions with $q\leq8$. The small circulant Butson matrices were studied systematically in \cite{hsc}. In general, the existence of circulant Butson matrices is a difficult arithmetic question, and Duc and Schmidt constructed group-invariant Butson matrices from bilinear forms on abelian groups \cite{dsc}, and showed, by using the field descent method discussed in the next section, that their sufficient conditions are also necessary, in the case of the cyclic groups of prime power order. At $d=3$, for primes $p=1(3)$, the matrices of simple index 3 are those which are constant on the cosets of the cubic residues, and their eigenvalues are linear combinations of the cubic Gauss periods. The program {\tt index3.py} solves the corresponding $3$ equations in $3$ unknown phases, from many starting points, and finds exactly $12$ solutions at every prime $p=1(3)$ with $7\leq p\leq109$, out of the $\binom{6}{3}=20$ solutions, counted with multiplicity, of the complexified system in Theorem \ref{thm:haagerupindex}. One of these matrices is shown in Figure \ref{fig:index3}. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.9]; \filldraw[draw=black!70,fill=black!60] (1.90,0.00) circle[radius=2.6pt]; \node at (2.32,0.00) {$0$}; \filldraw[draw=black!70,fill=cblue] (1.68,0.88) circle[radius=2.6pt]; \node at (2.05,1.08) {$1$}; \filldraw[draw=black!70,fill=cgold] (1.08,1.56) circle[radius=2.6pt]; \node at (1.32,1.91) {$2$}; \filldraw[draw=black!70,fill=cgold] (0.23,1.89) circle[radius=2.6pt]; \node at (0.28,2.30) {$3$}; \filldraw[draw=black!70,fill=white] (-0.67,1.78) circle[radius=2.6pt]; \node at (-0.82,2.17) {$4$}; \filldraw[draw=black!70,fill=cblue] (-1.42,1.26) circle[radius=2.6pt]; \node at (-1.74,1.54) {$5$}; \filldraw[draw=black!70,fill=white] (-1.84,0.45) circle[radius=2.6pt]; \node at (-2.25,0.55) {$6$}; \filldraw[draw=black!70,fill=white] (-1.84,-0.45) circle[radius=2.6pt]; \node at (-2.25,-0.55) {$7$}; \filldraw[draw=black!70,fill=cblue] (-1.42,-1.26) circle[radius=2.6pt]; \node at (-1.74,-1.54) {$8$}; \filldraw[draw=black!70,fill=white] (-0.67,-1.78) circle[radius=2.6pt]; \node at (-0.82,-2.17) {$9$}; \filldraw[draw=black!70,fill=cgold] (0.23,-1.89) circle[radius=2.6pt]; \node at (0.28,-2.30) {$10$}; \filldraw[draw=black!70,fill=cgold] (1.08,-1.56) circle[radius=2.6pt]; \node at (1.32,-1.91) {$11$}; \filldraw[draw=black!70,fill=cblue] (1.68,-0.88) circle[radius=2.6pt]; \node at (2.05,-1.08) {$12$}; \draw[black,line width=1pt] (1.90,0.00)--(2.22,0.00); \draw[black,line width=1pt] (1.68,0.88)--(1.81,1.18); \draw[black,line width=1pt] (1.08,1.56)--(0.82,1.75); \draw[black,line width=1pt] (0.23,1.89)--(-0.03,2.07); \draw[black,line width=1pt] (-0.67,1.78)--(-0.83,1.50); \draw[black,line width=1pt] (-1.42,1.26)--(-1.30,1.55); \draw[black,line width=1pt] (-1.84,0.45)--(-2.00,0.17); \draw[black,line width=1pt] (-1.84,-0.45)--(-2.00,-0.74); \draw[black,line width=1pt] (-1.42,-1.26)--(-1.30,-0.97); \draw[black,line width=1pt] (-0.67,-1.78)--(-0.83,-2.06); \draw[black,line width=1pt] (0.23,-1.89)--(-0.03,-1.70); \draw[black,line width=1pt] (1.08,-1.56)--(0.82,-1.38); \draw[black,line width=1pt] (1.68,-0.88)--(1.81,-0.59); \end{tikzpicture} \caption{A Bj\"orck matrix of simple index $3$ at $p=13$: the $3$ cosets of the cubic residues are in blue, gold and white, and the hands show the entries, which are constant on these cosets, with $x_0=1$.}\label{fig:index3} \end{figure} The constant number of solutions found above is in fact a theorem, due to Bj\"orck and Haagerup \cite{bha}, who solved the equations of simple index $3$ exactly, by symmetry-preserving calculations, as follows: \begin{thm}\label{thm:index3} For any prime $p=1(3)$ with $p\geq7$, there are exactly $12$ circulant complex Hadamard matrices of order $p$ with $h_0=1$, and of simple index $3$. \end{thm} \begin{proof} This is from \cite{bha}, where the $\binom{6}{3}=20$ cyclic $p$-roots of simple index $3$ from Theorem \ref{thm:haagerupindex} are computed in closed form, and seen to include exactly $2$ sets of $6$ unimodular ones. \end{proof} Thus our computations with {\tt index3.py} at $7\leq p\leq109$ are a numerical check of Theorem \ref{thm:index3}. Regarding the general case, the circulant Butson matrices are well understood at prime power orders, by \cite{dsc}, and the general case is open. Our computations above show for instance that there are no circulant Butson matrices of order $6$ with $q\leq8$, while there are such matrices with $q=12$, given by the chirps in Proposition \ref{prop:chirp}. The general question is as follows: \begin{quest} For which pairs $(N,q)$ do circulant Butson matrices of order $N$, with entries in $\mathbb Z_q$, exist, and can the self-conjugacy and field descent methods from section \ref{sec:selfconj} decide this? \end{quest} \section{Cyclotomic fields, field descent}\label{sec:primer}\label{sec:selfconj} The eigenvalues of the circulant Butson matrices are cyclotomic integers, and in this section we discuss the arithmetic methods for studying them, based on the algebraic number theory of the cyclotomic fields. We first review the needed material, with proofs, except for 2 standard facts, namely that the ring of integers of $\mathbb Q(\zeta_m)$ is $\mathbb Z[\zeta_m]$, and that the Galois group acts transitively on the prime ideals above a given prime, for which we refer to \cite{was}. Let $\zeta=\zeta_m=e^{2\pi i/m}$, and consider the cyclotomic polynomial $\Phi_m(X)=\prod_{t\in\mathbb Z_m^*}(X-\zeta^t)$, which has integer coefficients, as one can see by induction, from $X^m-1=\prod_{d|m}\Phi_d$. We first have: \begin{prop}\label{prop:cycloirr} The polynomial $\Phi_m$ is irreducible over $\mathbb Q$. Thus $\mathbb Q(\zeta)$ has degree $\varphi(m)$, and its automorphisms are the maps $\sigma_t:\zeta\to\zeta^t$, with $t\in\mathbb Z_m^*$, so its Galois group is $\mathbb Z_m^*$. \end{prop} \begin{proof} Let $f$ be the minimal polynomial of $\zeta$, which is monic with integer coefficients, and divides $\Phi_m$. We show that $f(\zeta^p)=0$, for any prime $p\nmid m$. Otherwise, $\zeta^p$ is a root of another irreducible factor $g$ of $X^m-1$, and $\zeta$ is a root of $g(X^p)$, so $f$ divides $g(X^p)$. Modulo $p$ we have $g(X^p)=g(X)^p$, so $f$ and $g$ have a common factor modulo $p$, and since $fg$ divides $X^m-1$, this polynomial has a multiple root modulo $p$, which is impossible, its derivative $mX^{m-1}$ being prime to it. By iterating, $f(\zeta^t)=0$ for any $t\in\mathbb Z_m^*$, so $f=\Phi_m$. \end{proof} The complex conjugation is $\sigma_{-1}$, and the Galois group being abelian, it commutes with all the automorphisms. The ring $\mathbb Z[\zeta]$ has basis $1,\zeta,\ldots,\zeta^{\varphi(m)-1}$, and is isomorphic to $\mathbb Z[X]/(\Phi_m)$. Regarding the decomposition of the primes, we first have the following result, at the primes not dividing $m$: \begin{prop}\label{prop:unramified} Let $p$ be a prime not dividing $m$, and $f=ord_m(p)$. Then $p\mathbb Z[\zeta]=P_1\ldots P_g$, with $P_i$ being distinct prime ideals, with residue fields of order $p^f$, and $g=\varphi(m)/f$. The decomposition group $D=\{\sigma|\sigma(P_i)=P_i\}$ of each $P_i$ is the subgroup generated by $\sigma_p$. \end{prop} \begin{proof} We have $\mathbb Z[\zeta]/p\mathbb Z[\zeta]=\mathbb F_p[X]/(\bar\Phi_m)$, and $\bar\Phi_m$ divides $X^m-1$, which is separable over $\mathbb F_p$. Thus $\bar\Phi_m=\prod_i\bar g_i$, with $\bar g_i$ distinct and irreducible, and $\mathbb Z[\zeta]/p\mathbb Z[\zeta]$ is the product of the fields $\mathbb F_p[X]/(\bar g_i)$, whose kernels are the prime ideals $P_i$ above $p$, and so $p\mathbb Z[\zeta]=P_1\ldots P_g$. The roots of $\bar\Phi_m$ are primitive $m$-th roots of unity, on which the Frobenius map $y\to y^p$ acts with orbits of size $f=ord_m(p)$, so each $\bar g_i$ has degree $f$, and $g=\varphi(m)/f$. Finally, $\sigma_p(\sum_ja_j\zeta^j)=\sum_ja_j\zeta^{pj}$ equals $(\sum_ja_j\zeta^j)^p$ modulo $p$, so $\sigma_p(x)\in P_i$ for $x\in P_i$, and $\sigma_p\in D$. By transitivity, $|D|=\varphi(m)/g=f$, which is the order of $\sigma_p$, so $D=\langle\sigma_p\rangle$. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.9]; \filldraw[draw=black!70,fill=cblue] (1.90,0.00) circle[radius=2.8pt]; \node at (2.28,0.00) {$1$}; \filldraw[draw=black!70,fill=cgold] (1.65,0.95) circle[radius=2.8pt]; \node at (1.97,1.14) {$2$}; \filldraw[draw=black!70,fill=white] (0.95,1.65) circle[radius=2.8pt]; \node at (1.14,1.97) {$4$}; \filldraw[draw=black!70,fill=black!60] (0.00,1.90) circle[radius=2.8pt]; \node at (0.00,2.28) {$8$}; \filldraw[draw=black!70,fill=cblue] (-0.95,1.65) circle[radius=2.8pt]; \node at (-1.14,1.97) {$3$}; \filldraw[draw=black!70,fill=cgold] (-1.65,0.95) circle[radius=2.8pt]; \node at (-1.97,1.14) {$6$}; \filldraw[draw=black!70,fill=white] (-1.90,0.00) circle[radius=2.8pt]; \node at (-2.28,0.00) {$12$}; \filldraw[draw=black!70,fill=black!60] (-1.65,-0.95) circle[radius=2.8pt]; \node at (-1.97,-1.14) {$11$}; \filldraw[draw=black!70,fill=cblue] (-0.95,-1.65) circle[radius=2.8pt]; \node at (-1.14,-1.97) {$9$}; \filldraw[draw=black!70,fill=cgold] (-0.00,-1.90) circle[radius=2.8pt]; \node at (-0.00,-2.28) {$5$}; \filldraw[draw=black!70,fill=white] (0.95,-1.65) circle[radius=2.8pt]; \node at (1.14,-1.97) {$10$}; \filldraw[draw=black!70,fill=black!60] (1.65,-0.95) circle[radius=2.8pt]; \node at (1.97,-1.14) {$7$}; \end{tikzpicture} \caption{The group $\mathbb Z_{13}^*$, drawn on a circle via the powers $2^i$ of the generator $2$, with the $4$ cosets of the subgroup $\langle3\rangle=\{1,3,9\}$ in blue, gold, white and grey. They correspond to the $4$ prime ideals above $3$ in $\mathbb Z[\zeta_{13}]$, each having residue field of order $27$.}\label{fig:primer} \end{figure} As an illustration, the $4$ prime ideals above $3$ in $\mathbb Z[\zeta_{13}]$ correspond to the $4$ cosets of the subgroup $\langle3\rangle=\{1,3,9\}$ in $\mathbb Z_{13}^*$, as shown in Figure \ref{fig:primer}. At the primes dividing $m$, the situation is as follows: \begin{prop}\label{prop:ramified} Let $m=p^ek$, with $p\nmid k$ and $e\geq1$. Then $p\mathbb Z[\zeta_m]=(P_1\ldots P_g)^{\varphi(p^e)}$, with $g=\varphi(k)/ord_k(p)$, and the decomposition group of each $P_i$ is $\mathbb Z_{p^e}^*\times\langle p\rangle\subset\mathbb Z_{p^e}^*\times\mathbb Z_k^*=\mathbb Z_m^*$. \end{prop} \begin{proof} In $\mathbb Q(\zeta_{p^e})$ we have $p=\Phi_{p^e}(1)=\prod_j(1-\zeta_{p^e}^j)$, the product being over $j\in\mathbb Z_{p^e}^*$, and the ratios $(1-\zeta_{p^e}^j)/(1-\zeta_{p^e})$ being units, $p$ is a unit times $(1-\zeta_{p^e})^{\varphi(p^e)}$, so it is totally ramified there. In $\mathbb Q(\zeta_k)$ it decomposes as in Proposition \ref{prop:unramified}, with residue degree $ord_k(p)$. In the compositum $\mathbb Q(\zeta_m)$ the ramification indices and the residue degrees multiply, which gives the decomposition, and the decomposition group, whose order is $\varphi(p^e)ord_k(p)$, contains the inertia group $\mathbb Z_{p^e}^*\times\{1\}$, and the elements acting as $\sigma_p$ on $\mathbb Q(\zeta_k)$. We refer to \cite{was} for the details. \end{proof} Summarizing, the decomposition group of any prime $q$ in $\mathbb Z_m^*$ is the set of elements $t$ which are congruent to a power of $q$, modulo the $q$-free part of $m$. This is the basic tool for deciding which automorphisms fix which prime ideals, and it will be used in the proof of Proposition \ref{prop:selfconj} below. We can now discuss the arithmetic restrictions on the circulant Butson matrices, coming from Proposition \ref{prop:weil}. The basic tool is the self-conjugacy method of Turyn \cite{tur}. Write $m=p^em'$, with $p$ prime and $p\nmid m'$. We say that $p$ is self-conjugate modulo $m$ when $p^j=-1$ modulo $m'$, for some $j\geq0$, the case $m'\in\{1,2\}$ being included. We have then: \begin{prop}\label{prop:selfconj} Assume that $p$ is self-conjugate modulo $m$, and let $X\in\mathbb Z[\zeta_m]$ be such that $X\bar X$ is divisible by $p^{2a}$ in $\mathbb Z[\zeta_m]$. Then $X$ is divisible by $p^a$ in $\mathbb Z[\zeta_m]$. \end{prop} \begin{proof} The Galois group of $\mathbb Q(\zeta_m)$ is $\mathbb Z_{p^e}^*\times\mathbb Z_{m'}^*$, and the decomposition group of $p$, which is the stabilizer of any prime $P$ above $p$, is $\mathbb Z_{p^e}^*\times\langle p\rangle$, the first factor being the inertia group, and $p$ standing for the Frobenius map of $\mathbb Q(\zeta_{m'})$. The complex conjugation corresponds to $(-1,-1)$, which belongs to this group, by self-conjugacy. Thus $\bar P=P$ for any prime $P$ above $p$, and so $v_P(\bar X)=v_{\bar P}(X)=v_P(X)$. Now since $p=\prod_PP^{\varphi(p^e)}$, we obtain $2v_P(X)=v_P(X\bar X)\geq2a\varphi(p^e)$ for any $P$, so $v_P(X)\geq a\varphi(p^e)$ for any $P$, and so $p^a$ divides $X$. \end{proof} In order to apply this to the circulant matrices, it is convenient to project onto the quotients of $\mathbb Z_N$. Given $M|N$, the projection of $h$ onto $\mathbb Z_M$ is the function $h'_r=\sum_{t=r(M)}h_t$, whose Fourier transform is $\lambda'_k=\lambda_{kN/M}$, so that $|\lambda'_k|^2=N$ for any $k$. We obtain: \begin{thm}\label{thm:turyn} Let $H$ be a circulant Butson matrix of order $N$, with entries in $\mathbb Z_q$, and let $M|N$. If $p^{2a}|N$, and $p$ is self-conjugate modulo $lcm(M,q)$, then the eigenvalues $\lambda_{kN/M}$, with $k\in\mathbb Z_M$, are all divisible by $p^a$ in $\mathbb Z[\zeta_{lcm(M,q)}]$. \end{thm} \begin{proof} The numbers $\lambda'_k=\lambda_{kN/M}=\sum_rh'_rw_M^{kr}$, with $w_M=e^{2\pi i/M}$, belong to $\mathbb Z[\zeta_{lcm(M,q)}]$, and satisfy $\lambda'_k\bar\lambda'_k=N$, which is divisible by $p^{2a}$, so Proposition \ref{prop:selfconj} applies. \end{proof} In the real case, $q=2$, and taking for $M$ the $2$-part of $N$, the prime $2$ is self-conjugate modulo $M$. This leads to the following result of Turyn \cite{tur}, for which we follow the group ring presentation in \cite{oai}: \begin{thm}\label{thm:turynodd} A real circulant Hadamard matrix of order $N>1$ has order $N=4u^2$, with $u$ odd. \end{thm} \begin{proof} Since $\lambda_0=\sum_th_t$ is an integer with $\lambda_0^2=N$, the order $N$ is a square, and since the orthogonality of 2 rows forces $N$ to be even, we have $N=2^{2s}u^2$, with $s\geq1$ and $u$ odd. We use the group rings $\mathbb Z[\mathbb Z_M]$, with generator $X$, and with $T^*(X)=T(X^{-1})$, so that the Hadamard condition reads $hh^*=N$. Assume $s\geq2$. The projection $T$ of $h$ onto $\mathbb Z_{2^{2s}}$ has odd coefficients, each being a sum of $u^2$ signs, and satisfies $TT^*=2^{2s}u^2$. In general, let $T=\sum_jt_jX^j\in\mathbb Z[\mathbb Z_{2^k}]$ with odd coefficients, and with $TT^*=2^{2t}u^2$, where $k\geq1$ and $t\geq2$. With $\xi$ a primitive $2^k$-th root of unity, we have $T(\xi)\overline{T(\xi)}=2^{2t}u^2$, and since $2$ is self-conjugate modulo $2^k$, Proposition \ref{prop:selfconj} gives $T(\xi)\in2^t\mathbb Z[\xi]$. Now $\mathbb Z[\xi]$ has basis $1,\xi,\ldots,\xi^{D-1}$, with $D=2^{k-1}$, and $\xi^D=-1$, so $T(\xi)=\sum_{j4n-2$, so $N=4n-1$ or $N=4n$. In the case $N=4n$ we have $|z-1|=2$, so $z=-1$, and $H$ is a real circulant Hadamard matrix of order $N\geq8$, which is impossible by Theorem \ref{thm:oai} below. In the case $N=4n-1$ we obtain $(2k-N)^2=1$, so $k=2n-1$ or $k=2n$, which gives the parameters in the statement, or those of the complement. \end{proof} The cyclic difference sets with parameters $(4n-1,2n-1,n-1)$ are conjectured to exist only when $4n-1$ is a prime, or of the form $2^m-1$, or a product of twin primes. Summarizing, we have the following result, which is the first part of Theorem \ref{thm:b}. It updates the classification of the $2$-valued unimodular sequences with unimodular Fourier transform, over the finite abelian groups, due to Saffari \cite{saf}, where the cyclic case, with the parameters $(4n-1,2n-1,n-1)$, the real case, and the case of order $2$ already appear, the case $N=4n$ being now excluded by Theorem \ref{thm:oai}. For related results on the type II matrices, and on the complex Hadamard matrices with $2$ distinct entries, see \cite{cgo,szo}: \begin{thm}\label{thm:twovalclass} The circulant complex Hadamard matrices having $2$ distinct entries are, up to a scalar, those in Proposition \ref{prop:twovalclass}, with $|z-1|^2=N/n$, and so, at $N\geq5$, those associated to the cyclic difference sets with parameters $(4n-1,2n-1,n-1)$, or their complements, with $z=(1-2n\pm i\sqrt N)/2n$. \end{thm} \begin{proof} This follows from Propositions \ref{prop:twoval} and \ref{prop:twovalclass}, the formula of $z$ coming from $|z|=1$ and $|z-1|^2=N/n$, which give $Re(z)=1-N/2n=(1-2n)/2n$. \end{proof} The cyclic difference sets have a rich symmetry theory, the basic result here being the multiplier theorem of Hall. We use the group ring $\mathbb Z[\mathbb Z_v]$, with generator $X$, and we write $D=\sum_{d\in D}X^d$, $D^{(t)}=\sum_{d\in D}X^{td}$ and $G=\sum_gX^g$, so that $D$ is a difference set precisely when $DD^{(-1)}=n+\lambda G$. We have: \begin{thm}\label{thm:hall} Let $D$ be a $(v,k,\lambda)$ difference set in $\mathbb Z_v$, of order $n$, and $p$ a prime with $p|n$, $p\nmid v$ and $p>\lambda$. Then $p$ is a multiplier of $D$, in the sense that $pD=D+s$, for some $s\in\mathbb Z_v$. \end{thm} \begin{proof} Since $p\nmid v$, the map $x\to px$ is an automorphism of $\mathbb Z_v$, so $D^{(p)}$ has coefficients $0,1$, and $D^{(p)}D^{(-p)}=(DD^{(-1)})^{(p)}=n+\lambda G$. In characteristic $p$ we have $D^p=D^{(p)}$, and since $p|n$, we obtain, modulo $p$: $$D^{(p)}D^{(-1)}=D^{p-1}DD^{(-1)}=D^{p-1}(n+\lambda G)=\lambda k^{p-1}G=\lambda G$$ Here we have used $DG=kG$, and $k^{p-1}=1$ modulo $p$ when $p\nmid\lambda$, which holds because $k=\lambda$ modulo $p$, the case $p|\lambda$ being trivial. Thus $S=D^{(p)}D^{(-1)}-\lambda G$ has coefficients which are $0$ modulo $p$, and $\geq-\lambda>-p$, and so are $\geq0$. Now by using $DG=kG$, $G^2=vG$ and $k^2=n+\lambda v$, which comes from $k(k-1)=\lambda(v-1)$, we obtain: $$SS^{(-1)}=(n+\lambda G)^2-2\lambda k^2G+\lambda^2vG=n^2$$ The constant coefficient gives $\sum_gs_g^2=n^2$, and the sum of the coefficients gives $\sum_gs_g=k^2-\lambda v=n$, so $S=nX^s$, for some $s$. Thus $D^{(p)}D^{(-1)}=nX^s+\lambda G$, and multiplying by $D$ gives $nD^{(p)}+\lambda kG=nX^sD+\lambda kG$, so $D^{(p)}=X^sD$. \end{proof} For the 2-valued matrices in Theorem \ref{thm:twovalclass}, a multiplier $t$ produces the symmetry $h_{tx}=h_{x+s}$, which is a dilation as in Theorem \ref{thm:circeq}, composed with a shift. For instance, for the Paley difference sets, given by the squares modulo a prime $p=3(4)$, all the squares are multipliers, with $s=0$, and the corresponding matrices are invariant under the dilations by squares, as in Theorem \ref{thm:index2}. The difference sets make sense in any finite abelian group $G$, with the Fourier transform being replaced by the characters, $\hat D(\chi)=\sum_{d\in D}\chi(d)$, and Proposition \ref{prop:dsfourier} holds with the same proof. In the real case, the relevant difference sets are those of Menon \cite{men}, and the Hadamard matrices that they produce are called group-developed, the cyclic case being that of the real circulant Hadamard matrices. We have: \begin{prop}\label{prop:menon} For a finite abelian group $G$ of order $N>1$, and a function $f:G\to\{\pm1\}$, the following are equivalent: \begin{enumerate} \item The matrix $(f(h-g))_{g,h\in G}$ is a Hadamard matrix. \item $|\hat f(\chi)|^2=N$, for any character $\chi$ of $G$. \item $D=f^{-1}(1)$ is a difference set in $G$, with parameters $(4u^2,2u^2\pm u,u^2\pm u)$, where $N=4u^2$. \end{enumerate} Moreover, if $f_1,f_2$ satisfy these conditions on $G_1,G_2$, then $f_1\otimes f_2$ satisfies them on $G_1\times G_2$. \end{prop} \begin{proof} The matrix in (1) is diagonalized by the characters of $G$, with eigenvalues $\hat f(\chi)$, exactly as in the cyclic case, which gives $(1)\iff(2)$. Regarding (3), we have $f=2\chi_D-1$, so $\hat f(\chi)=2\hat D(\chi)$ for $\chi\neq1$, and $\hat f(1)=2k-N$, with $k=|D|$. Thus (2) states that $D$ is a difference set of order $n=N/4$, with $(2k-N)^2=N$, so $N=4u^2$ is a square, and $k=2u^2\pm u$, $\lambda=k-n=u^2\pm u$. Finally, the characters of $G_1\times G_2$ are the products $\chi_1\otimes\chi_2$, and the Fourier transform of $f_1\otimes f_2$ at $\chi_1\otimes\chi_2$ is $\hat f_1(\chi_1)\hat f_2(\chi_2)$. \end{proof} At $N=4$ we have the matrix $K_4$, over $\mathbb Z_4$, and over $\mathbb Z_2\times\mathbb Z_2$, and by taking products, we obtain such matrices over all the groups of the form $\mathbb Z_4^a\times\mathbb Z_2^{2b}$. In the cyclic case, the conjecture of Ryser, proved in Theorem \ref{thm:oai}, states that the groups $\mathbb Z_N$ with $N>4$ are excluded. In general, the existence of Menon difference sets in abelian groups has been widely studied, starting with \cite{men,tur}, a basic obstruction being the exponent bound of Turyn \cite{tur}, which is based on self-conjugacy, as in section \ref{sec:selfconj}. For instance, there are $4$ abelian groups of order $36$, and the program {\tt menon.py}, by a local search on the energy $\sum_\chi(|\hat f(\chi)|^2-36)^2$, as in section \ref{sec:ground}, finds such matrices over $\mathbb Z_6\times\mathbb Z_6$ and $\mathbb Z_3\times\mathbb Z_{12}$, while over $\mathbb Z_{36}$ and $\mathbb Z_2\times\mathbb Z_{18}$, whose Sylow $3$-subgroup $\mathbb Z_9$ is cyclic, there are none, by the exponent bound \cite{tur}: \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \filldraw[draw=black!50,fill=cblue] (0.00,-0.00) rectangle (0.55,0.55); \filldraw[draw=black!50,fill=white] (0.55,-0.00) rectangle (1.10,0.55); \filldraw[draw=black!50,fill=cblue] (1.10,-0.00) rectangle (1.65,0.55); \filldraw[draw=black!50,fill=white] (1.65,-0.00) rectangle (2.20,0.55); \filldraw[draw=black!50,fill=white] (2.20,-0.00) rectangle (2.75,0.55); \filldraw[draw=black!50,fill=white] (2.75,-0.00) rectangle (3.30,0.55); \filldraw[draw=black!50,fill=white] (0.00,-0.55) rectangle (0.55,0.00); \filldraw[draw=black!50,fill=cblue] (0.55,-0.55) rectangle (1.10,0.00); \filldraw[draw=black!50,fill=cblue] (1.10,-0.55) rectangle (1.65,0.00); \filldraw[draw=black!50,fill=white] (1.65,-0.55) rectangle (2.20,0.00); \filldraw[draw=black!50,fill=white] (2.20,-0.55) rectangle (2.75,0.00); \filldraw[draw=black!50,fill=white] (2.75,-0.55) rectangle (3.30,0.00); \filldraw[draw=black!50,fill=cblue] (0.00,-1.10) rectangle (0.55,-0.55); \filldraw[draw=black!50,fill=white] (0.55,-1.10) rectangle (1.10,-0.55); \filldraw[draw=black!50,fill=cblue] (1.10,-1.10) rectangle (1.65,-0.55); \filldraw[draw=black!50,fill=white] (1.65,-1.10) rectangle (2.20,-0.55); \filldraw[draw=black!50,fill=white] (2.20,-1.10) rectangle (2.75,-0.55); \filldraw[draw=black!50,fill=white] (2.75,-1.10) rectangle (3.30,-0.55); \filldraw[draw=black!50,fill=white] (0.00,-1.65) rectangle (0.55,-1.10); \filldraw[draw=black!50,fill=white] (0.55,-1.65) rectangle (1.10,-1.10); \filldraw[draw=black!50,fill=white] (1.10,-1.65) rectangle (1.65,-1.10); \filldraw[draw=black!50,fill=white] (1.65,-1.65) rectangle (2.20,-1.10); \filldraw[draw=black!50,fill=cblue] (2.20,-1.65) rectangle (2.75,-1.10); \filldraw[draw=black!50,fill=cblue] (2.75,-1.65) rectangle (3.30,-1.10); \filldraw[draw=black!50,fill=cblue] (0.00,-2.20) rectangle (0.55,-1.65); \filldraw[draw=black!50,fill=cblue] (0.55,-2.20) rectangle (1.10,-1.65); \filldraw[draw=black!50,fill=cblue] (1.10,-2.20) rectangle (1.65,-1.65); \filldraw[draw=black!50,fill=cblue] (1.65,-2.20) rectangle (2.20,-1.65); \filldraw[draw=black!50,fill=white] (2.20,-2.20) rectangle (2.75,-1.65); \filldraw[draw=black!50,fill=cblue] (2.75,-2.20) rectangle (3.30,-1.65); \filldraw[draw=black!50,fill=cblue] (0.00,-2.75) rectangle (0.55,-2.20); \filldraw[draw=black!50,fill=white] (0.55,-2.75) rectangle (1.10,-2.20); \filldraw[draw=black!50,fill=white] (1.10,-2.75) rectangle (1.65,-2.20); \filldraw[draw=black!50,fill=cblue] (1.65,-2.75) rectangle (2.20,-2.20); \filldraw[draw=black!50,fill=white] (2.20,-2.75) rectangle (2.75,-2.20); \filldraw[draw=black!50,fill=white] (2.75,-2.75) rectangle (3.30,-2.20); \node at (-0.30,0.28) {\scriptsize $0$}; \node at (0.28,0.80) {\scriptsize $0$}; \node at (-0.30,-0.28) {\scriptsize $1$}; \node at (0.83,0.80) {\scriptsize $1$}; \node at (-0.30,-0.83) {\scriptsize $2$}; \node at (1.38,0.80) {\scriptsize $2$}; \node at (-0.30,-1.38) {\scriptsize $3$}; \node at (1.93,0.80) {\scriptsize $3$}; \node at (-0.30,-1.93) {\scriptsize $4$}; \node at (2.48,0.80) {\scriptsize $4$}; \node at (-0.30,-2.48) {\scriptsize $5$}; \node at (3.02,0.80) {\scriptsize $5$}; \end{tikzpicture} \caption{A Menon difference set $D\subset\mathbb Z_6\times\mathbb Z_6$, with parameters $(36,15,6)$, found by the program {\tt menon.py}: the $15$ elements of $D$ are in blue, and the function equal to $1$ on $D$ and to $-1$ outside produces a group-developed Hadamard matrix of order $36$, while no such matrix exists over $\mathbb Z_{36}$.}\label{fig:menon} \end{figure} Thus, the cyclic groups play a very special role here, and the conjecture of Ryser can be regarded as the extreme case of the exponent bound questions, where the whole group is cyclic. \section{Spin models and their wildness}\label{sec:spin} We recall here some material from \cite{bao}, in the circulant case. Given a complex Hadamard matrix $H\in M_N(\mathbb T)$, with rows $H_1,\ldots,H_N$, consider the vectors $\xi_{ij}=H_i/H_j\in\mathbb T^N$, and the rank one projections $P_{ij}=Proj(\xi_{ij})$. The matrix $P=(P_{ij})$ is a magic unitary, and the quantum group $G_H\subset S_N^+$ is the Hopf image of the representation $u_{ij}\to P_{ij}$ of $C(S_N^+)$. Equivalently, with the Jones transfer matrices $$(T_k)_{i_1\ldots i_k,j_1\ldots j_k}=tr(P_{i_1j_1}\ldots P_{i_kj_k})$$ the planar algebra $P^H_k$ is the space of fixed vectors of $T_k$, and $H$ is wild precisely when $\dim P_k^H=Cat_k$ for any $k$. The profile of $H$ is given by: $$S(a,b,c,d)=\sum_yH_{ay}\bar H_{by}\bar H_{cy}H_{dy}$$ In the circulant case, the shift $U$ of the coordinates satisfies $\xi_{i+1,j+1}=U\xi_{ij}$, and so $P_{i+1,j+1}=UP_{ij}U^*$, and the matrices $T_k$ commute with the shift acting on the multi-indices. Also, the profile has a simple Fourier form, as follows: \begin{prop}\label{prop:circprofile} For a circulant Hadamard matrix $H$, with eigenvalues $\lambda_k$, we have $$S(a,b,c,d)=\frac{1}{N^3}\sum_{k+n=l+m}\lambda_k\bar\lambda_l\bar\lambda_m\lambda_nw^{ka-lb-mc+nd}$$ the sum being over $k,l,m,n\in\mathbb Z_N$. Thus the profile is a linear combination of the characters $(a,b,c,d)\to w^{ka-lb-mc+nd}$ with $k+n=l+m$, whose coefficients have constant modulus $1/N$. \end{prop} \begin{proof} This is from \cite{bao}. We have $H_{ay}=h_{y-a}$, with $h_t=\frac{1}{N}\sum_k\lambda_kw^{-kt}$, and inserting this in the definition of $S$, the sum over $y$ gives $N$ when $k+n=l+m$, and $0$ otherwise. \end{proof} The cyclic symmetry has the following consequence, from \cite{bao}, which reduces the wildness question to the shift-invariant part of the planar algebra: \begin{thm}\label{thm:circulant} Let $H$ be circulant, with $N\geq4$, and let $G'\subset S_N^+$ be the quantum group generated by $G_H$ and by the cyclic group $\mathbb Z_N$, acting by shifts. Then $G_H=S_N^+$ if and only if $G'=S_N^+$, that is, if and only if the shift-invariant vectors of $P^H_k$ are Temperley-Lieb, for any $k$. \end{thm} \begin{proof} This is from \cite{bao}. The fixed vectors of $G'$ are the shift-invariant vectors of $P^H_k$. Conversely, if $G'=S_N^+$, each eigenvector $x$ of the shift in $P^H_k$ spans a line which is invariant under $S_N^+$, and so is fixed, because $S_N^+$ has no nontrivial $1$-dimensional corepresentations, for $N\geq4$. \end{proof} We use now the extension of the Bisch-Nicoara method \cite{bn1,bn2} from \cite{bao}. Assume that the entries of $H$ belong to a number field $K$, and let $P$ be a prime of $K$, with local ring $R$ and residue field $k$, such that the entries of $H$ are units of $R$. The profile is called affine at $P$ when the numbers $\sigma=S/N$ belong to $R$ on the quadruples with $a\neq c$ and $b\neq d$, and when, for some $X,Y\in k$, we have, on these quadruples: $$\sigma(a,b,c,d)=-1+\delta_{ab}+\delta_{cd}+X\delta_{ad}+Y\delta_{bc}\ (P)$$ As shown in \cite{bao}, if $N\geq6$, and some representative of $H$ has an affine profile at some prime $P$, then $H$ is wild. In particular, this is the case when $H$ has a representative which reduces modulo a prime $P$ not dividing $N$ to a matrix of the form $J_N+(\mu-1)I_N$, with $\mu\in k^*$. In the circulant case, this latter condition can be read on the eigenvalues: \begin{prop}\label{prop:fourierred} Let $H$ be circulant, with entries in $K\ni w$, which are units at a prime $P$ not dividing $N$. Then $H$ reduces modulo $P$ to a matrix of the form $cI_N+dJ_N$ precisely when the eigenvalues $\lambda_k$ with $k\neq0$ are all congruent modulo $P$, and in this case $c=\lambda_k$ with $k\neq0$, and $d=(\lambda_0-c)/N$, modulo $P$. \end{prop} \begin{proof} Since $P$ does not divide $N$, and $w$ is a unit, the formula in Proposition \ref{prop:diag} holds over $R$. With $f_kf_k^*=(w^{k(i-j)})_{ij}$ we have $\sum_kf_kf_k^*=NI_N$ and $f_0f_0^*=J_N$, and so, for any $c\in R$: $$H=cI_N+\frac{\lambda_0-c}{N}\,J_N+\frac{1}{N}\sum_{k\neq0}(\lambda_k-c)f_kf_k^*$$ Thus, if $\lambda_k=c$ modulo $P$ for $k\neq0$, we obtain $H=cI_N+dJ_N$ modulo $P$, with $d$ as above. Conversely, if $H=cI_N+dJ_N$ modulo $P$, the eigenvalues of $H$ modulo $P$, which are the reductions of the numbers $\lambda_k$, are those of $cI_N+dJ_N$, namely $c$ for $k\neq0$, and $c+Nd$ for $k=0$. \end{proof} Now by combining with the results in \cite{bao}, we obtain the following result, which is Theorem \ref{thm:a} from the introduction: \begin{thm}\label{thm:fourier} Let $H$ be a circulant complex Hadamard matrix of order $N\geq6$, with entries in a number field $K\ni w$, which are units at a prime $P$ not dividing $N$. If all the eigenvalues $\lambda_k$ of $H$, except possibly one, are congruent modulo $P$, then $H$ is wild. \end{thm} \begin{proof} By multiplying $h$ by a character, as in Theorem \ref{thm:circeq}, we can assume that the exceptional eigenvalue is $\lambda_0$. By Proposition \ref{prop:fourierred} we have then $H=cI_N+dJ_N$ modulo $P$. Since the entries $h_t$ with $t\neq0$ are units, and reduce to $d$, we have $d\in k^*$, and since $h_0$ is a unit, reducing to $c+d$, we have $c+d\in k^*$. Thus $H=d(J_N+(\mu-1)I_N)$ modulo $P$, with $\mu=(c+d)/d\in k^*$. The profile being invariant under $H\to\alpha H$, when computed with $\bar H_{ij}=H_{ij}^{-1}$, we can use \cite[Theorem 5.11]{bao}, which shows that $\mu+\mu^{-1}=2-N$ in $k$, and that the profile of $H$ is affine at $P$, with $X=-\mu$ and $Y=-\mu^{-1}$, and so that $H$ is wild. \end{proof} As an illustration, for the Bj\"orck matrices of simple index 2, at the primes $p=1(4)$, the eigenvalues $\lambda_k$ with $k\neq0$ take the 2 values $\alpha,\bar\alpha$, with $\alpha=1-r+i\sqrt{p(1-r^2)}$, where $r=1/(1\pm\sqrt p)$, as in the proof of Theorem \ref{thm:index2}, and their difference vanishes modulo suitable primes above the prime divisors of $p-4$, which is how these matrices were shown to be wild in \cite[Theorem 5.20]{bao}, at $p\geq13$, the case $p=5$ being that of $F_5$. In contrast, for the Paley matrices at $p=3(4)$ the wildness proof in \cite[Proposition 5.19]{bao} uses a prime dividing $p$, outside the scope of Theorem \ref{thm:fourier}, and already at $p=7$ no character twist makes the entries $h_t$ with $t\neq0$ congruent modulo a prime $P\nmid7$, because a nontrivial character takes $6$ distinct values modulo $P$, while $h$ takes $2$ values, and without twist the whole row would become constant modulo $P$, contradicting the orthogonality. The simple index $3$ case was treated in \cite[Theorem 5.21]{bao}, for the computed classes at the primes $13\leq p\leq127$, except for one class at $p=61$, and the indices $d\geq4$ remain open. Regarding the matrices in Theorem \ref{thm:twovalclass}, we have: \begin{thm}\label{thm:twoval} The circulant complex Hadamard matrices having $2$ distinct entries are all wild, at $N\geq7$. \end{thm} \begin{proof} At $N\geq7$ we are in the case $N=4n-1$ with $n\geq2$, with $z=(1-2n\pm i\sqrt N)/2n$, by Theorem \ref{thm:twovalclass}. With the plus sign, the wildness of $H$ was proved in \cite[Proposition 5.19]{bao}, via an affine profile at the prime above $q$ of $\mathbb Q(i\sqrt N)$, for any prime $q$ with $v_q(N)$ odd. The minus sign corresponds to the complex conjugate matrix $\bar H$, whose quantum group is $G_H^\sigma$, with $\sigma$ the flip of the comultiplication, and $(S_N^+)^\sigma=S_N^+$. Finally, the complement of $D$ gives the matrix with first row $h'=z(1+(\bar z-1)\chi_D)$, which is a scalar multiple of the matrix associated to $D$ and $\bar z$, and the result follows. \end{proof} The other invariants from \cite{bao} have simple forms in the circulant case. The entrywise powers $H^{\circ k}$ are circulant, so the flux harmonics are $R_k(H)=\sum_m|\widehat{h^k}(m)|^4$, the Berezin matrix commutes with the shifts, and so decomposes into $N$ blocks, and the trace is simply $Tr(H)=Nh_0$, the spectrum consisting of the numbers $\lambda_k$, which in the Butson case are Weil numbers, as in Proposition \ref{prop:weil}, and \cite{cft}. The basic example is that of the Fourier matrix, whose quantum group is as small as possible, namely the cyclic group itself, this being well-known: \begin{prop}\label{prop:fourierqg} For the Fourier matrix $F_N$, we have $G_H=\mathbb Z_N$, acting on itself by translations. \end{prop} \begin{proof} The rows of $F_N$ are $H_i=(w^{ik})_k$, so $\xi_{ij}=H_i/H_j=f_{i-j}$, and $P_{ij}=Proj(f_{i-j})$ depends only on $i-j$. Thus the representation $u_{ij}\to P_{ij}$ factors through the algebra $C(\mathbb Z_N)$, with $u_{ij}\to\delta_{i-j}$, which corresponds to the action of $\mathbb Z_N\subset S_N$ by translations, and then $\delta_s\to Proj(f_s)$. The projections $Proj(f_s)$ being nonzero and pairwise orthogonal, this latter map is injective, so no proper Hopf quotient of $C(\mathbb Z_N)$ can be used, and the Hopf image is $C(\mathbb Z_N)$. \end{proof} Another invariant from \cite{bao} is the defect $d(H)$, introduced by Tadej and Zyczkowski \cite{tzy}, which is the dimension of the space of first order deformations of $H$, which are not of the trivial form $H\to DHD'$, with $D,D'$ diagonal unitaries. In the circulant case, we can restrict attention to the circulant deformations, $x\to xe^{i\theta}$, with $\theta_0=0$, and with the notations from section \ref{sec:ground}, the first order condition for these to stay Hadamard is $J_x\theta=0$. We call circulant defect of $H$ the number $d_c(H)=\dim\ker J_x$. We have: \begin{prop}\label{prop:cdefect} For a circulant complex Hadamard matrix $H$, we have $d_c(H)\leq d(H)$. In particular, when $d(H)=0$, the corresponding point of $G_N$ is nondegenerate, in the sense of Theorem \ref{thm:laplace}. \end{prop} \begin{proof} For $\theta\in\ker J_x$, the matrix $R_{ij}=\theta_{j-i}$ gives a first order deformation $H\to H\circ e^{itR}$, because the circulant Hadamard equations are equivalent to $|\hat x_k|^2=N$, and so are their linearizations. Such a deformation is trivial when $\theta_{j-i}=a_i+b_j$ for any $i,j$, and in this case $\theta_s=b_{i+s}-b_i$ for any $i$, so $b$ is affine, $b_i=b_0+i\theta_1$, and being periodic, it is constant, so $\theta=0$. Thus $\theta\to R$ embeds $\ker J_x$ into the space of nontrivial deformations, which gives the result. \end{proof} For instance, since $d(F_p)=0$ for $p$ prime \cite{tzy}, the circulant forms of $F_p$, such as the chirps in Proposition \ref{prop:chirp}, are nondegenerate ground states of the circulant chain from section \ref{sec:ground}, and contribute to the weighted count $C_p$ from Theorem \ref{thm:laplace}. The planar algebra of a circulant complex Hadamard matrix can be computed numerically, at small $k$. The program {\tt planar.py} computes the matrices $T_k$, by using the formula $Tr(P_1\ldots P_k)=\langle\xi_k,\xi_1\rangle\prod_{l1$ odd. We fix such a number $u$, we let $I\neq\emptyset$ be the set of prime divisors of $u$, and we use the group ring $\mathbb Z[i][\mathbb Z_{u^2}]$, with generator $X$, whose elements are the sums $x=\sum_tx_tX^t$ with $x_t\in\mathbb Z[i]$, with involution $x^*=\sum_t\bar x_tX^{-t}$. For $p\in I$ we fix a primitive $p$-th root of unity $\rho_p$, and for $S\subset I$ we let $\chi_S$ be the character given by $\chi_S(X)=\prod_{p\in S}\rho_p$, and we set: $$x_S=\chi_S(x)\in B=\mathbb Z[i,\rho_p\,|\,p\in I]$$ The ring $B$ is the ring of integers of the cyclotomic field of order $4\prod_{p\in I}p$. If $xx^*=u^2$, we have $x_S\bar x_S=u^2$, so the numbers $x_S$ are nonzero, and we can form the following alternating product, where $\varepsilon_S=(-1)^{|S|}$: $$\Delta(x)=\prod_{S\subset I}x_S^{\varepsilon_S}$$ \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[cblue,line width=1.2pt,->,>=stealth] (0.35,0.00)--(2.05,0.00); \draw[cblue,line width=1.2pt,->,>=stealth] (0.35,2.40)--(2.05,2.40); \draw[cgold,line width=1.2pt,->,>=stealth] (0.00,0.35)--(0.00,2.05); \draw[cgold,line width=1.2pt,->,>=stealth] (2.40,0.35)--(2.40,2.05); \node[draw=black!60,circle,inner sep=1.5pt] at (0,0) {$x_{\emptyset}^{+}$}; \node[draw=black!60,circle,inner sep=1.5pt] at (2.4,0) {$x_{\{3\}}^{-}$}; \node[draw=black!60,circle,inner sep=1.5pt] at (0,2.4) {$x_{\{5\}}^{-}$}; \node[draw=black!60,circle,inner sep=1.5pt] at (2.4,2.4) {$x_{\{3,5\}}^{+}$}; \end{tikzpicture} \caption{The alternating product $\Delta(x)=x_\emptyset x_{\{3,5\}}/x_{\{3\}}x_{\{5\}}$, for $u=15$, on the lattice of the subsets $S\subset\{3,5\}$, with the exponents $\varepsilon_S=\pm1$. The pairings in the $3$-direction, in blue, and in the $5$-direction, in gold, write $\Delta(x)$ as a product of ratios which are controlled at $3$, respectively at $5$.}\label{fig:pairing} \end{figure} The idea, illustrated in Figure \ref{fig:pairing}, is that, for any $p\in I$, the pairing $S\leftrightarrow S\cup\{p\}$ writes $\Delta(x)$ as a product of ratios $x_S/x_{S\cup\{p\}}$, and that these ratios can be controlled at the prime $p$. We will need some standard local algebra, as follows: \begin{prop}\label{prop:localring} Let $p$ be a prime, $\eta$ a primitive $L$-th root of unity with $p\nmid L$, and $A$ the localization of $\mathbb Z[\eta]$ at a prime ideal above $p$. Then $A$ is a discrete valuation ring, with maximal ideal $pA$. Also, for $\xi$ a primitive $p^k$-th root of unity, $A[\xi]$ is a discrete valuation ring, free over $A$ with basis $1,\xi,\ldots,\xi^{D-1}$, where $D=(p-1)p^{k-1}$, its maximal ideal is generated by $\xi-1$, and $p$ is a unit times $(\xi-1)^D$. In particular, an element of $A[\xi]$ is divisible by $p$ precisely when all its coordinates in the above basis are. \end{prop} \begin{proof} Since $p\nmid L$, the prime $p$ is unramified in $\mathbb Q(\eta)$, so $A$ is a discrete valuation ring with uniformizer $p$. The minimal polynomial of $\xi$ over $\mathbb Q(\eta)$ is the cyclotomic polynomial $\Phi_{p^k}$, of degree $D$, and $\Phi_{p^k}(1+Y)$ is an Eisenstein polynomial over $A$, because it is monic, reduces to $Y^D$ modulo $p$, and has constant term $\Phi_{p^k}(1)=p$. Thus $A[\xi]$ is a discrete valuation ring with uniformizer $\xi-1$, free over $A$ with the basis in the statement. Also, $p=\prod_j(1-\xi^j)$, the product being over the $j$ prime to $p$, and the ratios $(1-\xi^j)/(1-\xi)$ are units, so $p$ is a unit times $(\xi-1)^D$. Finally, $z/p$ belongs to $A[\xi]$ precisely when its coordinates belong to $A$. \end{proof} We use evaluations $F\to F(\zeta)$, with $\zeta$ a root of unity of order dividing $p^e$, on the group rings $A[\mathbb Z_{p^e}]$, which are ring morphisms. The key comparison result is as follows: \begin{prop}\label{prop:comparison} Let $A$ be as above, $e\geq1$, and $F,K\in A[\mathbb Z_{p^e}]$ with $FK=p^eb$, where $b\in A$ is a unit. Then, for $\rho$ a primitive $p$-th root of unity, the ratios $F(\rho)/F(1)$ and $K(\rho)/K(1)$ are units of $A[\rho]$, which are $1$ modulo $\rho-1$. \end{prop} \begin{proof} For $e=1$, we have $F(1)K(1)=pb$, so one of $F(1),K(1)$ is a unit of $A$, say $F(1)$. Since $F(\rho)-F(1)=\sum_jF_j(\rho^j-1)$ is divisible by $\rho-1$, the ratio $F(\rho)/F(1)$ is a unit which is $1$ modulo $\rho-1$, and so is its inverse $K(\rho)/K(1)$, because $F(\rho)K(\rho)=F(1)K(1)$. For $e\geq2$, let $\xi$ be a primitive $p^e$-th root of unity. With $v$ the valuation of $A[\xi]$, normalized by $v(p)=1$, we have $v(F(\xi))+v(K(\xi))=e\geq2$, so, up to interchanging $F,K$, we have $v(F(\xi))\geq1$, and so $F(\xi)\in pA[\xi]$. Write $F=Q\Phi_{p^e}+R$, with $\deg R1$, then $\zeta'\neq1$, and since $O$ is a domain, $\zeta'^m=1$ gives $1+\zeta'+\ldots+\zeta'^{m-1}=0$, whose reduction gives $m=0$ in the residue field, a contradiction. \end{proof} We can now prove the main result regarding the alternating products, from \cite{oai}: \begin{thm}\label{thm:alternating} If $x\in\mathbb Z[i][\mathbb Z_{u^2}]$ satisfies $xx^*=u^2$, then $\Delta(x)\in B$ is a root of unity, whose order is a power of $p$, for any $p\in I$. In particular, the order of $\Delta(x)$ is odd, and $\Delta(x)=1$ when $u$ has at least $2$ prime factors. \end{thm} \begin{proof} Fix $p\in I$, let $p^e$ be the $p$-part of $u^2$, and decompose $\mathbb Z_{u^2}=\mathbb Z_{p^e}\times P'$, with $P'$ being the product of the other primary components. Let $A_0=\mathbb Z[i,\rho_q\,|\,q\in I-\{p\}]$, which is of the form $\mathbb Z[\eta]$ as in Proposition \ref{prop:localring}, with $L=4\prod_{q\neq p}q$, and let $\mathfrak m$ be a maximal ideal of $B$ containing $p$, and $A$ the localization of $A_0$ at $\mathfrak m\cap A_0$, so that $A[\rho_p]\subset B_{\mathfrak m}$. For $S\subset I$ with $p\notin S$, the character $\chi_S$ is trivial on $\mathbb Z_{p^e}$, while $\chi_{S\cup\{p\}}$ is $\chi_S$ times a character of order $p$ on $\mathbb Z_{p^e}$. Applying $\chi_S$ on $P'$ produces a morphism $\mathbb Z[i][\mathbb Z_{u^2}]\to A_0[\mathbb Z_{p^e}]$, and the images $F,K$ of $x,x^*$ satisfy $FK=u^2=p^eb$, with $b=u^2/p^e$ a unit of $A$. Also, $F(1)=x_S$, and $F(\rho)=x_{S\cup\{p\}}$, for a suitable primitive $p$-th root of unity $\rho$. Thus Proposition \ref{prop:comparison} shows that $x_{S\cup\{p\}}/x_S$ is a unit of $A[\rho_p]$, which is $1$ modulo $\rho_p-1$, and so a unit of $B_{\mathfrak m}$ with residue $1$, because $(\rho_p-1)^p=0$ modulo $p$, so $\rho_p-1\in\mathfrak m$. By pairing $S$ with $S\cup\{p\}$ we have $$\Delta(x)=\prod_{p\notin S}\left(\frac{x_S}{x_{S\cup\{p\}}}\right)^{\varepsilon_S}$$ and so $\Delta(x)$ is a unit of $B_{\mathfrak m}$, with residue $1$. At a maximal ideal $\mathfrak m$ of $B$ containing no prime of $I$, the number $u^2$ is a unit of $B_{\mathfrak m}$, and so are the numbers $x_S$, and so is $\Delta(x)$. Thus $\Delta(x)$ belongs to all the localizations $B_{\mathfrak m}$, and so to their intersection, which is $B$. Now let $\sigma$ be an embedding of $B$ into $\mathbb C$. Since $\sigma$ commutes with the complex conjugation, we have $|\sigma(x_S)|^2=\sigma(x_S\bar x_S)=u^2$, and since $\sum_S\varepsilon_S=(1-1)^{|I|}=0$, we obtain $|\sigma(\Delta(x))|=1$. Thus $\Delta(x)$ is a root of unity, by Kronecker's theorem, as in the proof of Proposition \ref{prop:kronecker}. Finally, $B/pB\neq0$, so there is a maximal ideal containing $p$, and Proposition \ref{prop:residue} shows that the order of $\Delta(x)$ is a power of $p$. \end{proof} The alternating product can be nontrivial, when $u$ is a prime power. For instance, for $u=p^a$, the element $x=p^aX$ satisfies $xx^*=u^2$, and $\Delta(x)=x_\emptyset/x_{\{p\}}=\rho_p^{-1}$ has order $p$. Thus, in what follows, we will only use the fact that the order is odd. \section{The real case, after OpenAI}\label{sec:real} In the real case, the row sum $s=\sum_th_t$ is the eigenvalue $\lambda_0$, so $s^2=N$, and the order must be a square. Turyn showed that $N=4u^2$ with $u$ odd, as explained in Theorem \ref{thm:turynodd}, and the field descent method excluded many further values of $u$, as explained in section \ref{sec:selfconj}, while the analytic aspects were discussed in \cite{bns}. We prove here the conjecture of Ryser, following \cite{oai}. The proof uses the alternating products from section \ref{sec:alt}, and a first order computation at the prime $2$, based on the following elementary fact: \begin{prop}\label{prop:firstorder} Let $O$ be a local domain, with maximal ideal $\mathfrak n$ and residue field $k$, and let $t\in\mathfrak n$, $t\neq0$. Then $1+tO$ is a subgroup of $O^*$, and the map $\lambda_t:1+tO\to(k,+)$ given by $\lambda_t(1+tL)=L$ modulo $\mathfrak n$ is a group morphism. \end{prop} \begin{proof} The elements $1+tL$ have residue 1, so are units, and $L$ is uniquely determined, because $O$ is a domain. The identities $(1+tL)(1+tM)=1+t(L+M+tLM)$ and $(1+tL)^{-1}=1-tL/(1+tL)$ show that $1+tO$ is a group, and give the morphism property, after reducing modulo $\mathfrak n$. \end{proof} We can now prove the conjecture of Ryser. The statement, from \cite{oai}, is as follows: \begin{thm}\label{thm:oai} A real circulant Hadamard matrix has order $N=1$ or $N=4$. \end{thm} \begin{proof} Assume that a real circulant Hadamard matrix of order $N\neq1,4$ exists. By Theorem \ref{thm:turynodd} we have $N=4u^2$ with $u>1$ odd, and we use the notations from section \ref{sec:alt}. By the Chinese remainder theorem, $\mathbb Z_N=\mathbb Z_4\times\mathbb Z_{u^2}$, so with $Z$ being a generator of $\mathbb Z_4$, we can write the first row as follows, with $H_j\in\mathbb Z[\mathbb Z_{u^2}]$ having all their coefficients $\pm1$: $$h=H_0+ZH_1+Z^2H_2+Z^3H_3$$ Evaluating $Z$ at $1,-1,i$, and dividing by $2$, we obtain the following elements, which have integer coefficients, because the coefficients of the $H_j$ are odd: $$c=\frac{H_0+H_1+H_2+H_3}{2}\quad,\quad d=\frac{H_0-H_1+H_2-H_3}{2}\quad,\quad g=\frac{H_0-H_2}{2}+i\,\frac{H_1-H_3}{2}$$ These evaluations commute with the involution, so $hh^*=4u^2$ gives $xx^*=u^2$, for $x=c,d,g$. By Theorem \ref{thm:alternating}, the numbers $R=\Delta(d)/\Delta(c)$ and $W=\Delta(g)/\Delta(c)$ are roots of unity of odd order. Let $\mathfrak m$ be a maximal ideal of $B$ containing $2$, and set $O=B_{\mathfrak m}$, with maximal ideal $\mathfrak n$ and residue field $k$, of characteristic $2$. Since $c_S\bar c_S=u^2$ is odd, the numbers $c_S$ are units of $O$, and so are $d_S,g_S$. Also, $(i-1)^2=-2i$, so $i-1\in\mathfrak n$. With $b=(H_1+H_3)/2$, which has integer coefficients, we have $d-c=-2b$. Also, each coefficient of $H_2+iH_3$ is of the form $\alpha+i\beta$ with $\alpha,\beta=\pm1$, and so differs from $1+i$ by an element of $2\mathbb Z[i]$. Thus, with $J=\sum_tX^t$, we have $H_2+iH_3=(1+i)J+2U$, with $U\in\mathbb Z[i][\mathbb Z_{u^2}]$, and we obtain, by using $i-1=i(1+i)$ and $2=(1+i)(1-i)$: $$g-c=(i-1)b-(H_2+iH_3)=(1+i)\big(ib-J-(1-i)U\big)$$ Thus the numbers $r_S=d_S/c_S$ and $w_S=g_S/c_S$ are of the form $r_S=1+2L_S$ and $w_S=1+(1+i)M_S$, with: $$L_S=-\frac{b_S}{c_S}\quad,\quad M_S=\frac{ib_S-J_S-(1-i)U_S}{c_S}$$ In particular $L_S+M_S=-J_S/c_S$ modulo $\mathfrak n$, because $i-1\in\mathfrak n$. Now since $R=\prod_Sr_S^{\varepsilon_S}$ and $W=\prod_Sw_S^{\varepsilon_S}$, these roots of unity have residue $1$, and having odd order, they are equal to $1$, by Proposition \ref{prop:residue}. By applying the morphisms $\lambda_2$ and $\lambda_{1+i}$ from Proposition \ref{prop:firstorder}, we obtain: $$\sum_S\varepsilon_SL_S=0\quad,\quad\sum_S\varepsilon_SM_S=0$$ Here, and in what follows, the equalities are modulo $\mathfrak n$. Thus $\sum_S\varepsilon_SJ_S/c_S=0$. But for $S\neq\emptyset$ the character $\chi_S$ is nontrivial, so $J_S=0$, while $J_\emptyset=u^2$, so we obtain $u^2/c_\emptyset=0$ modulo $\mathfrak n$. This is a contradiction, because $u^2/c_\emptyset=\bar c_\emptyset$ is a unit of $O$. \end{proof} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=2.1]; \filldraw[draw=black!70,fill=cblue] (2.10,0.00) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (2.07,0.36) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (1.97,0.72) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (1.82,1.05) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (1.61,1.35) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (1.35,1.61) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (1.05,1.82) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (0.72,1.97) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (0.36,2.07) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (0.00,2.10) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (-0.36,2.07) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (-0.72,1.97) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (-1.05,1.82) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (-1.35,1.61) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (-1.61,1.35) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (-1.82,1.05) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (-1.97,0.72) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (-2.07,0.36) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (-2.10,0.00) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (-2.07,-0.36) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (-1.97,-0.72) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (-1.82,-1.05) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (-1.61,-1.35) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (-1.35,-1.61) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (-1.05,-1.82) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (-0.72,-1.97) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (-0.36,-2.07) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (-0.00,-2.10) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (0.36,-2.07) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (0.72,-1.97) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (1.05,-1.82) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (1.35,-1.61) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cblue] (1.61,-1.35) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=cgold] (1.82,-1.05) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=white] (1.97,-0.72) circle[radius=2.4pt]; \filldraw[draw=black!70,fill=black!60] (2.07,-0.36) circle[radius=2.4pt]; \node at (2.45,0.00) {\scriptsize $0$}; \node at (1.88,1.57) {\scriptsize $4$}; \node at (0.43,2.41) {\scriptsize $8$}; \node at (-1.22,2.12) {\scriptsize $12$}; \node at (-2.30,0.84) {\scriptsize $16$}; \node at (-2.30,-0.84) {\scriptsize $20$}; \node at (-1.23,-2.12) {\scriptsize $24$}; \node at (0.43,-2.41) {\scriptsize $28$}; \node at (1.88,-1.57) {\scriptsize $32$}; \end{tikzpicture} \caption{The decomposition $\mathbb Z_{36}=\mathbb Z_4\times\mathbb Z_9$, used with $u=3$: the classes of $t$ modulo $4$, in blue, gold, white and grey, support the components $H_0,H_1,H_2,H_3$ of the first row, each of them being a vector of signs on $\mathbb Z_9$.}\label{fig:crt} \end{figure} Figure \ref{fig:crt} shows the decomposition of $\mathbb Z_N$ used in this proof, at $u=3$. At $N=4$, with $h=(1,1,1,-1)$, the above computation gives $c=d=1$ and $g=i$, so $W=i$ has residue 1, but even order, and the argument breaks down, as it should. According to \cite{oai}, the main result there has been formalized in Lean. As a consequence of Theorem \ref{thm:oai}, we have lower bounds for the periodic autocorrelations of the sign sequences. Given $s\in\{\pm1\}^N$, consider its periodic autocorrelations, $P(t)=\sum_js_js_{j+t}$, so that $P(0)=N$, and its sidelobe energy, $E(s)=\sum_{t\neq0}P(t)^2$. The circulant Hadamard condition for the sign matrix $S=(s_{j-i})_{ij}$ is $E(s)=0$. We have the following elementary facts: \begin{prop}\label{prop:auto} For any sign sequence $s\in\{\pm1\}^N$, with Fourier transform $\lambda$, we have $$P(t)=P(N-t)\quad,\quad P(t)=N(4)\quad,\quad\sum_tP(t)=\Big(\sum_js_j\Big)^2$$ and also $\sum_k|\lambda_k|^4=N\sum_tP(t)^2=N(N^2+E(s))$. \end{prop} \begin{proof} The first and third formulae are clear. For the second one, $P(t)$ is a sum of $N$ signs $s_js_{j+t}$, whose product is $(\prod_js_j)^2=1$, so the number of $-1$ signs is even, and so $P(t)=N(4)$. Finally, $|\lambda_k|^2$ is the Fourier transform of $P$, and the last formula follows from the Plancherel formula. \end{proof} When $N=0(4)$, all the numbers $P(t)$ are multiples of $4$, and so any nonzero autocorrelation contributes at least $16$ to the energy. The program {\tt sidelobes.py} computes the minimum of $E(s)$ by exhaustive search, at the orders $N=0(4)$ with $N\leq24$, and the number of sequences attaining it: \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|} \hline $N$&4&8&12&16&20&24\\ \hline $\min E$&0&16&16&48&64&32\\ \hline minimizers&8&32&96&256&1800&1536\\ \hline \end{tabular} \end{center} \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.9]; \filldraw[draw=black!70,fill=cblue] (1.90,0.00) circle[radius=2.6pt]; \node at (2.32,0.00) {$0$}; \filldraw[draw=black!70,fill=cblue] (1.65,0.95) circle[radius=2.6pt]; \node at (2.01,1.16) {$1$}; \filldraw[draw=black!70,fill=cblue] (0.95,1.65) circle[radius=2.6pt]; \node at (1.16,2.01) {$2$}; \filldraw[draw=black!70,fill=cblue] (0.00,1.90) circle[radius=2.6pt]; \node at (0.00,2.32) {$3$}; \filldraw[draw=black!70,fill=cblue] (-0.95,1.65) circle[radius=2.6pt]; \node at (-1.16,2.01) {$4$}; \filldraw[draw=black!70,fill=white] (-1.65,0.95) circle[radius=2.6pt]; \node at (-2.01,1.16) {$5$}; \filldraw[draw=black!70,fill=cblue] (-1.90,0.00) circle[radius=2.6pt]; \node at (-2.32,0.00) {$6$}; \filldraw[draw=black!70,fill=white] (-1.65,-0.95) circle[radius=2.6pt]; \node at (-2.01,-1.16) {$7$}; \filldraw[draw=black!70,fill=cblue] (-0.95,-1.65) circle[radius=2.6pt]; \node at (-1.16,-2.01) {$8$}; \filldraw[draw=black!70,fill=cblue] (-0.00,-1.90) circle[radius=2.6pt]; \node at (-0.00,-2.32) {$9$}; \filldraw[draw=black!70,fill=white] (0.95,-1.65) circle[radius=2.6pt]; \node at (1.16,-2.01) {$10$}; \filldraw[draw=black!70,fill=white] (1.65,-0.95) circle[radius=2.6pt]; \node at (2.01,-1.16) {$11$}; \draw[cblue,line width=1pt] (1.90,0.00)--(-1.90,0.00); \draw[cgold,line width=1pt] (1.65,0.95)--(-1.65,-0.95); \draw[cblue,line width=1pt] (0.95,1.65)--(-0.95,-1.65); \draw[cblue,line width=1pt] (0.00,1.90)--(-0.00,-1.90); \draw[cgold,line width=1pt] (-0.95,1.65)--(0.95,-1.65); \draw[cblue,line width=1pt] (-1.65,0.95)--(1.65,-0.95); \draw[black!40] (5.00,0.00) circle[radius=1.2]; \filldraw[draw=black!70,fill=white] (6.20,0.00) circle[radius=2.6pt]; \node at (6.62,0.00) {$-$}; \filldraw[draw=black!70,fill=cblue] (5.00,1.20) circle[radius=2.6pt]; \node at (5.00,1.62) {$+$}; \filldraw[draw=black!70,fill=cblue] (3.80,0.00) circle[radius=2.6pt]; \node at (3.38,0.00) {$+$}; \filldraw[draw=black!70,fill=cblue] (5.00,-1.20) circle[radius=2.6pt]; \node at (5.00,-1.62) {$+$}; \end{tikzpicture} \caption{At left, a sign sequence of length $12$ with minimal sidelobe energy $E=16$, the signs $+$ being in blue: all its periodic autocorrelations vanish, except for $P(6)=4$, coming from the $6$ diameters, in blue when the signs agree, and in gold otherwise. At right, the matrix $K_4$, with $E=0$.}\label{fig:sidelobe} \end{figure} Figure \ref{fig:sidelobe} shows such a minimizer at $N=12$. The bound $16$ below is attained at $N=8,12$, where $N-4=4$ and $N+4=16$ are squares, and is not attained at $N=20$, where $N-4=16$ is a square too. We have: \begin{thm}\label{thm:energy} For $N=0(4)$ with $N\geq8$, any sign sequence $s\in\{\pm1\}^N$ satisfies $E(s)\geq16$, and we have $E(s)\geq32$, unless $N-4$ or $N+4$ is a square. \end{thm} \begin{proof} By Theorem \ref{thm:oai} we have $E(s)\neq0$, and since the numbers $P(t)$ are multiples of $4$, this gives $E(s)\geq16$. If $P(t)\neq0$ for some $t\neq N/2$, then $P(N-t)=P(t)\neq0$ too, and so $E(s)\geq32$. Otherwise, $P(N/2)$ is the only nonzero autocorrelation, and if $E(s)<32$ we must have $P(N/2)=\pm4$, and then Proposition \ref{prop:auto} gives $(\sum_js_j)^2=N\pm4$. \end{proof} The real circulant Hadamard matrices are closely related to the Barker sequences, which are the sign sequences having small aperiodic autocorrelations, and which appear in radar and communication engineering. The definition is as follows: \begin{defn} A Barker sequence of length $n$ is a sign sequence $a\in\{\pm1\}^n$ whose aperiodic autocorrelations $C_k=\sum_{i=0}^{n-1-k}a_ia_{i+k}$ satisfy $|C_k|\leq1$, for $k=1,\ldots,n-1$. \end{defn} For instance $+++-$ is a Barker sequence of length $4$, with $C_1=1$, $C_2=0$, $C_3=-1$, which is also the first row of a real circulant Hadamard matrix. In general, the relation between the 2 notions is as follows, from \cite{tst}, the final step using Theorem \ref{thm:oai}: \begin{thm}\label{thm:barker} If a Barker sequence of even length $n$ exists, then $n=2$ or $n=4$. \end{thm} \begin{proof} The autocorrelation $C_k$ is a sum of $n-k$ signs, so $C_k=n-k$ modulo $2$, and since $|C_k|\leq1$ and $n$ is even, we obtain $C_k=0$ for $k$ even, and $C_k=\pm1$ for $k$ odd. Now the periodic autocorrelations are $P(k)=C_k+C_{n-k}$, so $P(k)=0$ for $k\neq0$ even, and $P(k)\in\{-2,0,2\}$ for $k$ odd. By Proposition \ref{prop:auto} we have $P(k)=n$ modulo $4$. If $n=2$ modulo $4$ and $n\geq6$, this contradicts $P(2)=0$. If $n=0$ modulo $4$, we obtain $P(k)=0$ for any $k\neq0$, so the sequence is the first row of a real circulant Hadamard matrix, and Theorem \ref{thm:oai} gives $n=4$. \end{proof} At odd lengths, Turyn and Storer proved that the Barker sequences have length $3,5,7,11,13$ \cite{tst}, with a simplified proof given by Schmidt and Willms \cite{swi}. Thus, with Theorem \ref{thm:barker}, the classification of the Barker sequences is complete. The program {\tt barker.py} recovers, by exhaustive search up to length $20$, the classical list of Barker sequences, up to sign changes, reversal, and multiplication by $(-1)^i$: \begin{center} \begin{tabular}{|c|l|c|l|} \hline $n$&sequence&$n$&sequence\\ \hline 2&$++$&7&$+++--+-$\\ \hline 3&$++-$&11&$+++---+--+-$\\ \hline 4&$+++-$&13&$+++++--++-+-+$\\ \hline 5&$+++-+$&&\\ \hline \end{tabular} \end{center} The longest one is shown in Figure \ref{fig:barker}. Its aperiodic autocorrelations are $0$ at odd shifts and $1$ at even shifts, which makes it useful in radar pulse compression, while the sequence of length $11$ is used in the 802.11b wireless standard. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40] (0.00,0.00) circle[radius=1.8]; \filldraw[draw=black!70,fill=cblue] (1.80,0.00) circle[radius=2.7pt]; \node at (2.20,0.00) {$0$}; \filldraw[draw=black!70,fill=cblue] (1.59,0.84) circle[radius=2.7pt]; \node at (1.94,1.02) {$1$}; \filldraw[draw=black!70,fill=cblue] (1.02,1.48) circle[radius=2.7pt]; \node at (1.25,1.81) {$2$}; \filldraw[draw=black!70,fill=cblue] (0.22,1.79) circle[radius=2.7pt]; \node at (0.26,2.18) {$3$}; \filldraw[draw=black!70,fill=cblue] (-0.64,1.68) circle[radius=2.7pt]; \node at (-0.78,2.05) {$4$}; \filldraw[draw=black!70,fill=white] (-1.35,1.19) circle[radius=2.7pt]; \node at (-1.64,1.46) {$5$}; \filldraw[draw=black!70,fill=white] (-1.75,0.43) circle[radius=2.7pt]; \node at (-2.13,0.53) {$6$}; \filldraw[draw=black!70,fill=cblue] (-1.75,-0.43) circle[radius=2.7pt]; \node at (-2.13,-0.53) {$7$}; \filldraw[draw=black!70,fill=cblue] (-1.35,-1.19) circle[radius=2.7pt]; \node at (-1.64,-1.46) {$8$}; \filldraw[draw=black!70,fill=white] (-0.64,-1.68) circle[radius=2.7pt]; \node at (-0.78,-2.05) {$9$}; \filldraw[draw=black!70,fill=cblue] (0.22,-1.79) circle[radius=2.7pt]; \node at (0.26,-2.18) {$10$}; \filldraw[draw=black!70,fill=white] (1.02,-1.48) circle[radius=2.7pt]; \node at (1.25,-1.81) {$11$}; \filldraw[draw=black!70,fill=cblue] (1.59,-0.84) circle[radius=2.7pt]; \node at (1.94,-1.02) {$12$}; \draw[black!40] (3.0,0)--(9.2,0); \fill[cgold] (3.50,0) circle[radius=1.6pt]; \node[below] at (3.50,-0.05) {\scriptsize $1$}; \draw[cgold,line width=3pt] (4.00,0)--(4.00,0.80); \node[below] at (4.00,-0.05) {\scriptsize $2$}; \fill[cgold] (4.50,0) circle[radius=1.6pt]; \draw[cgold,line width=3pt] (5.00,0)--(5.00,0.80); \node[below] at (5.00,-0.05) {\scriptsize $4$}; \fill[cgold] (5.50,0) circle[radius=1.6pt]; \draw[cgold,line width=3pt] (6.00,0)--(6.00,0.80); \node[below] at (6.00,-0.05) {\scriptsize $6$}; \fill[cgold] (6.50,0) circle[radius=1.6pt]; \draw[cgold,line width=3pt] (7.00,0)--(7.00,0.80); \node[below] at (7.00,-0.05) {\scriptsize $8$}; \fill[cgold] (7.50,0) circle[radius=1.6pt]; \draw[cgold,line width=3pt] (8.00,0)--(8.00,0.80); \node[below] at (8.00,-0.05) {\scriptsize $10$}; \fill[cgold] (8.50,0) circle[radius=1.6pt]; \draw[cgold,line width=3pt] (9.00,0)--(9.00,0.80); \node[below] at (9.00,-0.05) {\scriptsize $12$}; \node at (6.1,1.4) {$C_k$}; \end{tikzpicture} \caption{The Barker sequence $+++++--++-+-+$ of length $13$, drawn on a circle, with the signs $+$ in blue, and its aperiodic autocorrelations $C_k$, for $k=1,\ldots,12$, which are $0$ for $k$ odd, and $1$ for $k$ even.}\label{fig:barker} \end{figure} While a real circulant Hadamard matrix of order $N>4$ does not exist, the circulant matrices are the main building blocks for constructing real Hadamard matrices. The most famous construction is due to Williamson \cite{wil}, as follows: \begin{thm}\label{thm:williamson} If $A,B,C,D$ are symmetric circulant sign matrices of order $n$, with $A^2+B^2+C^2+D^2=4nI_n$, then the following matrix is a Hadamard matrix of order $4n$, $$H=\begin{pmatrix}A&B&C&D\\-B&A&-D&C\\-C&D&A&-B\\-D&-C&B&A\end{pmatrix}$$ and the condition on $A,B,C,D$ reads $a_k^2+b_k^2+c_k^2+d_k^2=4n$ for any $k$, with $a_k,b_k,c_k,d_k$ being their eigenvalues, which are real. \end{thm} \begin{proof} The matrices $A,B,C,D$ are symmetric, and commute, being circulant. The diagonal blocks of $HH^t$ are all equal to $A^2+B^2+C^2+D^2=4nI_n$, and the off-diagonal blocks are expressions such as $-AB+BA-CD+DC$, for the first $2$ rows of blocks, which vanish, by commutativity, and the same happens for the other pairs of rows of blocks. Finally, the eigenvalues of symmetric matrices are real, and since $A,B,C,D$ are simultaneously diagonalized by the Fourier matrix, the condition $A^2+B^2+C^2+D^2=4nI_n$ amounts to $a_k^2+b_k^2+c_k^2+d_k^2=4n$, for any $k$. \end{proof} The above array is the left regular representation of the quaternions, and at $k=0$, where the eigenvalues are the row sums, the condition writes $4n$ as a sum of $4$ odd squares, when $n$ is odd. The program {\tt williamson.py} searches for Williamson matrices, by matching the pairs $(A,B)$ against the pairs $(C,D)$, via the vectors $(a_k^2+b_k^2)_k$, and finds that they exist at all odd orders $n\leq23$, with $1,1,1,4,7,5,15,14,16,42,34,11$ solutions at $n=1,3,\ldots,23$, with first entries $1$, and up to permutations of $A,B,C,D$. One solution at $n=7$ is shown in Figure \ref{fig:williamson}. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \draw[black!40] (0.00,0.00) circle[radius=0.95]; \filldraw[draw=black!70,fill=cblue] (0.95,0.00) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (0.59,0.74) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (-0.21,0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (-0.86,0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (-0.86,-0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (-0.21,-0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (0.59,-0.74) circle[radius=2.6pt]; \draw[black!30,dashed] (-1.25,0.00)--(1.25,0.00); \node at (0.00,-1.55) {$A$, sum $3$}; \draw[black!40] (3.00,0.00) circle[radius=0.95]; \filldraw[draw=black!70,fill=cblue] (3.95,0.00) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (3.59,0.74) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (2.79,0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (2.14,0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (2.14,-0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (2.79,-0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (3.59,-0.74) circle[radius=2.6pt]; \draw[black!30,dashed] (1.75,0.00)--(4.25,0.00); \node at (3.00,-1.55) {$B$, sum $3$}; \draw[black!40] (6.00,0.00) circle[radius=0.95]; \filldraw[draw=black!70,fill=cblue] (6.95,0.00) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (6.59,0.74) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (5.79,0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (5.14,0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (5.14,-0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (5.79,-0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (6.59,-0.74) circle[radius=2.6pt]; \draw[black!30,dashed] (4.75,0.00)--(7.25,0.00); \node at (6.00,-1.55) {$C$, sum $3$}; \draw[black!40] (9.00,0.00) circle[radius=0.95]; \filldraw[draw=black!70,fill=cblue] (9.95,0.00) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (9.59,0.74) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (8.79,0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (8.14,0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (8.14,-0.41) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cblue] (8.79,-0.93) circle[radius=2.6pt]; \filldraw[draw=black!70,fill=cgold] (9.59,-0.74) circle[radius=2.6pt]; \draw[black!30,dashed] (7.75,0.00)--(10.25,0.00); \node at (9.00,-1.55) {$D$, sum $-1$}; \end{tikzpicture} \caption{Williamson matrices of order $n=7$: the first rows of the symmetric circulant matrices $A,B,C,D$, drawn on circles, with the entries $1$ in blue and $-1$ in gold, each row being symmetric with respect to the dashed axis, and with row sums satisfying $3^2+3^2+3^2+1^2=28$.}\label{fig:williamson} \end{figure} At $n=23$ we obtain a Hadamard matrix of order $92$, which was found in this way by Baumert, Golomb and Hall, at the Jet Propulsion Laboratory \cite{bgh}. In general, Williamson matrices exist at all odd orders $n\leq33$, while Djokovic showed that there are none at $n=35$ \cite{djo}, and the enumeration of Holzmann, Kharaghani and Tayfeh-Rezaie up to $n=59$ shows that there are none at $n=35,47,53,59$ \cite{hkt}. A more flexible version is the construction of Goethals and Seidel \cite{gse}, which uses $4$ circulant matrices, not necessarily symmetric, with $AA^t+BB^t+CC^t+DD^t=4nI_n$, and after the construction of one of order $428$ in \cite{kta}, the smallest order for which no real Hadamard matrix was known was $668$, until 2026, when Alp\"oge, Voinov and Reynolds-Haertle announced Hadamard matrices at the $12$ orders below $2000$ at which none was known, including $668$ \cite{avr}. These matrices were verified by Egan, Kotsireas, London and \'O Cath\'ain \cite{ekl}, who list the $95$ orders below $10000$ which remain open. In the real case, the proof of the conjecture of Ryser in sections \ref{sec:alt}-\ref{sec:real} is purely arithmetic, the only analytic input being the fact that the numbers $x_S$ have modulus $u$, under all the embeddings. It would be interesting to have an analytic proof, for instance via the sidelobe energy and its Fourier transform, as in Proposition \ref{prop:auto}, or via the partition functions from section \ref{sec:ground}, specialized to sign sequences: \begin{quest} Is there an analytic proof of Theorem \ref{thm:oai}, using for instance the inequality $E(s)\geq16$ for the sign sequences, and its refinements, in a quantitative form? \end{quest} \section{Almost Hadamard circulants}\label{sec:ahm} We know from section \ref{sec:real} that there are no real circulant Hadamard matrices at $N>4$. A natural idea is then to look for real circulant matrices which are ``as Hadamard as possible'', and the almost Hadamard matrices from \cite{bnz,bn3} provide a good framework for this. For $U\in U_N$ the Cauchy-Schwarz inequality gives $||U||_1=\sum_{ij}|U_{ij}|\leq N\sqrt N$, with equality precisely when $\sqrt NU$ is a complex Hadamard matrix. The local maximizers of the $1$-norm on $O_N$, rescaled by $\sqrt N$, are called almost Hadamard matrices, and the same in the complex case, with $U_N$. If $S$ is the phase matrix of $U$, we have $||U||_1=Re\,Tr(S^*U)\leq Tr|S|$, with equality at $U=Pol(S)$, so maximizing the $1$-norm amounts in maximizing $Tr|S|$ over the phase matrices. In the circulant case, $S=(s_{j-i})_{ij}$ is a chain of $N$ spins on a ring, real or complex, and its energy has a simple Fourier form, as follows: \begin{prop}\label{prop:chain} For a circulant matrix $S=(s_{j-i})_{ij}$, with $s\in\mathbb T^N$, we have $Tr|S|=\sum_k|\hat s_k|\leq N\sqrt N$, with equality precisely when $S$ is a circulant complex Hadamard matrix. When the numbers $\hat s_k$ are nonzero, $Pol(S)$ is the circulant matrix of the sequence $\gamma_j=\frac{1}{N}\sum_k\varphi_kw^{-jk}$, where $\varphi_k=\hat s_k/|\hat s_k|$. \end{prop} \begin{proof} By Proposition \ref{prop:diag}, $S$ is normal, with eigenvalues $\hat s_k$, so its singular values are the numbers $|\hat s_k|$, and $Pol(S)$ has the same eigenvectors as $S$, with eigenvalues $\varphi_k$. Since $\sum_k|\hat s_k|^2=N^2$, the Cauchy-Schwarz inequality gives the bound, with equality when $|\hat s_k|=\sqrt N$ for any $k$. \end{proof} In the real case, by \cite{bnz,fte}, a matrix $U\in O_N$ with nonzero entries, and sign matrix $S$, is a local maximizer of the $1$-norm precisely when $X=S^tU$ is symmetric, and the sum of its $2$ smallest eigenvalues, counted with multiplicity, is $\geq0$. Indeed, near $U$ the $1$-norm is the linear function $V\to Tr(S^tV)$, whose first variation along $Ue^A$, with $A$ antisymmetric, vanishes precisely when $X$ is symmetric, and a rotation of angle $\theta$ in the plane spanned by $2$ eigenvectors of $X$, with eigenvalues $\mu,\nu$, decreases it by $(1-\cos\theta)(\mu+\nu)$, while a general displacement splits into rotations in orthogonal planes, on which the compressions of $X$ have traces $\geq\mu_1+\mu_2$. In the circulant case, this gives the following criterion: \begin{prop}\label{prop:realahmcrit} Let $U\in O_N$ be circulant, with nonzero entries, eigenvalues $\lambda_k$, and sign matrix $S$, with eigenvalues $\hat s_k$. Then $\sqrt NU$ is almost Hadamard precisely when the numbers $\mu_k=\hat s_k\bar\lambda_k$ are real, and the sum of the $2$ smallest of them, counted with multiplicity, is $\geq0$. In particular, this is the case when $\mu_k>0$ for any $k$, that is, when $S$ is invertible, and $U=Pol(S)$. \end{prop} \begin{proof} The matrix $S^tU$ is circulant, with eigenvalues $\overline{\hat s_k}\lambda_k=\bar\mu_k$, so the above criterion gives the first assertion. Also, since $|\lambda_k|=1$, we have $\mu_k>0$ for any $k$ precisely when $\hat s_k\neq0$ and $\lambda_k=\hat s_k/|\hat s_k|$, for any $k$, which by Proposition \ref{prop:chain} means $U=Pol(S)$. \end{proof} Here is a series of examples, which are the circulant versions of the design matrices from \cite{bnz,fte}, and of the twisted design matrices from \cite{fte}, and are based on the cyclic difference sets from section \ref{sec:diffsets}: \begin{thm}\label{thm:diffahm} Let $D\subset\mathbb Z_N$ be a cyclic difference set, with parameters $(N,k,\lambda)$, order $n=k-\lambda$, and $kk\geq n$, we have $x<00$, and $\hat\varepsilon_t\bar\lambda_t=2|\hat D_t|^2/\sqrt n=2\sqrt n>0$ for $t\neq0$, so Proposition \ref{prop:realahmcrit} applies, and $||U||_1=N(k|x|+(N-k)y)$ gives the formula. Regarding $\widetilde U$, this is a real circulant matrix, with eigenvalues $-1$ at $0$, and $\lambda_t$ at $t\neq0$, so it is orthogonal. Its entries are $x-2/N<0$ on $D$, and $y-2/N=(k/\sqrt n-1)/N>0$ outside $D$, because $k>n\geq\sqrt n$ when $\lambda\geq1$, so its sign matrix is that of $U$. The corresponding numbers $\mu_t$ are $2\sqrt n$ for $t\neq0$, with multiplicity $N-1\geq2$, and $-(N-2k)<0$ for $t=0$, so Proposition \ref{prop:realahmcrit} applies precisely when $2\sqrt n-(N-2k)\geq0$. Finally, $||\widetilde U||_1=Tr(S^t\widetilde U)=||U||_1-2Tr(S^tP)$, and $Tr(S^tP)=N-2k$. \end{proof} Since $k(N-k)=n(N-1)$, the norm can be written as well $||U||_1=2(N-1)\sqrt n+N-2k$, which is the norm of the design matrices in \cite{fte}. For the Fano plane, with parameters $(7,3,1)$, we obtain the matrix $I_7$ from \cite{bnz}, with $||U||_1=1+12\sqrt2$, and more generally, the planar Singer difference sets give circulant versions of the matrices there coming from the projective planes. In the Fano case we have $N-2k=1\leq2\sqrt2$, so the twisted matrix $\widetilde U$, which is a circulant version of the twisted Fano matrix from \cite{fte}, is almost Hadamard too, with $||\widetilde U||_1=12\sqrt2-1$, the eigenvalues of $S^t\widetilde U$ being $-1$ once, and $2\sqrt2$ six times. Thus $\widetilde U$ is a real circulant almost Hadamard matrix which is not of the form $Pol(S)$, the latter being $U$. For the difference sets with parameters $(4n-1,2n-1,n-1)$, which are those producing the $2$-valued circulant complex Hadamard matrices in Theorem \ref{thm:twovalclass}, we have $N-2k=1$, and we obtain $||U||_1=4(2n-1)\sqrt n+1$, and $||\widetilde U||_1=4(2n-1)\sqrt n-1$, and so $||U||_1/N\sqrt N\to1$, with $N\to\infty$. Thus, while the real circulant Hadamard matrices do not exist, the Paley difference sets, the Singer difference sets over $\mathbb F_2$, and the twin prime difference sets, along any infinite sequence of available orders, produce real circulant almost Hadamard matrices which are asymptotically optimal. In contrast, for the planar Singer difference sets $(q^2+q+1,q+1,1)$, the ratio $||U||_1/N\sqrt N$ is asymptotic to $2/\sqrt q$, and the twisted matrices $\widetilde U$ are not almost Hadamard at $q\geq3$, because $N-2k=q^2-q-1>2\sqrt q$. The program {\tt ahmdiff.py} checks Theorem \ref{thm:diffahm} on these families, finding for instance the ratios $0.9952$ at $N=83$ for the squares, $0.9939$ at $N=63$ for the Singer difference set, and $0.9971$ at $N=143$ for the twin primes. Also, the program {\tt ahmtwist.py} computes the eigenvalues of $S^tU$ and $S^t\widetilde U$, and the Hessian of the $1$-norm on $O_N$, for several difference sets, and finds that $\widetilde U$ is a strict local maximizer at $N=7,11,15,19$, and a saddle point for the planar difference sets at $N=13,31$. Some examples are shown in Figure \ref{fig:ahmdiff}. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \draw[black!40,dashed] (0.00,0.00) circle[radius=1.5]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(1.76,0.00); \fill[cblue] (1.76,0.00) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (0.00,0.00)--(0.94,0.60); \fill[cgold] (0.94,0.60) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(0.73,1.60); \fill[cblue] (0.73,1.60) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (0.00,0.00)--(-0.16,1.10); \fill[cgold] (-0.16,1.10) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (0.00,0.00)--(-0.73,0.84); \fill[cgold] (-0.73,0.84) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (0.00,0.00)--(-1.07,0.31); \fill[cgold] (-1.07,0.31) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-1.69,-0.50); \fill[cblue] (-1.69,-0.50) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-1.15,-1.33); \fill[cblue] (-1.15,-1.33) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-0.25,-1.74); \fill[cblue] (-0.25,-1.74) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (0.00,0.00)--(0.46,-1.01); \fill[cgold] (0.46,-1.01) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(1.48,-0.95); \fill[cblue] (1.48,-0.95) circle[radius=1.8pt]; \node at (0.00,-2.60) {$N=11$, Paley}; \draw[black!40,dashed] (4.60,0.00) circle[radius=1.5]; \draw[cgold,line width=1.2pt] (4.60,0.00)--(6.35,0.00); \fill[cgold] (6.35,0.00) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (4.60,0.00)--(6.15,0.81); \fill[cgold] (6.15,0.81) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(5.38,1.13); \fill[cblue] (5.38,1.13) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (4.60,0.00)--(4.81,1.73); \fill[cgold] (4.81,1.73) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(4.11,1.29); \fill[cblue] (4.11,1.29) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(3.57,0.91); \fill[cblue] (3.57,0.91) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(3.26,0.33); \fill[cblue] (3.26,0.33) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(3.26,-0.33); \fill[cblue] (3.26,-0.33) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(3.57,-0.91); \fill[cblue] (3.57,-0.91) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (4.60,0.00)--(3.98,-1.63); \fill[cgold] (3.98,-1.63) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(4.77,-1.37); \fill[cblue] (4.77,-1.37) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(5.38,-1.13); \fill[cblue] (5.38,-1.13) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (4.60,0.00)--(5.82,-0.64); \fill[cblue] (5.82,-0.64) circle[radius=1.8pt]; \node at (4.60,-2.60) {$N=13$, planar}; \draw[black!40,dashed] (9.20,0.00) circle[radius=1.5]; \draw[cblue,line width=1.2pt] (9.20,0.00)--(9.70,0.00); \fill[cblue] (9.70,0.00) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (9.20,0.00)--(9.61,0.34); \fill[cgold] (9.61,0.34) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (9.20,0.00)--(9.31,0.64); \fill[cblue] (9.31,0.64) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (9.20,0.00)--(8.70,0.87); \fill[cgold] (8.70,0.87) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (9.20,0.00)--(7.04,0.79); \fill[cblue] (7.04,0.79) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (9.20,0.00)--(7.04,-0.79); \fill[cblue] (7.04,-0.79) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (9.20,0.00)--(8.70,-0.87); \fill[cgold] (8.70,-0.87) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (9.20,0.00)--(9.31,-0.64); \fill[cblue] (9.31,-0.64) circle[radius=1.8pt]; \draw[cgold,line width=1.2pt] (9.20,0.00)--(9.61,-0.34); \fill[cgold] (9.61,-0.34) circle[radius=1.8pt]; \node at (9.20,-2.60) {$N=9$, $L_9$}; \end{tikzpicture} \caption{Flowers of real circulant almost Hadamard matrices $\sqrt NU$: the petal at $t$ has length $\sqrt N|u_t|$, in blue when $u_t>0$ and in gold when $u_t<0$, and the dashed circle is the level $1$ of the Hadamard matrices. At left and in the middle, the matrices from Theorem \ref{thm:diffahm}, for the squares in $\mathbb Z_{11}$ and for $\{0,1,3,9\}\subset\mathbb Z_{13}$, which are nearly flat. At right, the matrix $L_9$, whose $2$ longest petals, of length $1.92$, are cut.}\label{fig:ahmdiff} \end{figure} Other examples come from the chain with one flipped spin, and from the alternating chain at $N$ odd, which produce via Proposition \ref{prop:realahmcrit} the matrices $K_N=\sqrt N(2J_N-1_N)$, with $J_N$ being the flat matrix with entries $1/N$, and $L_N$, whose first row is $(-1)^t/(\sqrt N\cos(\pi t/N))$, from \cite{bnz}, the $1$-norms of the orthogonal matrices $K_N/\sqrt N$ and $L_N/\sqrt N$ being respectively $3N-4$ and $\frac{2}{\pi}N\log N+O(N)$, far from $N\sqrt N$. The ground states of the real chain were computed in \cite{fte} for $N\leq41$, the ratio $c_N/N\sqrt N$, where $c_N$ is the maximal energy, being between $0.9396$, at $N=10$, and $0.9942$, at $N=36$, if we exclude $N=4$. By using the solution of the conjecture of Ryser, we obtain: \begin{thm}\label{thm:realahm} For any $N\neq1,4$, the maximal energy $c_N$ of a real circulant chain satisfies $c_N] (0,0)--(10.50,0) node[right]{$N$}; \draw[black!40,->] (0,0)--(0,3.00); \draw[black!40,dashed] (0,2.40)--(10.29,2.40) node[right]{$1$}; \node[below] at (0.84,0) {$4$}; \node[below] at (3.36,0) {$10$}; \node[below] at (5.88,0) {$16$}; \node[below] at (8.40,0) {$22$}; \node[left] at (0,0.60) {$0.94$}; \node[left] at (0,1.20) {$0.96$}; \node[left] at (0,1.80) {$0.98$}; \draw[cblue,line width=.8pt] (0.42,1.27)--(0.84,2.40)--(1.26,1.92)--(1.68,0.98)--(2.10,1.51)--(2.52,1.38)--(2.94,0.94)--(3.36,0.59)--(3.78,1.71)--(4.20,1.97)--(4.62,2.21)--(5.04,1.59)--(5.46,1.89)--(5.88,1.56)--(6.30,1.65)--(6.72,1.58)--(7.14,2.03)--(7.56,1.92)--(7.98,1.94)--(8.40,1.75)--(8.82,1.99)--(9.24,2.19)--(9.66,1.98)--(10.08,1.92); \fill[cgold] (0.42,1.27) circle[radius=1.6pt]; \fill[cgold] (0.84,2.40) circle[radius=1.6pt]; \fill[cgold] (1.26,1.92) circle[radius=1.6pt]; \fill[cgold] (1.68,0.98) circle[radius=1.6pt]; \fill[cgold] (2.10,1.51) circle[radius=1.6pt]; \fill[cgold] (2.52,1.38) circle[radius=1.6pt]; \fill[cgold] (2.94,0.94) circle[radius=1.6pt]; \fill[cgold] (3.36,0.59) circle[radius=1.6pt]; \fill[cgold] (3.78,1.71) circle[radius=1.6pt]; \fill[cgold] (4.20,1.97) circle[radius=1.6pt]; \fill[cgold] (4.62,2.21) circle[radius=1.6pt]; \fill[cgold] (5.04,1.59) circle[radius=1.6pt]; \fill[cgold] (5.46,1.89) circle[radius=1.6pt]; \fill[cgold] (5.88,1.56) circle[radius=1.6pt]; \fill[cgold] (6.30,1.65) circle[radius=1.6pt]; \fill[cgold] (6.72,1.58) circle[radius=1.6pt]; \fill[cgold] (7.14,2.03) circle[radius=1.6pt]; \fill[cgold] (7.56,1.92) circle[radius=1.6pt]; \fill[cgold] (7.98,1.94) circle[radius=1.6pt]; \fill[cgold] (8.40,1.75) circle[radius=1.6pt]; \fill[cgold] (8.82,1.99) circle[radius=1.6pt]; \fill[cgold] (9.24,2.19) circle[radius=1.6pt]; \fill[cgold] (9.66,1.98) circle[radius=1.6pt]; \fill[cgold] (10.08,1.92) circle[radius=1.6pt]; \end{tikzpicture} \caption{The ratio $c_N/N\sqrt N$ between the maximal energy of a real circulant chain and the bound $N\sqrt N$, for $3\leq N\leq26$, computed by exhaustive search. The value $1$ is attained only at $N=4$, in agreement with Theorem \ref{thm:realahm}.}\label{fig:ahmreal} \end{figure} Regarding the circulant complex case, we can restrict attention to the circulant unitaries, which are of the form $U=\frac{1}{N}F_Ndiag(\psi)F_N^*$, with $\psi\in\mathbb T^N$, the first row being $u_t=\frac{1}{N}\sum_k\psi_kw^{-kt}$. Since $\sum_t|u_t|^2=1$, we have $||U||_1=N\sum_t|u_t|\leq N\sqrt N$, with equality precisely when $\sqrt NU$ is a circulant complex Hadamard matrix. More generally, following \cite{bnp}, we can use the $p$-norms $||U||_p=(\sum_{ij}|U_{ij}|^p)^{1/p}$, with $p\geq1$. By the H\"older inequality, for $U\in U_N$ we have $||U||_p\leq N^{2/p-1/2}$ for $p<2$, and $||U||_p\geq N^{2/p-1/2}$ for $p>2$, with equality precisely when $\sqrt NU$ is a complex Hadamard matrix, and the local maximizers, respectively minimizers, rescaled by $\sqrt N$, are called $p$-almost Hadamard matrices. Given $U$ with nonzero entries, we use the matrix $W=(|U_{ij}|^{p-1}U_{ij}/|U_{ij}|)_{ij}$, which at $p=1$ is the phase matrix $S$ of $U$, and is circulant when $U$ is. The critical points are as follows: \begin{prop}\label{prop:circcrit} Let $U$ be a circulant unitary, with eigenvalues $\psi_k$ and nonzero entries, let $p\geq1$, and let $W$ be as above, with eigenvalues $\hat w_k$. Then $U$ is a critical point of the $p$-norm on the circulant unitaries precisely when $\bar\psi_k\hat w_k\in\mathbb R$ for any $k$, and in this case $U$ is a critical point of the $p$-norm on the whole $U_N$. In particular, the circulant self-adjoint unitaries with nonzero entries are critical points of all the $p$-norms on $U_N$. \end{prop} \begin{proof} With $\psi_k=e^{i\varphi_k}$, we have $\partial u_t/\partial\varphi_k=\frac{i}{N}\psi_kw^{-kt}$, and so the derivative of $\sum_t|u_t|^p$ with respect to $\varphi_k$ is $p\,Re(\frac{i}{N}\psi_k\overline{\hat w_k})$, which gives the first assertion. On the other hand, the derivative of $||Ue^{itA}||_p^p$ at $t=0$, with $A$ self-adjoint, is $p\,Re\,Tr(W^*UiA)$, so the critical points on $U_N$ are those with $W^*U$ self-adjoint. In the circulant case $W^*U$ is circulant, with eigenvalues $\overline{\hat w_k}\psi_k$, and is self-adjoint precisely when these are real. Finally, when $U$ is self-adjoint we have $\psi_k\in\mathbb R$, and $u_{-t}=\bar u_t$, so $w_{-t}=\bar w_t$, and the numbers $\hat w_k$ are real too. \end{proof} The last assertion is the complex analogue of the result from \cite{bnp} stating that the circulant symmetric orthogonal matrices with nonzero entries are critical points of all the $p$-norms on $O_N$. In the real case, the matrix $K_N$, and the matrices coming from designs, were studied in relation with the $p$-norms by Mohan \cite{moh,mo2}, and his computations show for instance that the second variation of the $4$-norm at $K_8/\sqrt8$, along an elementary rotation, is negative, so that $K_8$ is not $4$-almost Hadamard, as checked by the program {\tt pnorm.py}. At $p\to2$, the $p$-norms lead to the Shannon entropy $\sum_{ij}|U_{ij}|^2\log(1/|U_{ij}|^2)$, whose maxima on $O_N$ were studied in \cite{amp}, and we will come back to this below. The program {\tt ahmcirc.py} searches for the local maximizers of the $1$-norm on the circulant unitaries, by optimization from random starting points, and {\tt ahmcheck.py} refines the critical points by Newton's method, and computes the Hessian. With 150 to 300 starting points at each $N\leq16$, we found no local maximizers other than the circulant Hadamard matrices at $N\leq11$ and $N=13$, while at $N=12,14,15,16$ we found respectively $1,1,6,5$ other local maximizers, the one at $N=12$ having $||U||_1=41.4178$, instead of $12\sqrt{12}=41.5692$, see Figure \ref{fig:flowers}. However, the program {\tt ahmfull.py}, which computes the Hessian of $A\to||Ue^{iA}||_1$ on the self-adjoint matrices, shows that all these points are saddle points of the $1$-norm on $U_N$, with $2N-1$ flat directions, coming from the diagonal unitaries, and with several positive directions. Thus the circulant restriction creates spurious local maxima, and the counterexamples from \cite{fte} discussed below are of a different nature. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small] \draw[black!40,dashed] (0.00,0.00) circle[radius=1.7]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(1.75,0.00); \fill[cgold] (1.75,0.00) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(1.39,0.80); \fill[cgold] (1.39,0.80) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(0.80,1.39); \fill[cgold] (0.80,1.39) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(0.00,1.75); \fill[cgold] (0.00,1.75) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-0.74,1.29); \fill[cgold] (-0.74,1.29) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-1.47,0.85); \fill[cgold] (-1.47,0.85) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-1.66,0.00); \fill[cgold] (-1.66,0.00) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-1.70,-0.98); \fill[cgold] (-1.70,-0.98) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-0.98,-1.70); \fill[cgold] (-0.98,-1.70) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(-0.00,-1.66); \fill[cgold] (-0.00,-1.66) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(0.85,-1.47); \fill[cgold] (0.85,-1.47) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (0.00,0.00)--(1.29,-0.74); \fill[cgold] (1.29,-0.74) circle[radius=1.8pt]; \draw[black!40,dashed] (5.00,0.00) circle[radius=1.7]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(6.55,0.00); \fill[cgold] (6.55,0.00) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(6.72,0.71); \fill[cgold] (6.72,0.71) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(6.29,1.29); \fill[cgold] (6.29,1.29) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(5.60,1.44); \fill[cgold] (5.60,1.44) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(5.00,1.55); \fill[cgold] (5.00,1.55) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(4.35,1.58); \fill[cgold] (4.35,1.58) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(3.78,1.22); \fill[cgold] (3.78,1.22) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(3.42,0.65); \fill[cgold] (3.42,0.65) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(3.40,0.00); \fill[cgold] (3.40,0.00) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(3.56,-0.60); \fill[cgold] (3.56,-0.60) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(3.56,-1.44); \fill[cgold] (3.56,-1.44) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(4.29,-1.72); \fill[cgold] (4.29,-1.72) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(5.00,-1.60); \fill[cgold] (5.00,-1.60) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(5.62,-1.50); \fill[cgold] (5.62,-1.50) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(6.22,-1.22); \fill[cgold] (6.22,-1.22) circle[radius=1.8pt]; \draw[cblue,line width=1.2pt] (5.00,0.00)--(6.50,-0.62); \fill[cgold] (6.50,-0.62) circle[radius=1.8pt]; \end{tikzpicture} \caption{Flowers of $2$ circulant unitaries $U$ which are local maximizers of the $1$-norm on the circulant unitaries, but not global ones, at $N=12$ and $N=16$: the petal at $t$ has length $\sqrt N|u_t|$, and the dashed circle is the level $1$, attained by the circulant complex Hadamard matrices.}\label{fig:flowers} \end{figure} These local maximizers can be found as well by a simple iteration, using only the fast Fourier transform, and this works for the $p$-norms with $1\leq p<2$ too. Given a circulant unitary $U$ with nonzero entries, such that the above matrix $W$ is invertible, we let $U'=Pol(W)$, which is again a circulant unitary, its first row being given by Proposition \ref{prop:chain}. We have the following result, which is Theorem \ref{thm:d} from the introduction: \begin{thm}\label{thm:phasepolar} Let $1\leq p<2$, let $U$ be a circulant unitary with nonzero entries, such that the matrix $W$ is invertible, and set $U'=Pol(W)$. Then $||U'||_p\geq||U||_p$, with equality precisely when $U'=U$, and in this case $U$ is a critical point of the $p$-norm on $U_N$. Moreover, any circulant $p$-almost Hadamard matrix $\sqrt NV$, with $V$ having nonzero entries, and invertible matrix $W$, appears in this way, with $V'=V$. \end{thm} \begin{proof} Let $q\in(2,\infty]$ be given by $1/p+1/q=1$, and set $\widehat W=W/||W||_q$. Since $|W_{ij}|=|U_{ij}|^{p-1}$, we have $Re\,Tr(W^*U)=||U||_p^p$ and $||W||_q=||U||_p^{p-1}$, so $Re\,Tr(\widehat W^*U)=||U||_p$. The matrices $W,U,U'$ are circulant, so they are diagonalized by the Fourier matrix, with eigenvalues $\hat w_k$, $\psi_k$ and $\varphi_k=\hat w_k/|\hat w_k|$. Thus $Re\,Tr(\widehat W^*U)\leq\sum_k|\hat w_k|/||W||_q=Tr(\widehat W^*U')$, with equality precisely when $\psi_k=\varphi_k$ for any $k$, that is, $U=U'$, and by the H\"older inequality, we have: $$||U||_p=Re\,Tr(\widehat W^*U)\leq Tr(\widehat W^*U')\leq||\widehat W||_q||U'||_p=||U'||_p$$ Thus $||U'||_p\geq||U||_p$, and the equality forces $U=U'$. In this case $\overline{\hat w_k}\psi_k=|\hat w_k|$ is real for any $k$, and Proposition \ref{prop:circcrit} shows that $U$ is a critical point of the $p$-norm on $U_N$. Regarding the last assertion, let $V$ be as in the statement, with eigenvalues $\psi_k$, and associated matrix $W$, and write $\overline{\hat w_k}\psi_k=r_ke^{i\alpha_k}$, with $r_k>0$. The matrix $V$ is a local maximizer of the $p$-norm on the circulant unitaries, and if we replace $\psi_k$ by $\psi_ke^{i\theta}$, for a given $k$, we obtain a circulant unitary $V_\theta$, with: $$||V_\theta||_p\geq Re\,Tr(\widehat W^*V_\theta)=||V||_p+\frac{r_k}{||W||_q}(\cos(\alpha_k+\theta)-\cos\alpha_k)$$ For $\alpha_k\neq0$ the right term is $>||V||_p$ for $\theta$ small, of suitable sign, so we must have $\alpha_k=0$. Thus $\psi_k=\hat w_k/|\hat w_k|$ for any $k$, and so $V=Pol(W)=V'$. \end{proof} At $p=1$ we have $W=S$, and in terms of the phase vectors $s$ of the first rows, the map $U\to U'$ becomes the map $s\to s'$, with $s'$ being the phase vector of the first row of $Pol(S)$. The above proof shows that we have $Tr|S|\leq||Pol(S)||_1\leq Tr|S'|$, so the map $s\to s'$ is an ascent algorithm for the energy $Tr|S|=\sum_k|\hat s_k|$ of the circulant chain, whose global maxima are the circulant complex Hadamard matrices, and whose fixed points are circulant critical points of the $1$-norm on $U_N$, as long as the iteration is defined, that is, as long as the numbers $\hat s_k$ do not vanish. Theorem \ref{thm:phasepolar} gives the ascent at each step, and the characterization of the fixed points, but not the convergence of the iteration, which would require a separate argument. This map is well-known in signal processing, as the PeCAN algorithm of Stoica, He and Li \cite{shl}, used for finding sequences with impulse-like periodic autocorrelations, which is in turn a periodic version of the Gerchberg-Saxton phase retrieval algorithm \cite{gsa}. At $p=1$, the monotonicity and the fixed point mechanism appear as well in the alternating projection method of F\"uhr and Rzeszotnik for the biunimodular vectors \cite{fr}, the argument via a supporting linear functional, followed by a polar decomposition, is that of the generalized power method of Journ\'ee, Nesterov, Richt\'arik and Sepulchre \cite{jnr}, and the local maximality condition for the $1$-norm on $U_N$, in polar form, is in \cite{fte}. The new points in Theorem \ref{thm:phasepolar} are the weighted Fourier update for $1] (0,0)--(10.66,0) node[right]{iteration}; \draw[black!40,->] (0,0)--(0,4.50); \node[below] at (0.00,0) {$0$}; \node[below] at (2.60,0) {$100$}; \node[below] at (5.20,0) {$200$}; \node[below] at (7.80,0) {$300$}; \node[below] at (10.40,0) {$400$}; \node[left] at (0,1.00) {$10^{-2}$}; \node[left] at (0,2.00) {$10^{-4}$}; \node[left] at (0,3.00) {$10^{-6}$}; \node[left] at (0,4.00) {$10^{-8}$}; \draw[cgold,dashed] (0,1.22)--(10.40,1.22); \draw[cblue,line width=0.6pt] (0.00,0.54)--(0.05,1.19)--(0.10,1.39)--(0.16,1.45)--(0.21,1.48)--(0.26,1.50)--(0.31,1.51)--(0.36,1.52)--(0.42,1.52)--(0.47,1.53)--(0.52,1.53)--(0.57,1.53)--(0.62,1.53)--(0.68,1.53)--(0.73,1.54)--(0.78,1.54)--(0.83,1.54)--(0.88,1.54)--(0.94,1.54)--(0.99,1.54)--(1.04,1.54)--(1.09,1.54)--(1.14,1.54)--(1.20,1.54)--(1.25,1.54)--(1.30,1.54)--(1.35,1.54)--(1.40,1.54)--(1.46,1.54)--(1.51,1.54)--(1.56,1.54)--(1.61,1.54)--(1.66,1.54)--(1.72,1.54)--(1.77,1.54)--(1.82,1.54)--(1.87,1.54)--(1.92,1.54)--(1.98,1.54)--(2.03,1.54)--(2.08,1.54)--(2.13,1.54)--(2.18,1.54)--(2.24,1.54)--(2.29,1.54)--(2.34,1.54)--(2.39,1.54)--(2.44,1.54)--(2.50,1.54)--(2.55,1.54)--(2.60,1.54)--(2.65,1.54)--(2.70,1.54)--(2.76,1.54)--(2.81,1.54)--(2.86,1.54)--(2.91,1.54)--(2.96,1.54)--(3.02,1.54)--(3.07,1.54)--(3.12,1.54)--(3.17,1.54)--(3.22,1.54)--(3.28,1.54)--(3.33,1.54)--(3.38,1.54)--(3.43,1.54)--(3.48,1.54)--(3.54,1.54)--(3.59,1.54)--(3.64,1.54)--(3.69,1.54)--(3.74,1.54)--(3.80,1.54)--(3.85,1.54)--(3.90,1.54)--(3.95,1.54)--(4.00,1.54)--(4.06,1.54)--(4.11,1.54)--(4.16,1.54)--(4.21,1.54)--(4.26,1.54)--(4.32,1.54)--(4.37,1.54)--(4.42,1.54)--(4.47,1.54)--(4.52,1.54)--(4.58,1.54)--(4.63,1.54)--(4.68,1.54)--(4.73,1.54)--(4.78,1.54)--(4.84,1.54)--(4.89,1.54)--(4.94,1.54)--(4.99,1.54)--(5.04,1.54)--(5.10,1.54)--(5.15,1.54)--(5.20,1.54)--(5.25,1.54)--(5.30,1.54)--(5.36,1.54)--(5.41,1.54)--(5.46,1.54)--(5.51,1.54)--(5.56,1.54)--(5.62,1.54)--(5.67,1.54)--(5.72,1.54)--(5.77,1.54)--(5.82,1.54)--(5.88,1.54)--(5.93,1.54)--(5.98,1.54)--(6.03,1.54)--(6.08,1.54)--(6.14,1.54)--(6.19,1.54)--(6.24,1.54)--(6.29,1.54)--(6.34,1.54)--(6.40,1.54)--(6.45,1.54)--(6.50,1.54)--(6.55,1.54)--(6.60,1.54)--(6.66,1.54)--(6.71,1.54)--(6.76,1.54)--(6.81,1.54)--(6.86,1.55)--(6.92,1.55)--(6.97,1.55)--(7.02,1.55)--(7.07,1.55)--(7.12,1.55)--(7.18,1.55)--(7.23,1.55)--(7.28,1.55)--(7.33,1.55)--(7.38,1.55)--(7.44,1.55)--(7.49,1.55)--(7.54,1.56)--(7.59,1.56)--(7.64,1.56)--(7.70,1.56)--(7.75,1.56)--(7.80,1.56)--(7.85,1.57)--(7.90,1.57)--(7.96,1.57)--(8.01,1.57)--(8.06,1.58)--(8.11,1.58)--(8.16,1.58)--(8.22,1.59)--(8.27,1.59)--(8.32,1.59)--(8.37,1.60)--(8.42,1.61)--(8.48,1.61)--(8.53,1.62)--(8.58,1.63)--(8.63,1.64)--(8.68,1.64)--(8.74,1.66)--(8.79,1.67)--(8.84,1.68)--(8.89,1.69)--(8.94,1.71)--(9.00,1.73)--(9.05,1.74)--(9.10,1.76)--(9.15,1.78)--(9.20,1.81)--(9.26,1.83)--(9.31,1.86)--(9.36,1.88)--(9.41,1.91)--(9.46,1.94)--(9.52,1.98)--(9.57,2.01)--(9.62,2.05)--(9.67,2.08)--(9.72,2.12)--(9.78,2.16)--(9.83,2.20)--(9.88,2.24)--(9.93,2.28)--(9.98,2.32)--(10.04,2.37)--(10.09,2.41)--(10.14,2.45)--(10.19,2.50)--(10.24,2.54)--(10.30,2.59)--(10.35,2.63); \draw[cblue,line width=0.6pt] (0.00,0.61)--(0.05,1.02)--(0.10,1.16)--(0.16,1.23)--(0.21,1.28)--(0.26,1.32)--(0.31,1.37)--(0.36,1.41)--(0.42,1.44)--(0.47,1.47)--(0.52,1.50)--(0.57,1.53)--(0.62,1.55)--(0.68,1.57)--(0.73,1.59)--(0.78,1.61)--(0.83,1.63)--(0.88,1.64)--(0.94,1.66)--(0.99,1.68)--(1.04,1.70)--(1.09,1.72)--(1.14,1.73)--(1.20,1.75)--(1.25,1.77)--(1.30,1.79)--(1.35,1.80)--(1.40,1.82)--(1.46,1.84)--(1.51,1.86)--(1.56,1.88)--(1.61,1.90)--(1.66,1.92)--(1.72,1.94)--(1.77,1.96)--(1.82,1.98)--(1.87,2.01)--(1.92,2.03)--(1.98,2.05)--(2.03,2.07)--(2.08,2.10)--(2.13,2.12)--(2.18,2.14)--(2.24,2.17)--(2.29,2.19)--(2.34,2.22)--(2.39,2.24)--(2.44,2.27)--(2.50,2.29)--(2.55,2.32)--(2.60,2.34)--(2.65,2.37)--(2.70,2.39)--(2.76,2.42)--(2.81,2.44)--(2.86,2.47)--(2.91,2.49)--(2.96,2.52)--(3.02,2.54)--(3.07,2.57)--(3.12,2.60)--(3.17,2.62)--(3.22,2.65)--(3.28,2.67)--(3.33,2.70)--(3.38,2.72)--(3.43,2.75)--(3.48,2.78)--(3.54,2.80)--(3.59,2.83)--(3.64,2.85)--(3.69,2.88)--(3.74,2.90)--(3.80,2.93)--(3.85,2.96)--(3.90,2.98)--(3.95,3.01)--(4.00,3.03)--(4.06,3.06)--(4.11,3.08)--(4.16,3.11)--(4.21,3.14)--(4.26,3.16)--(4.32,3.19)--(4.37,3.21)--(4.42,3.24)--(4.47,3.26)--(4.52,3.29)--(4.58,3.32)--(4.63,3.34)--(4.68,3.37)--(4.73,3.39)--(4.78,3.42)--(4.84,3.44)--(4.89,3.47)--(4.94,3.49)--(4.99,3.52)--(5.04,3.54)--(5.10,3.57)--(5.15,3.59)--(5.20,3.62)--(5.25,3.65)--(5.30,3.67)--(5.36,3.70)--(5.41,3.72)--(5.46,3.75)--(5.51,3.77)--(5.56,3.80)--(5.62,3.82)--(5.67,3.85)--(5.72,3.87)--(5.77,3.90)--(5.82,3.92)--(5.88,3.95)--(5.93,3.97)--(5.98,4.00); \draw[cblue,line width=0.6pt] (0.00,0.45)--(0.05,0.98)--(0.10,1.07)--(0.16,1.14)--(0.21,1.22)--(0.26,1.30)--(0.31,1.38)--(0.36,1.46)--(0.42,1.55)--(0.47,1.64)--(0.52,1.73)--(0.57,1.82)--(0.62,1.92)--(0.68,2.03)--(0.73,2.13)--(0.78,2.24)--(0.83,2.34)--(0.88,2.45)--(0.94,2.56)--(0.99,2.66)--(1.04,2.76)--(1.09,2.86)--(1.14,2.96)--(1.20,3.05)--(1.25,3.15)--(1.30,3.24)--(1.35,3.33)--(1.40,3.42)--(1.46,3.51)--(1.51,3.60)--(1.56,3.69)--(1.61,3.78)--(1.66,3.87)--(1.72,3.96); \draw[cblue,line width=0.6pt] (0.00,0.54)--(0.05,0.94)--(0.10,1.16)--(0.16,1.35)--(0.21,1.53)--(0.26,1.69)--(0.31,1.83)--(0.36,1.95)--(0.42,2.07)--(0.47,2.19)--(0.52,2.30)--(0.57,2.41)--(0.62,2.51)--(0.68,2.62)--(0.73,2.73)--(0.78,2.83)--(0.83,2.94)--(0.88,3.04)--(0.94,3.15)--(0.99,3.25)--(1.04,3.36)--(1.09,3.46)--(1.14,3.57)--(1.20,3.67)--(1.25,3.77)--(1.30,3.88)--(1.35,3.98); \draw[cblue,line width=0.6pt] (0.00,0.46)--(0.05,0.79)--(0.10,0.99)--(0.16,1.09)--(0.21,1.16)--(0.26,1.24)--(0.31,1.32)--(0.36,1.38)--(0.42,1.43)--(0.47,1.49)--(0.52,1.55)--(0.57,1.61)--(0.62,1.66)--(0.68,1.70)--(0.73,1.73)--(0.78,1.75)--(0.83,1.77)--(0.88,1.78)--(0.94,1.79)--(0.99,1.80)--(1.04,1.80)--(1.09,1.81)--(1.14,1.81)--(1.20,1.82)--(1.25,1.82)--(1.30,1.83)--(1.35,1.83)--(1.40,1.83)--(1.46,1.84)--(1.51,1.84)--(1.56,1.84)--(1.61,1.85)--(1.66,1.85)--(1.72,1.85)--(1.77,1.86)--(1.82,1.86)--(1.87,1.86)--(1.92,1.87)--(1.98,1.87)--(2.03,1.87)--(2.08,1.88)--(2.13,1.88)--(2.18,1.88)--(2.24,1.89)--(2.29,1.89)--(2.34,1.89)--(2.39,1.90)--(2.44,1.90)--(2.50,1.90)--(2.55,1.90)--(2.60,1.91)--(2.65,1.91)--(2.70,1.91)--(2.76,1.92)--(2.81,1.92)--(2.86,1.92)--(2.91,1.92)--(2.96,1.93)--(3.02,1.93)--(3.07,1.93)--(3.12,1.94)--(3.17,1.94)--(3.22,1.94)--(3.28,1.94)--(3.33,1.95)--(3.38,1.95)--(3.43,1.95)--(3.48,1.96)--(3.54,1.96)--(3.59,1.96)--(3.64,1.96)--(3.69,1.97)--(3.74,1.97)--(3.80,1.97)--(3.85,1.97)--(3.90,1.98)--(3.95,1.98)--(4.00,1.98)--(4.06,1.99)--(4.11,1.99)--(4.16,1.99)--(4.21,1.99)--(4.26,2.00)--(4.32,2.00)--(4.37,2.00)--(4.42,2.00)--(4.47,2.01)--(4.52,2.01)--(4.58,2.01)--(4.63,2.02)--(4.68,2.02)--(4.73,2.02)--(4.78,2.02)--(4.84,2.03)--(4.89,2.03)--(4.94,2.03)--(4.99,2.03)--(5.04,2.04)--(5.10,2.04)--(5.15,2.04)--(5.20,2.04)--(5.25,2.05)--(5.30,2.05)--(5.36,2.05)--(5.41,2.06)--(5.46,2.06)--(5.51,2.06)--(5.56,2.06)--(5.62,2.07)--(5.67,2.07)--(5.72,2.07)--(5.77,2.07)--(5.82,2.08)--(5.88,2.08)--(5.93,2.08)--(5.98,2.09)--(6.03,2.09)--(6.08,2.09)--(6.14,2.09)--(6.19,2.10)--(6.24,2.10)--(6.29,2.10)--(6.34,2.11)--(6.40,2.11)--(6.45,2.11)--(6.50,2.11)--(6.55,2.12)--(6.60,2.12)--(6.66,2.12)--(6.71,2.13)--(6.76,2.13)--(6.81,2.13)--(6.86,2.13)--(6.92,2.14)--(6.97,2.14)--(7.02,2.14)--(7.07,2.15)--(7.12,2.15)--(7.18,2.15)--(7.23,2.15)--(7.28,2.16)--(7.33,2.16)--(7.38,2.16)--(7.44,2.17)--(7.49,2.17)--(7.54,2.17)--(7.59,2.17)--(7.64,2.18)--(7.70,2.18)--(7.75,2.18)--(7.80,2.19)--(7.85,2.19)--(7.90,2.19)--(7.96,2.20)--(8.01,2.20)--(8.06,2.20)--(8.11,2.20)--(8.16,2.21)--(8.22,2.21)--(8.27,2.21)--(8.32,2.22)--(8.37,2.22)--(8.42,2.22)--(8.48,2.23)--(8.53,2.23)--(8.58,2.23)--(8.63,2.24)--(8.68,2.24)--(8.74,2.24)--(8.79,2.24)--(8.84,2.25)--(8.89,2.25)--(8.94,2.25)--(9.00,2.26)--(9.05,2.26)--(9.10,2.26)--(9.15,2.27)--(9.20,2.27)--(9.26,2.27)--(9.31,2.28)--(9.36,2.28)--(9.41,2.28)--(9.46,2.29)--(9.52,2.29)--(9.57,2.29)--(9.62,2.29)--(9.67,2.30)--(9.72,2.30)--(9.78,2.30)--(9.83,2.31)--(9.88,2.31)--(9.93,2.31)--(9.98,2.32)--(10.04,2.32)--(10.09,2.32)--(10.14,2.33)--(10.19,2.33)--(10.24,2.33)--(10.30,2.34)--(10.35,2.34); \draw[cblue,line width=0.6pt] (0.00,0.48)--(0.05,0.96)--(0.10,1.25)--(0.16,1.51)--(0.21,1.76)--(0.26,1.93)--(0.31,2.00)--(0.36,2.02)--(0.42,2.03)--(0.47,2.03)--(0.52,2.04)--(0.57,2.04)--(0.62,2.04)--(0.68,2.04)--(0.73,2.05)--(0.78,2.05)--(0.83,2.05)--(0.88,2.06)--(0.94,2.06)--(0.99,2.06)--(1.04,2.06)--(1.09,2.07)--(1.14,2.07)--(1.20,2.07)--(1.25,2.08)--(1.30,2.08)--(1.35,2.08)--(1.40,2.08)--(1.46,2.09)--(1.51,2.09)--(1.56,2.09)--(1.61,2.09)--(1.66,2.10)--(1.72,2.10)--(1.77,2.10)--(1.82,2.11)--(1.87,2.11)--(1.92,2.11)--(1.98,2.11)--(2.03,2.12)--(2.08,2.12)--(2.13,2.12)--(2.18,2.13)--(2.24,2.13)--(2.29,2.13)--(2.34,2.13)--(2.39,2.14)--(2.44,2.14)--(2.50,2.14)--(2.55,2.15)--(2.60,2.15)--(2.65,2.15)--(2.70,2.15)--(2.76,2.16)--(2.81,2.16)--(2.86,2.16)--(2.91,2.17)--(2.96,2.17)--(3.02,2.17)--(3.07,2.17)--(3.12,2.18)--(3.17,2.18)--(3.22,2.18)--(3.28,2.19)--(3.33,2.19)--(3.38,2.19)--(3.43,2.20)--(3.48,2.20)--(3.54,2.20)--(3.59,2.20)--(3.64,2.21)--(3.69,2.21)--(3.74,2.21)--(3.80,2.22)--(3.85,2.22)--(3.90,2.22)--(3.95,2.23)--(4.00,2.23)--(4.06,2.23)--(4.11,2.24)--(4.16,2.24)--(4.21,2.24)--(4.26,2.24)--(4.32,2.25)--(4.37,2.25)--(4.42,2.25)--(4.47,2.26)--(4.52,2.26)--(4.58,2.26)--(4.63,2.27)--(4.68,2.27)--(4.73,2.27)--(4.78,2.28)--(4.84,2.28)--(4.89,2.28)--(4.94,2.29)--(4.99,2.29)--(5.04,2.29)--(5.10,2.30)--(5.15,2.30)--(5.20,2.30)--(5.25,2.30)--(5.30,2.31)--(5.36,2.31)--(5.41,2.31)--(5.46,2.32)--(5.51,2.32)--(5.56,2.32)--(5.62,2.33)--(5.67,2.33)--(5.72,2.33)--(5.77,2.34)--(5.82,2.34)--(5.88,2.34)--(5.93,2.35)--(5.98,2.35)--(6.03,2.35)--(6.08,2.36)--(6.14,2.36)--(6.19,2.36)--(6.24,2.37)--(6.29,2.37)--(6.34,2.37)--(6.40,2.38)--(6.45,2.38)--(6.50,2.38)--(6.55,2.39)--(6.60,2.39)--(6.66,2.39)--(6.71,2.40)--(6.76,2.40)--(6.81,2.40)--(6.86,2.41)--(6.92,2.41)--(6.97,2.41)--(7.02,2.42)--(7.07,2.42)--(7.12,2.42)--(7.18,2.43)--(7.23,2.43)--(7.28,2.43)--(7.33,2.44)--(7.38,2.44)--(7.44,2.44)--(7.49,2.45)--(7.54,2.45)--(7.59,2.45)--(7.64,2.46)--(7.70,2.46)--(7.75,2.47)--(7.80,2.47)--(7.85,2.47)--(7.90,2.48)--(7.96,2.48)--(8.01,2.48)--(8.06,2.49)--(8.11,2.49)--(8.16,2.49)--(8.22,2.50)--(8.27,2.50)--(8.32,2.50)--(8.37,2.51)--(8.42,2.51)--(8.48,2.51)--(8.53,2.52)--(8.58,2.52)--(8.63,2.52)--(8.68,2.53)--(8.74,2.53)--(8.79,2.53)--(8.84,2.54)--(8.89,2.54)--(8.94,2.55)--(9.00,2.55)--(9.05,2.55)--(9.10,2.56)--(9.15,2.56)--(9.20,2.56)--(9.26,2.57)--(9.31,2.57)--(9.36,2.57)--(9.41,2.58)--(9.46,2.58)--(9.52,2.58)--(9.57,2.59)--(9.62,2.59)--(9.67,2.59)--(9.72,2.60)--(9.78,2.60)--(9.83,2.61)--(9.88,2.61)--(9.93,2.61)--(9.98,2.62)--(10.04,2.62)--(10.09,2.62)--(10.14,2.63)--(10.19,2.63)--(10.24,2.63)--(10.30,2.64)--(10.35,2.64); \draw[cblue,line width=0.6pt] (0.00,0.59)--(0.05,0.95)--(0.10,1.03)--(0.16,1.08)--(0.21,1.13)--(0.26,1.19)--(0.31,1.25)--(0.36,1.31)--(0.42,1.39)--(0.47,1.46)--(0.52,1.54)--(0.57,1.63)--(0.62,1.72)--(0.68,1.83)--(0.73,1.94)--(0.78,2.05)--(0.83,2.16)--(0.88,2.28)--(0.94,2.39)--(0.99,2.50)--(1.04,2.61)--(1.09,2.72)--(1.14,2.82)--(1.20,2.92)--(1.25,3.02)--(1.30,3.12)--(1.35,3.21)--(1.40,3.31)--(1.46,3.40)--(1.51,3.49)--(1.56,3.58)--(1.61,3.67)--(1.66,3.76)--(1.72,3.85)--(1.77,3.94); \draw[cblue,line width=0.6pt] (0.00,0.35)--(0.05,0.85)--(0.10,0.89)--(0.16,0.91)--(0.21,0.93)--(0.26,0.97)--(0.31,1.04)--(0.36,1.14)--(0.42,1.26)--(0.47,1.36)--(0.52,1.43)--(0.57,1.47)--(0.62,1.49)--(0.68,1.51)--(0.73,1.52)--(0.78,1.52)--(0.83,1.53)--(0.88,1.53)--(0.94,1.53)--(0.99,1.53)--(1.04,1.53)--(1.09,1.54)--(1.14,1.54)--(1.20,1.54)--(1.25,1.54)--(1.30,1.54)--(1.35,1.54)--(1.40,1.54)--(1.46,1.54)--(1.51,1.54)--(1.56,1.54)--(1.61,1.54)--(1.66,1.54)--(1.72,1.54)--(1.77,1.54)--(1.82,1.54)--(1.87,1.54)--(1.92,1.54)--(1.98,1.54)--(2.03,1.54)--(2.08,1.54)--(2.13,1.54)--(2.18,1.54)--(2.24,1.54)--(2.29,1.54)--(2.34,1.54)--(2.39,1.54)--(2.44,1.54)--(2.50,1.54)--(2.55,1.54)--(2.60,1.54)--(2.65,1.54)--(2.70,1.54)--(2.76,1.54)--(2.81,1.54)--(2.86,1.54)--(2.91,1.54)--(2.96,1.54)--(3.02,1.54)--(3.07,1.54)--(3.12,1.54)--(3.17,1.54)--(3.22,1.54)--(3.28,1.54)--(3.33,1.54)--(3.38,1.54)--(3.43,1.54)--(3.48,1.54)--(3.54,1.54)--(3.59,1.54)--(3.64,1.54)--(3.69,1.54)--(3.74,1.54)--(3.80,1.54)--(3.85,1.54)--(3.90,1.54)--(3.95,1.54)--(4.00,1.54)--(4.06,1.54)--(4.11,1.54)--(4.16,1.54)--(4.21,1.54)--(4.26,1.54)--(4.32,1.54)--(4.37,1.54)--(4.42,1.54)--(4.47,1.54)--(4.52,1.54)--(4.58,1.54)--(4.63,1.54)--(4.68,1.54)--(4.73,1.54)--(4.78,1.54)--(4.84,1.54)--(4.89,1.54)--(4.94,1.54)--(4.99,1.54)--(5.04,1.54)--(5.10,1.54)--(5.15,1.54)--(5.20,1.54)--(5.25,1.54)--(5.30,1.54)--(5.36,1.54)--(5.41,1.54)--(5.46,1.54)--(5.51,1.54)--(5.56,1.54)--(5.62,1.54)--(5.67,1.54)--(5.72,1.54)--(5.77,1.54)--(5.82,1.55)--(5.88,1.55)--(5.93,1.55)--(5.98,1.55)--(6.03,1.55)--(6.08,1.55)--(6.14,1.55)--(6.19,1.55)--(6.24,1.55)--(6.29,1.55)--(6.34,1.55)--(6.40,1.55)--(6.45,1.55)--(6.50,1.56)--(6.55,1.56)--(6.60,1.56)--(6.66,1.56)--(6.71,1.56)--(6.76,1.56)--(6.81,1.57)--(6.86,1.57)--(6.92,1.57)--(6.97,1.57)--(7.02,1.58)--(7.07,1.58)--(7.12,1.58)--(7.18,1.59)--(7.23,1.59)--(7.28,1.59)--(7.33,1.60)--(7.38,1.61)--(7.44,1.61)--(7.49,1.62)--(7.54,1.63)--(7.59,1.64)--(7.64,1.65)--(7.70,1.66)--(7.75,1.67)--(7.80,1.68)--(7.85,1.69)--(7.90,1.71)--(7.96,1.73)--(8.01,1.74)--(8.06,1.76)--(8.11,1.78)--(8.16,1.81)--(8.22,1.83)--(8.27,1.86)--(8.32,1.89)--(8.37,1.91)--(8.42,1.95)--(8.48,1.98)--(8.53,2.01)--(8.58,2.05)--(8.63,2.08)--(8.68,2.12)--(8.74,2.16)--(8.79,2.20)--(8.84,2.24)--(8.89,2.28)--(8.94,2.32)--(9.00,2.37)--(9.05,2.41)--(9.10,2.45)--(9.15,2.50)--(9.20,2.54)--(9.26,2.59)--(9.31,2.63)--(9.36,2.68)--(9.41,2.72)--(9.46,2.77)--(9.52,2.81)--(9.57,2.86)--(9.62,2.90)--(9.67,2.95)--(9.72,3.00)--(9.78,3.04)--(9.83,3.09)--(9.88,3.13)--(9.93,3.18)--(9.98,3.22)--(10.04,3.27)--(10.09,3.31)--(10.14,3.35)--(10.19,3.40)--(10.24,3.44)--(10.30,3.49)--(10.35,3.53); \draw[cgold,line width=1.1pt] (0.00,0.48)--(0.05,0.78)--(0.10,1.12)--(0.16,1.19)--(0.21,1.20)--(0.26,1.21)--(0.31,1.22)--(0.36,1.22)--(0.42,1.22)--(0.47,1.22)--(0.52,1.22)--(0.57,1.22)--(0.62,1.22)--(0.68,1.22)--(0.73,1.22)--(0.78,1.22)--(0.83,1.22)--(0.88,1.22)--(0.94,1.22)--(0.99,1.22)--(1.04,1.22)--(1.09,1.22)--(1.14,1.22)--(1.20,1.22)--(1.25,1.22)--(1.30,1.22)--(1.35,1.22)--(1.40,1.22)--(1.46,1.22)--(1.51,1.22)--(1.56,1.22)--(1.61,1.22)--(1.66,1.22)--(1.72,1.22)--(1.77,1.22)--(1.82,1.22)--(1.87,1.22)--(1.92,1.22)--(1.98,1.22)--(2.03,1.22)--(2.08,1.22)--(2.13,1.22)--(2.18,1.22)--(2.24,1.22)--(2.29,1.22)--(2.34,1.22)--(2.39,1.22)--(2.44,1.22)--(2.50,1.22)--(2.55,1.22)--(2.60,1.22)--(2.65,1.22)--(2.70,1.22)--(2.76,1.22)--(2.81,1.22)--(2.86,1.22)--(2.91,1.22)--(2.96,1.22)--(3.02,1.22)--(3.07,1.22)--(3.12,1.22)--(3.17,1.22)--(3.22,1.22)--(3.28,1.22)--(3.33,1.22)--(3.38,1.22)--(3.43,1.22)--(3.48,1.22)--(3.54,1.22)--(3.59,1.22)--(3.64,1.22)--(3.69,1.22)--(3.74,1.22)--(3.80,1.22)--(3.85,1.22)--(3.90,1.22)--(3.95,1.22)--(4.00,1.22)--(4.06,1.22)--(4.11,1.22)--(4.16,1.22)--(4.21,1.22)--(4.26,1.22)--(4.32,1.22)--(4.37,1.22)--(4.42,1.22)--(4.47,1.22)--(4.52,1.22)--(4.58,1.22)--(4.63,1.22)--(4.68,1.22)--(4.73,1.22)--(4.78,1.22)--(4.84,1.22)--(4.89,1.22)--(4.94,1.22)--(4.99,1.22)--(5.04,1.22)--(5.10,1.22)--(5.15,1.22)--(5.20,1.22)--(5.25,1.22)--(5.30,1.22)--(5.36,1.22)--(5.41,1.22)--(5.46,1.22)--(5.51,1.22)--(5.56,1.22)--(5.62,1.22)--(5.67,1.22)--(5.72,1.22)--(5.77,1.22)--(5.82,1.22)--(5.88,1.22)--(5.93,1.22)--(5.98,1.22)--(6.03,1.22)--(6.08,1.22)--(6.14,1.22)--(6.19,1.22)--(6.24,1.22)--(6.29,1.22)--(6.34,1.22)--(6.40,1.22)--(6.45,1.22)--(6.50,1.22)--(6.55,1.22)--(6.60,1.22)--(6.66,1.22)--(6.71,1.22)--(6.76,1.22)--(6.81,1.22)--(6.86,1.22)--(6.92,1.22)--(6.97,1.22)--(7.02,1.22)--(7.07,1.22)--(7.12,1.22)--(7.18,1.22)--(7.23,1.22)--(7.28,1.22)--(7.33,1.22)--(7.38,1.22)--(7.44,1.22)--(7.49,1.22)--(7.54,1.22)--(7.59,1.22)--(7.64,1.22)--(7.70,1.22)--(7.75,1.22)--(7.80,1.22)--(7.85,1.22)--(7.90,1.22)--(7.96,1.22)--(8.01,1.22)--(8.06,1.22)--(8.11,1.22)--(8.16,1.22)--(8.22,1.22)--(8.27,1.22)--(8.32,1.22)--(8.37,1.22)--(8.42,1.22)--(8.48,1.22)--(8.53,1.22)--(8.58,1.22)--(8.63,1.22)--(8.68,1.22)--(8.74,1.22)--(8.79,1.22)--(8.84,1.22)--(8.89,1.22)--(8.94,1.22)--(9.00,1.22)--(9.05,1.22)--(9.10,1.22)--(9.15,1.22)--(9.20,1.22)--(9.26,1.22)--(9.31,1.22)--(9.36,1.22)--(9.41,1.22)--(9.46,1.22)--(9.52,1.22)--(9.57,1.22)--(9.62,1.22)--(9.67,1.22)--(9.72,1.22)--(9.78,1.22)--(9.83,1.22)--(9.88,1.22)--(9.93,1.22)--(9.98,1.22)--(10.04,1.22)--(10.09,1.22)--(10.14,1.22)--(10.19,1.22)--(10.24,1.22)--(10.30,1.22)--(10.35,1.22); \draw[cgold,line width=1.1pt] (0.00,0.48)--(0.05,0.88)--(0.10,1.04)--(0.16,1.11)--(0.21,1.15)--(0.26,1.17)--(0.31,1.18)--(0.36,1.19)--(0.42,1.20)--(0.47,1.20)--(0.52,1.21)--(0.57,1.21)--(0.62,1.21)--(0.68,1.21)--(0.73,1.21)--(0.78,1.21)--(0.83,1.22)--(0.88,1.22)--(0.94,1.22)--(0.99,1.22)--(1.04,1.22)--(1.09,1.22)--(1.14,1.22)--(1.20,1.22)--(1.25,1.22)--(1.30,1.22)--(1.35,1.22)--(1.40,1.22)--(1.46,1.22)--(1.51,1.22)--(1.56,1.22)--(1.61,1.22)--(1.66,1.22)--(1.72,1.22)--(1.77,1.22)--(1.82,1.22)--(1.87,1.22)--(1.92,1.22)--(1.98,1.22)--(2.03,1.22)--(2.08,1.22)--(2.13,1.22)--(2.18,1.22)--(2.24,1.22)--(2.29,1.22)--(2.34,1.22)--(2.39,1.22)--(2.44,1.22)--(2.50,1.22)--(2.55,1.22)--(2.60,1.22)--(2.65,1.22)--(2.70,1.22)--(2.76,1.22)--(2.81,1.22)--(2.86,1.22)--(2.91,1.22)--(2.96,1.22)--(3.02,1.22)--(3.07,1.22)--(3.12,1.22)--(3.17,1.22)--(3.22,1.22)--(3.28,1.22)--(3.33,1.22)--(3.38,1.22)--(3.43,1.22)--(3.48,1.22)--(3.54,1.22)--(3.59,1.22)--(3.64,1.22)--(3.69,1.22)--(3.74,1.22)--(3.80,1.22)--(3.85,1.22)--(3.90,1.22)--(3.95,1.22)--(4.00,1.22)--(4.06,1.22)--(4.11,1.22)--(4.16,1.22)--(4.21,1.22)--(4.26,1.22)--(4.32,1.22)--(4.37,1.22)--(4.42,1.22)--(4.47,1.22)--(4.52,1.22)--(4.58,1.22)--(4.63,1.22)--(4.68,1.22)--(4.73,1.22)--(4.78,1.22)--(4.84,1.22)--(4.89,1.22)--(4.94,1.22)--(4.99,1.22)--(5.04,1.22)--(5.10,1.22)--(5.15,1.22)--(5.20,1.22)--(5.25,1.22)--(5.30,1.22)--(5.36,1.22)--(5.41,1.22)--(5.46,1.22)--(5.51,1.22)--(5.56,1.22)--(5.62,1.22)--(5.67,1.22)--(5.72,1.22)--(5.77,1.22)--(5.82,1.22)--(5.88,1.22)--(5.93,1.22)--(5.98,1.22)--(6.03,1.22)--(6.08,1.22)--(6.14,1.22)--(6.19,1.22)--(6.24,1.22)--(6.29,1.22)--(6.34,1.22)--(6.40,1.22)--(6.45,1.22)--(6.50,1.22)--(6.55,1.22)--(6.60,1.22)--(6.66,1.22)--(6.71,1.22)--(6.76,1.22)--(6.81,1.22)--(6.86,1.22)--(6.92,1.22)--(6.97,1.22)--(7.02,1.22)--(7.07,1.22)--(7.12,1.22)--(7.18,1.22)--(7.23,1.22)--(7.28,1.22)--(7.33,1.22)--(7.38,1.22)--(7.44,1.22)--(7.49,1.22)--(7.54,1.22)--(7.59,1.22)--(7.64,1.22)--(7.70,1.22)--(7.75,1.22)--(7.80,1.22)--(7.85,1.22)--(7.90,1.22)--(7.96,1.22)--(8.01,1.22)--(8.06,1.22)--(8.11,1.22)--(8.16,1.22)--(8.22,1.22)--(8.27,1.22)--(8.32,1.22)--(8.37,1.22)--(8.42,1.22)--(8.48,1.22)--(8.53,1.22)--(8.58,1.22)--(8.63,1.22)--(8.68,1.22)--(8.74,1.22)--(8.79,1.22)--(8.84,1.22)--(8.89,1.22)--(8.94,1.22)--(9.00,1.22)--(9.05,1.22)--(9.10,1.22)--(9.15,1.22)--(9.20,1.22)--(9.26,1.22)--(9.31,1.22)--(9.36,1.22)--(9.41,1.22)--(9.46,1.22)--(9.52,1.22)--(9.57,1.22)--(9.62,1.22)--(9.67,1.22)--(9.72,1.22)--(9.78,1.22)--(9.83,1.22)--(9.88,1.22)--(9.93,1.22)--(9.98,1.22)--(10.04,1.22)--(10.09,1.22)--(10.14,1.22)--(10.19,1.22)--(10.24,1.22)--(10.30,1.22)--(10.35,1.22); \end{tikzpicture} \caption{The deficit $1-Tr|S|/N\sqrt N$ along the iteration $s\to s'$ from Theorem \ref{thm:phasepolar}, at $N=12$, in logarithmic scale, for $10$ random starting points. The blue curves converge to circulant complex Hadamard matrices, some of them after a long stay at an intermediate level, and the gold ones converge to the circulant unitary with $||U||_1=41.4178$ from Figure \ref{fig:flowers}, whose deficit is the dashed line.}\label{fig:ahmiter} \end{figure} As shown by Figure \ref{fig:ahmiter}, the convergence to the circulant complex Hadamard matrices can be quite slow, with the iteration staying for a long time at an intermediate level, before escaping. In the complex case, the circulant complex Hadamard matrices exist at any $N$, by Proposition \ref{prop:chirp}, and the question is whether there are other local maximizers. The almost Hadamard conjecture \cite{bn3} states that any local maximizer of the $1$-norm on $U_N$ is a global maximizer, that is, a rescaled complex Hadamard matrix. Regarding the circulant self-adjoint matrices, there is an averaged version of this question, as follows, with $\Phi(U,B)$ being the second order term of the $1$-norm at $U$, in the direction $B$, normalized as in \cite{bn3}, so that $\Phi(U,B)<0$ corresponds to a positive second derivative of the $1$-norm along $Ue^{itB}$: \begin{conj}\label{conj:averaged} For $U\in O_N$ circulant and symmetric, $\mathbb E(\Phi(U,B))\leq0$, where $B$ ranges over the circulant symmetric orthogonal matrices, and a similar result holds for $U\in U_N$ circulant and self-adjoint, with $B$ circulant self-adjoint unitary. \end{conj} When the inequality is strict, this produces a direction $B$ with $\Phi(U,B)<0$, along which the $1$-norm increases at second order, so the strict version of this conjecture, at the non-flat matrices, would exclude the circulant self-adjoint non-flat almost Hadamard matrices, a zero average requiring an extra argument, as done in \cite{bn3} for $K_5$. The conjecture was verified in \cite{bn3} for $K_N$ and several other examples. Regarding the general circulant case, the situation is quite different, because the almost Hadamard conjecture fails, with circulant counterexamples, as shown in \cite{fte} by computer-assisted proof: \begin{thm}\label{thm:ahcfails} The almost Hadamard conjecture fails at $N=16,17,18$, with circulant counterexamples: there exist chains $s\in\mathbb T^N$ such that $U=Pol(S)$ is a local maximizer of the $1$-norm on $U_N$, with phase matrix $S$, and with $||U||_1=Tr|S|0$, $p\neq2$, is given by $$E_p(x)=\frac{1}{p(p-2)}\Big(\sum_k|\hat x_k|^p-N^{1+p/2}\Big)$$ and at $p=2$ we set $E_2(x)=\frac{N^2}{4}(\log N-H(x))$, where $H(x)=-\sum_k\pi_k\log\pi_k$ is the Shannon entropy of the probability vector $\pi_k=|\hat x_k|^2/N^2$. \end{defn} The normalization is chosen such that $E_p\geq0$ for any $p>0$, with $E_p$ depending continuously on $p$, and such that the second order terms around the ground states are, as we will see, independent of $p$. We have the following result: \begin{prop}\label{prop:penergy} The $p$-energies $E_p:\mathbb T^N\to[0,\infty)$ depend continuously on $(p,x)$, and vanish precisely at the vectors $x$ producing circulant complex Hadamard matrices. Moreover, $E_4=\Phi/8$, and if $U$ is the circulant unitary with eigenvalue vector $\psi$, then $E_1(\psi)=N\sqrt N-||U||_1$, and $E_2(\psi)=\frac{N}{4}(N\log N-H(U))$, where $H(U)=\sum_{ij}|U_{ij}|^2\log(1/|U_{ij}|^2)$. \end{prop} \begin{proof} Let $a_k=|\hat x_k|$, so that $\sum_ka_k^2=N^2$, by the Plancherel formula. By the power mean inequality, $\sum_ka_k^p\leq N^{1+p/2}$ for $02$, with equality precisely when $a_k=\sqrt N$ for any $k$, and we have $H(x)\leq\log N$, with equality precisely when $\pi_k=1/N$ for any $k$. Thus $E_p\geq0$, with equality precisely at the circulant complex Hadamard matrices, by Proposition \ref{prop:diag}. Since $g(p,x)=\sum_ka_k^p-N^{1+p/2}$ is smooth in $p$, and vanishes at $p=2$, the quotient $g/(p-2)$ is continuous, with value at $p=2$ given by $\partial_pg=\sum_ka_k^2\log a_k-\frac{N^2}{2}\log N=\frac{N^2}{2}(\log N-H(x))$, which gives the continuity at $p=2$. The formulae for $E_4$ and $E_1$ are clear from definitions, and from the formula of $||U||_p^p$ above. Finally, the entries of $U$ have moduli $|u_t|$, each appearing $N$ times, so $H(U)=NH(\psi)$. \end{proof} Observe that at $p=4$ we have $||U||_4^4-1=\Phi(\psi)/N^3$, and as noted in \cite{bnp}, this is the square of the Hilbert-Schmidt distance from the bistochastic matrix $(|U_{ij}|^2)$ to the flat matrix, having all entries $1/N$. Regarding now the ground states, we have the following result, showing that the $p$-energies all behave in the same way: \begin{thm}\label{thm:penergy} Let $x\in\mathbb T^N$, with $x_0=1$, produce a circulant complex Hadamard matrix, and write $x=e^{i\theta_x}$. Then for any $p>0$, we have, around $\theta_x$, $$E_p(e^{i\theta})=\frac{N^{p/2-2}}{8}\,|J_x(\theta-\theta_x)|^2+O(|\theta-\theta_x|^3)$$ with $J_x$ being as in Theorem \ref{thm:laplace}. In particular, under the assumptions of Theorem \ref{thm:laplace}, the partition functions $Z_{N,p}(\beta)=\int e^{-\beta E_p(x)}dx$ satisfy $(\pi N^{p/2-2}\beta/2)^{(N-1)/2}Z_{N,p}(\beta)\to C_N$, for $\beta\to\infty$, with the same constant $C_N$ for all $p>0$. \end{thm} \begin{proof} With $f_k=|\hat x_k|^2-N$, around $\theta_x$, we have $\sum_kf_k=0$, by Proposition \ref{prop:energy}, and so, at $p\neq2$: $$\sum_k|\hat x_k|^p-N^{1+p/2}=\sum_kN^{p/2}\Big(\frac{p}{2}\cdot\frac{f_k}{N}+\frac{p(p-2)}{8}\cdot\frac{f_k^2}{N^2}+O(|f_k|^3)\Big)=\frac{p(p-2)}{8}N^{p/2-2}\sum_kf_k^2+O(|f|^3)$$ At $p=2$, we have $\pi_k=(1+f_k/N)/N$, and the same computation, with $\log(1+f_k/N)=f_k/N-f_k^2/2N^2+O(|f_k|^3)$, gives $E_2=\frac{1}{8N}\sum_kf_k^2+O(|f|^3)$. Now since $\sum_kf_k^2=\Phi=|J_x(\theta-\theta_x)|^2+O(|\theta-\theta_x|^3)$, as in the proof of Theorem \ref{thm:laplace}, and $f=O(|\theta-\theta_x|)$, we obtain the formula in the statement. Finally, the Laplace method applies as in the proof of Theorem \ref{thm:laplace}, with $\beta$ replaced by $N^{p/2-2}\beta/8$, the energies $E_p$ being positive outside the ground states, by Proposition \ref{prop:penergy}. \end{proof} This is the circulant analogue of the computation in \cite{bnp}, showing that the Hessian of the $p$-norm on $O_N$, at a rescaled Hadamard matrix, is $p-2$ times a quadratic form which does not depend on $p$. Also, with $\pi_k=|\hat x_k|^2/N^2$, we have $E_p=\frac{N^{1+p/2}}{8}I_{p/2-1}(\pi)$, where $I_\lambda(\pi)=\frac{2}{\lambda(\lambda+1)}\sum_k\pi_k((N\pi_k)^\lambda-1)$ is the power divergence of Cressie and Read \cite{cre} between $\pi$ and the uniform distribution, with the Kullback-Leibler divergence at $\lambda=0$, and the common quadratic behavior of these divergences around the uniform distribution is classical. The content of Theorem \ref{thm:penergy} is the pullback of this via the Fourier transform, with the resulting weights, and the quartic case $p=4$ was already used in the circulant Hadamard context in \cite{bns}. Far from the ground states, the landscape of $E_p$ depends on $p$, but only mildly, at least at small $N$. The program {\tt pnorm.py} searches for the local minima of $E_p$ on $\mathbb T^N/\mathbb T$, that is, with $x_0=1$, by optimization from $200$ random starting points, at $p=1,2,3,4$ and $N\leq16$, in the units of $\Phi$, that is, with $R=8N^{2-p/2}E_p$. A point is accepted when $R>0.01$, the gradient of $R$ is below $10^{-5}$, and the smallest eigenvalue of the Hessian of $R$ is above $10^{-6}$, and two values of $R$ are merged when their relative difference is below $10^{-4}$. In our run, we found no spurious local minima at $N\leq11$ and $N=13$, and the numbers of distinct values of $R$ found at $N=12,14,15,16$ are as follows: \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline $N$&$p=1$&$p=2$&$p=3$&$p=4$\\ \hline 12&1&1&1&1\\ \hline 14&0&0&0&0\\ \hline 15&2&2&1&2\\ \hline 16&4&1&4&11\\ \hline \end{tabular} \end{center} At $N=12$ the values are $R=50.3534$, $50.7670$, $51.0625$, $51.2262$, at $p=1,2,3,4$. These counts are only lower bounds, which depend on the run, the minima with small basins of attraction being easily missed. For instance, at $N=14$ there is a spurious local minimum, with $R=1.6545$ at $p=1$, found by further random starting points, and at $N=16$ the circulant counterexample to the almost Hadamard conjecture from \cite{fte}, from Theorem \ref{thm:ahcfails}, gives a spurious local minimum of $E_1$ with $R=0.3004$, smaller than the values found above. The program also follows in $p$, by Newton's method, from $p=1$ to $p=4$ with steps of $0.01$, the $13$ spurious local minima of $E_1$ found in section \ref{sec:ahm} at $N=12,14,15,16$. At the sampled values of $p$, $11$ of them remain nondegenerate local minima, as shown in Figure \ref{fig:pnorm} for $N=12,14$. At $N=15$, the minimum with $R=39.5998$ at $p=1$ disappears near $p=1.78$, the smallest eigenvalue of its Hessian going to $0$, as for a merging with a saddle point, and the minimum with $R=31.8830$ at $p=1$ becomes a saddle point near $p=3.8955$. In particular, the spurious local maximizer of the $1$-norm on the circulant unitaries at $N=12$, from Figure \ref{fig:flowers}, is the same object as a spurious local minimum of the energy $\Phi$ of the spin chain from section \ref{sec:ground}, with $\Phi=51.2262$, and the same holds at $N=14$, with $\Phi=1.6701$. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \draw[black!40,->] (0,0)--(10.40,0) node[right]{$p$}; \draw[black!40,->] (0,0)--(0,3.84); \draw[black!40,dashed] (0,1.80)--(9.60,1.80); \draw[black!25,dotted] (0.00,0)--(0.00,3.60) node[above right,font=\scriptsize,black!70]{almost Hadamard}; \node[below] at (0.00,0) {$1$}; \draw[black!25,dotted] (3.20,0)--(3.20,3.60) node[above,font=\scriptsize,black!70]{entropy}; \node[below] at (3.20,0) {$2$}; \draw[black!25,dotted] (9.60,0)--(9.60,3.60) node[above,font=\scriptsize,black!70]{spin chain}; \node[below] at (9.60,0) {$4$}; \node[below] at (6.40,0) {$3$}; \node[left] at (0,0.60) {$0.99$}; \node[left] at (0,1.80) {$1.00$}; \node[left] at (0,3.00) {$1.01$}; \draw[cgold,line width=1.1pt] (0.00,0.82)--(0.16,0.88)--(0.32,0.93)--(0.48,0.99)--(0.64,1.04)--(0.80,1.09)--(0.96,1.14)--(1.12,1.19)--(1.28,1.24)--(1.44,1.29)--(1.60,1.34)--(1.76,1.39)--(1.92,1.44)--(2.08,1.49)--(2.24,1.53)--(2.40,1.58)--(2.56,1.63)--(2.72,1.67)--(2.88,1.71)--(3.04,1.76)--(3.20,1.80)--(3.36,1.84)--(3.52,1.88)--(3.68,1.92)--(3.84,1.96)--(4.00,2.00)--(4.16,2.04)--(4.32,2.08)--(4.48,2.11)--(4.64,2.15)--(4.80,2.19)--(4.96,2.22)--(5.12,2.25)--(5.28,2.29)--(5.44,2.32)--(5.60,2.35)--(5.76,2.38)--(5.92,2.41)--(6.08,2.44)--(6.24,2.47)--(6.40,2.50)--(6.56,2.53)--(6.72,2.55)--(6.88,2.58)--(7.04,2.60)--(7.20,2.63)--(7.36,2.65)--(7.52,2.67)--(7.68,2.69)--(7.84,2.71)--(8.00,2.73)--(8.16,2.75)--(8.32,2.77)--(8.48,2.79)--(8.64,2.80)--(8.80,2.82)--(8.96,2.83)--(9.12,2.85)--(9.28,2.86)--(9.44,2.87)--(9.60,2.89) node[right,font=\scriptsize]{$N=12$}; \draw[cblue,line width=1.1pt] (0.00,1.42)--(0.16,1.44)--(0.32,1.46)--(0.48,1.48)--(0.64,1.50)--(0.80,1.52)--(0.96,1.54)--(1.12,1.56)--(1.28,1.57)--(1.44,1.59)--(1.60,1.61)--(1.76,1.63)--(1.92,1.65)--(2.08,1.67)--(2.24,1.69)--(2.40,1.71)--(2.56,1.72)--(2.72,1.74)--(2.88,1.76)--(3.04,1.78)--(3.20,1.80)--(3.36,1.82)--(3.52,1.84)--(3.68,1.86)--(3.84,1.88)--(4.00,1.89)--(4.16,1.91)--(4.32,1.93)--(4.48,1.95)--(4.64,1.97)--(4.80,1.99)--(4.96,2.01)--(5.12,2.03)--(5.28,2.05)--(5.44,2.06)--(5.60,2.08)--(5.76,2.10)--(5.92,2.12)--(6.08,2.14)--(6.24,2.16)--(6.40,2.18)--(6.56,2.20)--(6.72,2.22)--(6.88,2.23)--(7.04,2.25)--(7.20,2.27)--(7.36,2.29)--(7.52,2.31)--(7.68,2.33)--(7.84,2.35)--(8.00,2.37)--(8.16,2.39)--(8.32,2.40)--(8.48,2.42)--(8.64,2.44)--(8.80,2.46)--(8.96,2.48)--(9.12,2.50)--(9.28,2.52)--(9.44,2.54)--(9.60,2.56) node[right,font=\scriptsize]{$N=14$}; \end{tikzpicture} \caption{The spurious local minima of the energies $E_p$ at $N=12$, in gold, and at $N=14$, in blue, followed from $p=1$ to $p=4$, with the value $R=E_p/c_p$ normalized by its value at $p=2$, which is $50.7670$ at $N=12$, and $1.6596$ at $N=14$. These are nondegenerate local minima at all the sampled values $p\in[1,4]$, with step $0.01$, corresponding at $p=1$ to the spurious maximizers of the $1$-norm, and at $p=4$ to spurious local minima of the energy $\Phi$ of the spin chain.}\label{fig:pnorm} \end{figure} Let us discuss now the analogues of these questions on the whole unit circle. Given $h\in\mathbb T^N$, consider the polynomial $P(z)=\sum_th_tz^t$, so that the eigenvalues of the circulant matrix $H$ are $\lambda_k=P(w^k)$. The circulant Hadamard condition is $|P|=\sqrt N$ at the $N$-th roots of unity, and since the mean of $|P|^2$ on the unit circle is $N$, a natural continuous analogue is the flatness of $P$, in the sense that $\delta\sqrt N\leq|P(z)|\leq\Delta\sqrt N$ on the unit circle, for some constants $\Delta>\delta>0$, or its ultraflatness, $|P(z)|=(1+o(1))\sqrt N$ uniformly, with $N\to\infty$. For unimodular coefficients, ultraflat polynomials exist, by a famous result of Kahane \cite{kah}, made effective by Bombieri and Bourgain \cite{bbo}, and for sign coefficients, the existence of flat polynomials was conjectured by Erd\H os and Littlewood \cite{lit}, and proved by Balister, Bollob\'as, Morris, Sahasrabudhe and Tiba \cite{bbm}. The chirps behave as follows: \begin{prop}\label{prop:flatchirp} For $N$ even, the polynomial $P(z)=\sum_te^{\pi it^2/N}z^t$ satisfies $|P(w^k)|=\sqrt N$ for any $k$, and $P(e^{\pi i/N})=0$. Thus, the chirps are flat at the $N$-th roots of unity, but not on the whole unit circle. \end{prop} \begin{proof} The first assertion is Proposition \ref{prop:chirp}. For the second one, we have $P(e^{\pi i/N})=\sum_te^{\pi it(t+1)/N}$, and since $(N-1-t)(N-t)=t(t+1)+N(N-1-2t)$, the terms indexed by $t$ and $N-1-t$ differ by a factor $e^{\pi i(N-1-2t)}=-1$, because $N$ is even. Also, $t\neq N-1-t$, because $N-1$ is odd, so these terms cancel in pairs, and the sum is $0$. \end{proof} The program {\tt flat.py} computes $|P|/\sqrt N$ on a fine grid, and finds that its maximum stays below $1.36$ for the chirps of order $N\leq1024$, as illustrated in Figure \ref{fig:flat}. In the sign case, the relevant quantity is the merit factor of Golay \cite{gol}, given by $F=N^2/(2\sum_{k\geq1}C_k^2)$, with $C_k$ being the aperiodic autocorrelations, as in section \ref{sec:real}. The Parseval formula gives $\int|P|^4=N^2+2\sum_{k\geq1}C_k^2$, with respect to the normalized measure on the unit circle, while at the $N$-th roots of unity, Proposition \ref{prop:auto} gives $\frac{1}{N}\sum_k|P(w^k)|^4=N^2+E(s)$, so the merit factor is the aperiodic analogue of the sidelobe energy $E(s)$, and of the energy $\Phi=8E_4$. \begin{figure}[H] \centering \begin{tikzpicture}[font=\small,x=1cm,y=1cm] \draw[black!40,->] (0,0)--(10.4,0) node[right]{$\theta$}; \draw[black!40,->] (0,0)--(0,3.30); \draw[black!40,dashed] (0,2.20)--(10,2.20); \node[left] at (0,1.10) {$0.5$}; \node[left] at (0,2.20) {$1.0$}; \node[left] at (0,3.30) {$1.5$}; \node[below] at (0,0) {$0$}; \node[below] at (10,0) {$2\pi$}; \draw[cblue,line width=0.7pt] (0.000,2.200)--(0.010,2.218)--(0.020,2.219)--(0.029,2.202)--(0.039,2.168)--(0.049,2.116)--(0.059,2.049)--(0.068,1.966)--(0.078,1.868)--(0.088,1.756)--(0.098,1.633)--(0.107,1.499)--(0.117,1.357)--(0.127,1.209)--(0.137,1.059)--(0.146,0.912)--(0.156,0.778)--(0.166,0.668)--(0.176,0.603)--(0.186,0.599)--(0.195,0.657)--(0.205,0.764)--(0.215,0.899)--(0.225,1.048)--(0.234,1.203)--(0.244,1.357)--(0.254,1.508)--(0.264,1.651)--(0.273,1.785)--(0.283,1.909)--(0.293,2.020)--(0.303,2.117)--(0.312,2.200)--(0.322,2.268)--(0.332,2.320)--(0.342,2.355)--(0.352,2.375)--(0.361,2.378)--(0.371,2.365)--(0.381,2.336)--(0.391,2.291)--(0.400,2.233)--(0.410,2.161)--(0.420,2.077)--(0.430,1.983)--(0.439,1.880)--(0.449,1.771)--(0.459,1.659)--(0.469,1.548)--(0.479,1.442)--(0.488,1.347)--(0.498,1.269)--(0.508,1.214)--(0.518,1.188)--(0.527,1.193)--(0.537,1.231)--(0.547,1.297)--(0.557,1.386)--(0.566,1.492)--(0.576,1.608)--(0.586,1.730)--(0.596,1.854)--(0.605,1.975)--(0.615,2.091)--(0.625,2.200)--(0.635,2.300)--(0.645,2.389)--(0.654,2.466)--(0.664,2.530)--(0.674,2.581)--(0.684,2.618)--(0.693,2.640)--(0.703,2.648)--(0.713,2.641)--(0.723,2.621)--(0.732,2.588)--(0.742,2.543)--(0.752,2.486)--(0.762,2.419)--(0.771,2.345)--(0.781,2.264)--(0.791,2.179)--(0.801,2.094)--(0.811,2.010)--(0.820,1.932)--(0.830,1.862)--(0.840,1.806)--(0.850,1.765)--(0.859,1.743)--(0.869,1.741)--(0.879,1.761)--(0.889,1.800)--(0.898,1.857)--(0.908,1.929)--(0.918,2.013)--(0.928,2.104)--(0.938,2.200)--(0.947,2.297)--(0.957,2.394)--(0.967,2.486)--(0.977,2.573)--(0.986,2.652)--(0.996,2.723)--(1.006,2.783)--(1.016,2.833)--(1.025,2.871)--(1.035,2.897)--(1.045,2.911)--(1.055,2.912)--(1.064,2.902)--(1.074,2.881)--(1.084,2.848)--(1.094,2.806)--(1.104,2.755)--(1.113,2.696)--(1.123,2.631)--(1.133,2.563)--(1.143,2.492)--(1.152,2.421)--(1.162,2.353)--(1.172,2.290)--(1.182,2.235)--(1.191,2.189)--(1.201,2.155)--(1.211,2.135)--(1.221,2.130)--(1.230,2.139)--(1.240,2.163)--(1.250,2.200)--(1.260,2.249)--(1.270,2.307)--(1.279,2.372)--(1.289,2.441)--(1.299,2.513)--(1.309,2.585)--(1.318,2.655)--(1.328,2.721)--(1.338,2.782)--(1.348,2.837)--(1.357,2.884)--(1.367,2.922)--(1.377,2.951)--(1.387,2.970)--(1.396,2.979)--(1.406,2.978)--(1.416,2.967)--(1.426,2.947)--(1.436,2.917)--(1.445,2.879)--(1.455,2.833)--(1.465,2.781)--(1.475,2.723)--(1.484,2.660)--(1.494,2.595)--(1.504,2.528)--(1.514,2.462)--(1.523,2.398)--(1.533,2.338)--(1.543,2.284)--(1.553,2.238)--(1.562,2.200)--(1.572,2.172)--(1.582,2.156)--(1.592,2.150)--(1.602,2.155)--(1.611,2.170)--(1.621,2.194)--(1.631,2.227)--(1.641,2.265)--(1.650,2.308)--(1.660,2.353)--(1.670,2.399)--(1.680,2.445)--(1.689,2.490)--(1.699,2.530)--(1.709,2.567)--(1.719,2.598)--(1.729,2.623)--(1.738,2.642)--(1.748,2.654)--(1.758,2.658)--(1.768,2.654)--(1.777,2.643)--(1.787,2.625)--(1.797,2.599)--(1.807,2.567)--(1.816,2.528)--(1.826,2.483)--(1.836,2.434)--(1.846,2.379)--(1.855,2.322)--(1.865,2.262)--(1.875,2.200)--(1.885,2.138)--(1.895,2.077)--(1.904,2.018)--(1.914,1.962)--(1.924,1.910)--(1.934,1.864)--(1.943,1.825)--(1.953,1.793)--(1.963,1.769)--(1.973,1.753)--(1.982,1.746)--(1.992,1.747)--(2.002,1.756)--(2.012,1.772)--(2.021,1.794)--(2.031,1.820)--(2.041,1.851)--(2.051,1.884)--(2.061,1.919)--(2.070,1.955)--(2.080,1.991)--(2.090,2.025)--(2.100,2.058)--(2.109,2.089)--(2.119,2.116)--(2.129,2.140)--(2.139,2.161)--(2.148,2.177)--(2.158,2.189)--(2.168,2.197)--(2.178,2.201)--(2.188,2.200)--(2.197,2.195)--(2.207,2.186)--(2.217,2.172)--(2.227,2.155)--(2.236,2.134)--(2.246,2.111)--(2.256,2.084)--(2.266,2.056)--(2.275,2.026)--(2.285,1.994)--(2.295,1.963)--(2.305,1.931)--(2.314,1.901)--(2.324,1.873)--(2.334,1.847)--(2.344,1.825)--(2.354,1.808)--(2.363,1.795)--(2.373,1.788)--(2.383,1.787)--(2.393,1.793)--(2.402,1.805)--(2.412,1.824)--(2.422,1.849)--(2.432,1.880)--(2.441,1.916)--(2.451,1.957)--(2.461,2.001)--(2.471,2.049)--(2.480,2.098)--(2.490,2.149)--(2.500,2.200)--(2.510,2.251)--(2.520,2.300)--(2.529,2.348)--(2.539,2.393)--(2.549,2.434)--(2.559,2.472)--(2.568,2.506)--(2.578,2.536)--(2.588,2.561)--(2.598,2.580)--(2.607,2.595)--(2.617,2.604)--(2.627,2.608)--(2.637,2.607)--(2.646,2.601)--(2.656,2.590)--(2.666,2.574)--(2.676,2.555)--(2.686,2.532)--(2.695,2.506)--(2.705,2.477)--(2.715,2.447)--(2.725,2.416)--(2.734,2.384)--(2.744,2.352)--(2.754,2.322)--(2.764,2.293)--(2.773,2.267)--(2.783,2.244)--(2.793,2.225)--(2.803,2.210)--(2.812,2.200)--(2.822,2.194)--(2.832,2.193)--(2.842,2.197)--(2.852,2.205)--(2.861,2.217)--(2.871,2.232)--(2.881,2.250)--(2.891,2.271)--(2.900,2.293)--(2.910,2.315)--(2.920,2.338)--(2.930,2.361)--(2.939,2.382)--(2.949,2.402)--(2.959,2.419)--(2.969,2.434)--(2.979,2.446)--(2.988,2.454)--(2.998,2.459)--(3.008,2.461)--(3.018,2.458)--(3.027,2.451)--(3.037,2.441)--(3.047,2.427)--(3.057,2.409)--(3.066,2.387)--(3.076,2.363)--(3.086,2.335)--(3.096,2.304)--(3.105,2.272)--(3.115,2.237)--(3.125,2.200)--(3.135,2.162)--(3.145,2.124)--(3.154,2.085)--(3.164,2.046)--(3.174,2.008)--(3.184,1.971)--(3.193,1.936)--(3.203,1.903)--(3.213,1.872)--(3.223,1.844)--(3.232,1.820)--(3.242,1.800)--(3.252,1.784)--(3.262,1.772)--(3.271,1.764)--(3.281,1.762)--(3.291,1.764)--(3.301,1.770)--(3.311,1.782)--(3.320,1.797)--(3.330,1.817)--(3.340,1.841)--(3.350,1.868)--(3.359,1.899)--(3.369,1.932)--(3.379,1.967)--(3.389,2.004)--(3.398,2.042)--(3.408,2.082)--(3.418,2.121)--(3.428,2.161)--(3.438,2.200)--(3.447,2.238)--(3.457,2.275)--(3.467,2.310)--(3.477,2.344)--(3.486,2.375)--(3.496,2.403)--(3.506,2.428)--(3.516,2.451)--(3.525,2.470)--(3.535,2.486)--(3.545,2.498)--(3.555,2.507)--(3.564,2.512)--(3.574,2.513)--(3.584,2.511)--(3.594,2.506)--(3.604,2.497)--(3.613,2.486)--(3.623,2.472)--(3.633,2.455)--(3.643,2.436)--(3.652,2.415)--(3.662,2.393)--(3.672,2.370)--(3.682,2.347)--(3.691,2.323)--(3.701,2.299)--(3.711,2.277)--(3.721,2.255)--(3.730,2.235)--(3.740,2.216)--(3.750,2.200)--(3.760,2.186)--(3.770,2.174)--(3.779,2.165)--(3.789,2.158)--(3.799,2.154)--(3.809,2.152)--(3.818,2.153)--(3.828,2.155)--(3.838,2.159)--(3.848,2.164)--(3.857,2.171)--(3.867,2.178)--(3.877,2.186)--(3.887,2.194)--(3.896,2.202)--(3.906,2.209)--(3.916,2.216)--(3.926,2.223)--(3.936,2.228)--(3.945,2.232)--(3.955,2.236)--(3.965,2.238)--(3.975,2.239)--(3.984,2.238)--(3.994,2.237)--(4.004,2.234)--(4.014,2.231)--(4.023,2.226)--(4.033,2.221)--(4.043,2.214)--(4.053,2.208)--(4.062,2.200)--(4.072,2.192)--(4.082,2.184)--(4.092,2.175)--(4.102,2.166)--(4.111,2.157)--(4.121,2.148)--(4.131,2.139)--(4.141,2.130)--(4.150,2.121)--(4.160,2.112)--(4.170,2.104)--(4.180,2.096)--(4.189,2.089)--(4.199,2.082)--(4.209,2.076)--(4.219,2.071)--(4.229,2.067)--(4.238,2.064)--(4.248,2.062)--(4.258,2.062)--(4.268,2.063)--(4.277,2.066)--(4.287,2.071)--(4.297,2.078)--(4.307,2.087)--(4.316,2.098)--(4.326,2.110)--(4.336,2.125)--(4.346,2.141)--(4.355,2.159)--(4.365,2.179)--(4.375,2.200)--(4.385,2.222)--(4.395,2.245)--(4.404,2.268)--(4.414,2.291)--(4.424,2.314)--(4.434,2.337)--(4.443,2.359)--(4.453,2.379)--(4.463,2.398)--(4.473,2.416)--(4.482,2.431)--(4.492,2.445)--(4.502,2.456)--(4.512,2.464)--(4.521,2.470)--(4.531,2.473)--(4.541,2.473)--(4.551,2.470)--(4.561,2.464)--(4.570,2.456)--(4.580,2.445)--(4.590,2.431)--(4.600,2.415)--(4.609,2.397)--(4.619,2.377)--(4.629,2.355)--(4.639,2.331)--(4.648,2.306)--(4.658,2.280)--(4.668,2.254)--(4.678,2.227)--(4.688,2.200)--(4.697,2.173)--(4.707,2.147)--(4.717,2.121)--(4.727,2.096)--(4.736,2.073)--(4.746,2.051)--(4.756,2.030)--(4.766,2.011)--(4.775,1.994)--(4.785,1.979)--(4.795,1.967)--(4.805,1.956)--(4.814,1.948)--(4.824,1.942)--(4.834,1.939)--(4.844,1.937)--(4.854,1.939)--(4.863,1.942)--(4.873,1.948)--(4.883,1.956)--(4.893,1.967)--(4.902,1.979)--(4.912,1.994)--(4.922,2.011)--(4.932,2.030)--(4.941,2.051)--(4.951,2.073)--(4.961,2.096)--(4.971,2.121)--(4.980,2.147)--(4.990,2.173)--(5.000,2.200)--(5.010,2.227)--(5.020,2.254)--(5.029,2.280)--(5.039,2.306)--(5.049,2.331)--(5.059,2.355)--(5.068,2.377)--(5.078,2.397)--(5.088,2.415)--(5.098,2.431)--(5.107,2.445)--(5.117,2.456)--(5.127,2.464)--(5.137,2.470)--(5.146,2.473)--(5.156,2.473)--(5.166,2.470)--(5.176,2.464)--(5.186,2.456)--(5.195,2.445)--(5.205,2.431)--(5.215,2.416)--(5.225,2.398)--(5.234,2.379)--(5.244,2.359)--(5.254,2.337)--(5.264,2.314)--(5.273,2.291)--(5.283,2.268)--(5.293,2.245)--(5.303,2.222)--(5.312,2.200)--(5.322,2.179)--(5.332,2.159)--(5.342,2.141)--(5.352,2.125)--(5.361,2.110)--(5.371,2.098)--(5.381,2.087)--(5.391,2.078)--(5.400,2.071)--(5.410,2.066)--(5.420,2.063)--(5.430,2.062)--(5.439,2.062)--(5.449,2.064)--(5.459,2.067)--(5.469,2.071)--(5.479,2.076)--(5.488,2.082)--(5.498,2.089)--(5.508,2.096)--(5.518,2.104)--(5.527,2.112)--(5.537,2.121)--(5.547,2.130)--(5.557,2.139)--(5.566,2.148)--(5.576,2.157)--(5.586,2.166)--(5.596,2.175)--(5.605,2.184)--(5.615,2.192)--(5.625,2.200)--(5.635,2.208)--(5.645,2.214)--(5.654,2.221)--(5.664,2.226)--(5.674,2.231)--(5.684,2.234)--(5.693,2.237)--(5.703,2.238)--(5.713,2.239)--(5.723,2.238)--(5.732,2.236)--(5.742,2.232)--(5.752,2.228)--(5.762,2.223)--(5.771,2.216)--(5.781,2.209)--(5.791,2.202)--(5.801,2.194)--(5.811,2.186)--(5.820,2.178)--(5.830,2.171)--(5.840,2.164)--(5.850,2.159)--(5.859,2.155)--(5.869,2.153)--(5.879,2.152)--(5.889,2.154)--(5.898,2.158)--(5.908,2.165)--(5.918,2.174)--(5.928,2.186)--(5.938,2.200)--(5.947,2.216)--(5.957,2.235)--(5.967,2.255)--(5.977,2.277)--(5.986,2.299)--(5.996,2.323)--(6.006,2.347)--(6.016,2.370)--(6.025,2.393)--(6.035,2.415)--(6.045,2.436)--(6.055,2.455)--(6.064,2.472)--(6.074,2.486)--(6.084,2.497)--(6.094,2.506)--(6.104,2.511)--(6.113,2.513)--(6.123,2.512)--(6.133,2.507)--(6.143,2.498)--(6.152,2.486)--(6.162,2.470)--(6.172,2.451)--(6.182,2.428)--(6.191,2.403)--(6.201,2.375)--(6.211,2.344)--(6.221,2.310)--(6.230,2.275)--(6.240,2.238)--(6.250,2.200)--(6.260,2.161)--(6.270,2.121)--(6.279,2.082)--(6.289,2.042)--(6.299,2.004)--(6.309,1.967)--(6.318,1.932)--(6.328,1.899)--(6.338,1.868)--(6.348,1.841)--(6.357,1.817)--(6.367,1.797)--(6.377,1.782)--(6.387,1.770)--(6.396,1.764)--(6.406,1.762)--(6.416,1.764)--(6.426,1.772)--(6.436,1.784)--(6.445,1.800)--(6.455,1.820)--(6.465,1.844)--(6.475,1.872)--(6.484,1.903)--(6.494,1.936)--(6.504,1.971)--(6.514,2.008)--(6.523,2.046)--(6.533,2.085)--(6.543,2.124)--(6.553,2.162)--(6.562,2.200)--(6.572,2.237)--(6.582,2.272)--(6.592,2.304)--(6.602,2.335)--(6.611,2.363)--(6.621,2.387)--(6.631,2.409)--(6.641,2.427)--(6.650,2.441)--(6.660,2.451)--(6.670,2.458)--(6.680,2.461)--(6.689,2.459)--(6.699,2.454)--(6.709,2.446)--(6.719,2.434)--(6.729,2.419)--(6.738,2.402)--(6.748,2.382)--(6.758,2.361)--(6.768,2.338)--(6.777,2.315)--(6.787,2.293)--(6.797,2.271)--(6.807,2.250)--(6.816,2.232)--(6.826,2.217)--(6.836,2.205)--(6.846,2.197)--(6.855,2.193)--(6.865,2.194)--(6.875,2.200)--(6.885,2.210)--(6.895,2.225)--(6.904,2.244)--(6.914,2.267)--(6.924,2.293)--(6.934,2.322)--(6.943,2.352)--(6.953,2.384)--(6.963,2.416)--(6.973,2.447)--(6.982,2.477)--(6.992,2.506)--(7.002,2.532)--(7.012,2.555)--(7.021,2.574)--(7.031,2.590)--(7.041,2.601)--(7.051,2.607)--(7.061,2.608)--(7.070,2.604)--(7.080,2.595)--(7.090,2.580)--(7.100,2.561)--(7.109,2.536)--(7.119,2.506)--(7.129,2.472)--(7.139,2.434)--(7.148,2.393)--(7.158,2.348)--(7.168,2.300)--(7.178,2.251)--(7.188,2.200)--(7.197,2.149)--(7.207,2.098)--(7.217,2.049)--(7.227,2.001)--(7.236,1.957)--(7.246,1.916)--(7.256,1.880)--(7.266,1.849)--(7.275,1.824)--(7.285,1.805)--(7.295,1.793)--(7.305,1.787)--(7.314,1.788)--(7.324,1.795)--(7.334,1.808)--(7.344,1.825)--(7.354,1.847)--(7.363,1.873)--(7.373,1.901)--(7.383,1.931)--(7.393,1.963)--(7.402,1.994)--(7.412,2.026)--(7.422,2.056)--(7.432,2.084)--(7.441,2.111)--(7.451,2.134)--(7.461,2.155)--(7.471,2.172)--(7.480,2.186)--(7.490,2.195)--(7.500,2.200)--(7.510,2.201)--(7.520,2.197)--(7.529,2.189)--(7.539,2.177)--(7.549,2.161)--(7.559,2.140)--(7.568,2.116)--(7.578,2.089)--(7.588,2.058)--(7.598,2.025)--(7.607,1.991)--(7.617,1.955)--(7.627,1.919)--(7.637,1.884)--(7.646,1.851)--(7.656,1.820)--(7.666,1.794)--(7.676,1.772)--(7.686,1.756)--(7.695,1.747)--(7.705,1.746)--(7.715,1.753)--(7.725,1.769)--(7.734,1.793)--(7.744,1.825)--(7.754,1.864)--(7.764,1.910)--(7.773,1.962)--(7.783,2.018)--(7.793,2.077)--(7.803,2.138)--(7.812,2.200)--(7.822,2.262)--(7.832,2.322)--(7.842,2.379)--(7.852,2.434)--(7.861,2.483)--(7.871,2.528)--(7.881,2.567)--(7.891,2.599)--(7.900,2.625)--(7.910,2.643)--(7.920,2.654)--(7.930,2.658)--(7.939,2.654)--(7.949,2.642)--(7.959,2.623)--(7.969,2.598)--(7.979,2.567)--(7.988,2.530)--(7.998,2.490)--(8.008,2.445)--(8.018,2.399)--(8.027,2.353)--(8.037,2.308)--(8.047,2.265)--(8.057,2.227)--(8.066,2.194)--(8.076,2.170)--(8.086,2.155)--(8.096,2.150)--(8.105,2.156)--(8.115,2.172)--(8.125,2.200)--(8.135,2.238)--(8.145,2.284)--(8.154,2.338)--(8.164,2.398)--(8.174,2.462)--(8.184,2.528)--(8.193,2.595)--(8.203,2.660)--(8.213,2.723)--(8.223,2.781)--(8.232,2.833)--(8.242,2.879)--(8.252,2.917)--(8.262,2.947)--(8.271,2.967)--(8.281,2.978)--(8.291,2.979)--(8.301,2.970)--(8.311,2.951)--(8.320,2.922)--(8.330,2.884)--(8.340,2.837)--(8.350,2.782)--(8.359,2.721)--(8.369,2.655)--(8.379,2.585)--(8.389,2.513)--(8.398,2.441)--(8.408,2.372)--(8.418,2.307)--(8.428,2.249)--(8.438,2.200)--(8.447,2.163)--(8.457,2.139)--(8.467,2.130)--(8.477,2.135)--(8.486,2.155)--(8.496,2.189)--(8.506,2.235)--(8.516,2.290)--(8.525,2.353)--(8.535,2.421)--(8.545,2.492)--(8.555,2.563)--(8.564,2.631)--(8.574,2.696)--(8.584,2.755)--(8.594,2.806)--(8.604,2.848)--(8.613,2.881)--(8.623,2.902)--(8.633,2.912)--(8.643,2.911)--(8.652,2.897)--(8.662,2.871)--(8.672,2.833)--(8.682,2.783)--(8.691,2.723)--(8.701,2.652)--(8.711,2.573)--(8.721,2.486)--(8.730,2.394)--(8.740,2.297)--(8.750,2.200)--(8.760,2.104)--(8.770,2.013)--(8.779,1.929)--(8.789,1.857)--(8.799,1.800)--(8.809,1.761)--(8.818,1.741)--(8.828,1.743)--(8.838,1.765)--(8.848,1.806)--(8.857,1.862)--(8.867,1.932)--(8.877,2.010)--(8.887,2.094)--(8.896,2.179)--(8.906,2.264)--(8.916,2.345)--(8.926,2.419)--(8.936,2.486)--(8.945,2.543)--(8.955,2.588)--(8.965,2.621)--(8.975,2.641)--(8.984,2.648)--(8.994,2.640)--(9.004,2.618)--(9.014,2.581)--(9.023,2.530)--(9.033,2.466)--(9.043,2.389)--(9.053,2.300)--(9.062,2.200)--(9.072,2.091)--(9.082,1.975)--(9.092,1.854)--(9.102,1.730)--(9.111,1.608)--(9.121,1.492)--(9.131,1.386)--(9.141,1.297)--(9.150,1.231)--(9.160,1.193)--(9.170,1.188)--(9.180,1.214)--(9.189,1.269)--(9.199,1.347)--(9.209,1.442)--(9.219,1.548)--(9.229,1.659)--(9.238,1.771)--(9.248,1.880)--(9.258,1.983)--(9.268,2.077)--(9.277,2.161)--(9.287,2.233)--(9.297,2.291)--(9.307,2.336)--(9.316,2.365)--(9.326,2.378)--(9.336,2.375)--(9.346,2.355)--(9.355,2.320)--(9.365,2.268)--(9.375,2.200)--(9.385,2.117)--(9.395,2.020)--(9.404,1.909)--(9.414,1.785)--(9.424,1.651)--(9.434,1.508)--(9.443,1.357)--(9.453,1.203)--(9.463,1.048)--(9.473,0.899)--(9.482,0.764)--(9.492,0.657)--(9.502,0.599)--(9.512,0.603)--(9.521,0.668)--(9.531,0.778)--(9.541,0.912)--(9.551,1.059)--(9.561,1.209)--(9.570,1.357)--(9.580,1.499)--(9.590,1.633)--(9.600,1.756)--(9.609,1.868)--(9.619,1.966)--(9.629,2.049)--(9.639,2.116)--(9.648,2.168)--(9.658,2.202)--(9.668,2.219)--(9.678,2.218)--(9.688,2.200)--(9.697,2.164)--(9.707,2.111)--(9.717,2.041)--(9.727,1.955)--(9.736,1.853)--(9.746,1.736)--(9.756,1.605)--(9.766,1.461)--(9.775,1.305)--(9.785,1.139)--(9.795,0.964)--(9.805,0.780)--(9.814,0.591)--(9.824,0.397)--(9.834,0.199)--(9.844,0.000)--(9.854,0.199)--(9.863,0.397)--(9.873,0.591)--(9.883,0.780)--(9.893,0.964)--(9.902,1.139)--(9.912,1.305)--(9.922,1.461)--(9.932,1.605)--(9.941,1.736)--(9.951,1.853)--(9.961,1.955)--(9.971,2.041)--(9.980,2.111)--(9.990,2.164)--(10.000,2.200); \fill[cgold] (0.000,2.200) circle[radius=1.5pt]; \fill[cgold] (0.312,2.200) circle[radius=1.5pt]; \fill[cgold] (0.625,2.200) circle[radius=1.5pt]; \fill[cgold] (0.938,2.200) circle[radius=1.5pt]; \fill[cgold] (1.250,2.200) circle[radius=1.5pt]; \fill[cgold] (1.562,2.200) circle[radius=1.5pt]; \fill[cgold] (1.875,2.200) circle[radius=1.5pt]; \fill[cgold] (2.188,2.200) circle[radius=1.5pt]; \fill[cgold] (2.500,2.200) circle[radius=1.5pt]; \fill[cgold] (2.812,2.200) circle[radius=1.5pt]; \fill[cgold] (3.125,2.200) circle[radius=1.5pt]; \fill[cgold] (3.438,2.200) circle[radius=1.5pt]; \fill[cgold] (3.750,2.200) circle[radius=1.5pt]; \fill[cgold] (4.062,2.200) circle[radius=1.5pt]; \fill[cgold] (4.375,2.200) circle[radius=1.5pt]; \fill[cgold] (4.688,2.200) circle[radius=1.5pt]; \fill[cgold] (5.000,2.200) circle[radius=1.5pt]; \fill[cgold] (5.312,2.200) circle[radius=1.5pt]; \fill[cgold] (5.625,2.200) circle[radius=1.5pt]; \fill[cgold] (5.938,2.200) circle[radius=1.5pt]; \fill[cgold] (6.250,2.200) circle[radius=1.5pt]; \fill[cgold] (6.562,2.200) circle[radius=1.5pt]; \fill[cgold] (6.875,2.200) circle[radius=1.5pt]; \fill[cgold] (7.188,2.200) circle[radius=1.5pt]; \fill[cgold] (7.500,2.200) circle[radius=1.5pt]; \fill[cgold] (7.812,2.200) circle[radius=1.5pt]; \fill[cgold] (8.125,2.200) circle[radius=1.5pt]; \fill[cgold] (8.438,2.200) circle[radius=1.5pt]; \fill[cgold] (8.750,2.200) circle[radius=1.5pt]; \fill[cgold] (9.062,2.200) circle[radius=1.5pt]; \fill[cgold] (9.375,2.200) circle[radius=1.5pt]; \fill[cgold] (9.688,2.200) circle[radius=1.5pt]; \fill[cgold] (10.000,2.200) circle[radius=1.5pt]; \end{tikzpicture} \caption{The modulus $|P(e^{-i\theta})|/\sqrt N$ of the polynomial $P(z)=\sum_th_tz^t$ of the chirp $h_t=e^{\pi it^2/N}$, at $N=32$. It equals $1$ at the $N$-th roots of unity, in gold, stays below $1.36$ on the whole circle, and vanishes at a single point, between $2$ consecutive roots of unity.}\label{fig:flat} \end{figure} The best known asymptotic values of the merit factor are $6$, for the Legendre sequences rotated by a quarter of their length, by H{\o}holdt and Jensen \cite{hje}, and more than $6.34$, for other families \cite{jks}. For instance, the program {\tt flat.py} computes $F=5.9894$ for the rotated Legendre sequence of length $10007$. All these questions are of course related, the circulant complex Hadamard matrices being the common zeros of the $p$-energies $E_p$ on the torus $\mathbb T^N$, with $p=1$ corresponding to the $1$-norm, $p=2$ to the entropy, and $p=4$ to the spin chain from section \ref{sec:ground}, the flat polynomials being their continuous analogues, on the whole unit circle, and with the arithmetic coming from the roots of unity, in the Butson case, and in the real case. Regarding the spurious local minima of the $p$-energies, the individual minima can disappear, or become saddle points, as $p$ varies, as seen above at $N=15$, but their existence might not depend on $p$, and we have the following question: \begin{quest} Is the set of orders $N$ at which the $p$-energies $E_p$ have spurious local minima on $\mathbb T^N/\mathbb T$ independent of $p>0$? \end{quest} At $N\leq16$, the computations above are compatible with this, the spurious local minima found at $p=1,2,3,4$, by random search or by continuation, appearing exactly at $N=12,14,15,16$, the same orders as for the $1$-norm on the circulant unitaries. \begin{thebibliography}{99} \phantomsection\addcontentsline{toc}{section}{References} \bibitem{avr} L. Alp\"oge, P. Voinov and S. Reynolds-Haertle, Hadamard matrices of orders $668$, $716$, $892$, $1132$, $1244$, $1388$, $1436$, $1676$, $1772$, $1916$, $1948$, $1964$, \href{https://epoch.ai/frontiermath/open-problems/hadamard}{epoch.ai} (2026). \bibitem{amp} K.T. Arasu, M.T. Mohan, A. Pathak and R. Ramachandran Janaki, On the maximum of entropy for orthogonal matrices, \emph{Indian J. Pure Appl. Math.} \textbf{57} (2026), 970--1009. \bibitem{bac} J. Backelin, Square multiples $n$ give infinitely many cyclic $n$-roots (1989). \bibitem{bfr} J. Backelin and R. Fr\"oberg, How we proved that there are exactly $924$ cyclic $7$-roots, \emph{Proc. ISSAC} (1991), 103--111. \bibitem{bbm} P. Balister, B. Bollob\'as, R. Morris, J. Sahasrabudhe and M. Tiba, Flat Littlewood polynomials exist, \emph{Ann. of Math.} \textbf{192} (2020), 977--1004. \bibitem{bao} Banica and Opus, Spin model unification of Hadamard matrix invariants, {\hypersetup{allcolors=black}\href{https://zenodo.org/records/24642716}{zenodo:24642716}} (2026). \bibitem{bgh} L. Baumert, S.W. Golomb and M. Hall, Discovery of an Hadamard matrix of order $92$, \emph{Bull. Amer. Math. Soc.} \textbf{68} (1962), 237--238. \bibitem{bcr} J. Bochnak, M. Coste and M.F. Roy, Real algebraic geometry, Springer (1998). \bibitem{bbo} E. Bombieri and J. Bourgain, On Kahane's ultraflat polynomials, \emph{J. Eur. Math. Soc.} \textbf{11} (2009), 627--703. \bibitem{bmo} P. Borwein and M.J. Mossinghoff, Wieferich pairs and Barker sequences, II, \emph{LMS J. Comput. Math.} \textbf{17} (2014), 24--32. \bibitem{bnp} T. Banica and I. Nechita, Almost Hadamard matrices: the case of arbitrary exponents, \emph{Discrete Appl. Math.} \textbf{161} (2013), 2367--2379. \bibitem{bn3} T. Banica and I. Nechita, Almost Hadamard matrices with complex entries, \emph{Adv. Oper. Theory} \textbf{3} (2018), 137--177. \bibitem{bns} T. Banica, I. Nechita and J.M. Schlenker, Analytic aspects of the circulant Hadamard conjecture, \emph{Ann. Math. Blaise Pascal} \textbf{21} (2014), 25--59. \bibitem{bnz} T. Banica, I. Nechita and K. Zyczkowski, Almost Hadamard matrices: general theory and examples, \emph{Open Syst. Inf. Dyn.} \textbf{19} (2012), 1--26. \bibitem{bn1} D. Bisch and R. Nicoara, Invariants of subfactors associated to Petrescu's Hadamard matrices of order 7, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/2611.25638}{arXiv:2611.25638}} (2026). \bibitem{bn2} D. Bisch and R. Nicoara, Subfactor symmetries of real Hadamard matrices, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/2611.25616}{arXiv:2611.25616}} (2026). \bibitem{bjo} G. Bj\"orck, Functions of modulus $1$ on $\mathbb Z_n$ whose Fourier transforms have constant modulus, and cyclic $n$-roots, \emph{NATO Adv. Sci. Inst. Ser. C Math. Phys. Sci.} \textbf{315} (1990), 131--140. \bibitem{bjf} G. Bj\"orck and R. Fr\"oberg, A faster way to count the solutions of inhomogeneous systems of algebraic equations, with applications to cyclic $n$-roots, \emph{J. Symbolic Comput.} \textbf{12} (1991), 329--336. \bibitem{bf8} G. Bj\"orck and R. Fr\"oberg, Methods to divide out certain solutions from systems of algebraic equations, applied to find all cyclic $8$-roots, in ``Analysis, algebra and computers in mathematical research'', Dekker (1994), 57--70. \bibitem{bha} G. Bj\"orck and U. Haagerup, All cyclic $p$-roots of index $3$, found by symmetry-preserving calculations, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/0803.2506}{arXiv:0803.2506}} (2008). \bibitem{bsa} G. Bj\"orck and B. Saffari, New classes of finite unimodular sequences with unimodular Fourier transforms. Circulant Hadamard matrices with complex entries, \emph{C. R. Acad. Sci. Paris S\'er. I Math.} \textbf{320} (1995), 319--324. \bibitem{but} A.T. Butson, Generalized Hadamard matrices, \emph{Proc. Amer. Math. Soc.} \textbf{13} (1962), 894--898. \bibitem{cgo} A. Chan and C. Godsil, Type-II matrices and combinatorial structures, \emph{Combinatorica} \textbf{30} (2010), 1--24. \bibitem{chu} D.C. Chu, Polyphase codes with good periodic correlation properties, \emph{IEEE Trans. Inform. Theory} \textbf{18} (1972), 531--532. \bibitem{cft} Claude F and Teo B, Arithmetic aspects of complex Hadamard matrices, {\hypersetup{allcolors=black}\href{https://zenodo.org/records/24572638}{zenodo:24572638}} (2026). \bibitem{cre} N. Cressie and T.R.C. Read, Multinomial goodness-of-fit tests, \emph{J. Roy. Statist. Soc. Ser. B} \textbf{46} (1984), 440--464. \bibitem{djo} D.Z. Djokovic, Williamson matrices of order $4n$ for $n=33,35,39$, \emph{Discrete Math.} \textbf{115} (1993), 267--271. \bibitem{dsc} T.D. Duc and B. Schmidt, Bilinear forms on finite abelian groups and group-invariant Butson Hadamard matrices, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/1903.07310}{arXiv:1903.07310}} (2019). \bibitem{ekl} R. Egan, I.S. Kotsireas, S. London and P. \'O Cath\'ain, Recent progress in the construction of Hadamard matrices, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/2610.27175}{arXiv:2610.27175}} (2026). \bibitem{fte} Fable and Teo, A thermodynamic promenade through design theory, {\hypersetup{allcolors=black}\href{https://zenodo.org/records/24613338}{zenodo:24613338}} (2026). \bibitem{fau} J.C. Faug\`ere, Finding all the solutions of Cyclic 9 using Gr\"obner basis techniques, \emph{Lecture Notes Ser. Comput.} \textbf{9} (2001), 1--12. \bibitem{fzh} R.L. Frank, S.A. Zadoff and R. Heimiller, Phase shift pulse codes with good periodic correlation properties, \emph{IRE Trans. Inform. Theory} \textbf{8} (1962), 381--382. \bibitem{fr} H. F\"uhr and Z. Rzeszotnik, On biunimodular vectors for unitary matrices, \emph{Linear Algebra Appl.} \textbf{484} (2015), 86--129. \bibitem{gsh} E.M. Gabidulin and V.V. Shorin, New sequences with zero autocorrelation, \emph{Problems Inform. Transmission} \textbf{38} (2002), 255--267. \bibitem{gsa} R.W. Gerchberg and W.O. Saxton, A practical algorithm for the determination of phase from image and diffraction plane pictures, \emph{Optik} \textbf{35} (1972), 237--246. \bibitem{gse} J.M. Goethals and J.J. Seidel, A skew Hadamard matrix of order $36$, \emph{J. Austral. Math. Soc.} \textbf{11} (1970), 343--344. \bibitem{gol} M.J.E. Golay, The merit factor of long low autocorrelation binary sequences, \emph{IEEE Trans. Inform. Theory} \textbf{28} (1982), 543--549. \bibitem{ha1} U. Haagerup, Orthogonal maximal abelian $*$-subalgebras of the $n\times n$ matrices and cyclic $n$-roots, in ``Operator algebras and quantum field theory'', International Press (1997), 296--323. \bibitem{ha2} U. Haagerup, Cyclic $p$-roots of prime lengths $p$ and related complex Hadamard matrices, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/0803.2629}{arXiv:0803.2629}} (2008). \bibitem{had} J. Hadamard, R\'esolution d'une question relative aux d\'eterminants, \emph{Bull. Sci. Math.} \textbf{17} (1893), 240--246. \bibitem{hjo} P. de la Harpe and V.F.R. Jones, Paires de sous-alg\`ebres semi-simples et graphes fortement r\'eguliers, \emph{C. R. Acad. Sci. Paris S\'er. I Math.} \textbf{311} (1990), 147--150. \bibitem{hsc} G. Hiranandani and J.M. Schlenker, Small circulant complex Hadamard matrices of Butson type, \emph{European J. Combin.} \textbf{51} (2016), 306--314. \bibitem{hje} T. H{\o}holdt and H.E. Jensen, Determination of the merit factor of Legendre sequences, \emph{IEEE Trans. Inform. Theory} \textbf{34} (1988), 161--164. \bibitem{hkt} W.H. Holzmann, H. Kharaghani and B. Tayfeh-Rezaie, Williamson matrices up to order $59$, \emph{Des. Codes Cryptogr.} \textbf{46} (2008), 343--352. \bibitem{jks} J. Jedwab, D.J. Katz and K.U. Schmidt, Advances in the merit factor problem for binary sequences, \emph{J. Combin. Theory Ser. A} \textbf{120} (2013), 882--906. \bibitem{jo1} V.F.R. Jones, On knot invariants related to some statistical mechanical models, \emph{Pacific J. Math.} \textbf{137} (1989), 311--334. \bibitem{jnr} M. Journ\'ee, Y. Nesterov, P. Richt\'arik and R. Sepulchre, Generalized power method for sparse principal component analysis, \emph{J. Mach. Learn. Res.} \textbf{11} (2010), 517--553. \bibitem{kah} J.P. Kahane, Sur les polyn\^omes \`a coefficients unimodulaires, \emph{Bull. London Math. Soc.} \textbf{12} (1980), 321--342. \bibitem{kta} H. Kharaghani and B. Tayfeh-Rezaie, A Hadamard matrix of order $428$, \emph{J. Combin. Des.} \textbf{13} (2005), 435--440. \bibitem{kpd} J.R. Klauder, A.C. Price, S. Darlington and W.J. Albersheim, The theory and design of chirp radars, \emph{Bell System Tech. J.} \textbf{39} (1960), 745--808. \bibitem{lsc} K.H. Leung and B. Schmidt, The field descent method, \emph{Des. Codes Cryptogr.} \textbf{36} (2005), 171--188. \bibitem{ls2} K.H. Leung and B. Schmidt, New restrictions on possible orders of circulant Hadamard matrices, \emph{Des. Codes Cryptogr.} \textbf{64} (2012). \bibitem{ls3} K.H. Leung and B. Schmidt, The anti-field-descent method (2016). \bibitem{lts} T.Y. Li and C.H. Tsai, HOM4PS-2.0para: parallelization of HOM4PS-2.0 for solving polynomial systems, \emph{Parallel Comput.} \textbf{35} (2009), 226--238. \bibitem{lit} J.E. Littlewood, On polynomials $\sum\pm z^m$, $\sum e^{\alpha_mi}z^m$, $z=e^{\theta i}$, \emph{J. London Math. Soc.} \textbf{41} (1966), 367--376. \bibitem{men} P.K. Menon, On difference sets whose parameters satisfy a certain relation, \emph{Proc. Amer. Math. Soc.} \textbf{13} (1962), 739--745. \bibitem{moh} M.T. Mohan, On some $p$-almost Hadamard matrices, \emph{Oper. Matrices} \textbf{13} (2019), 253--281. \bibitem{mo2} M.T. Mohan, $p$-almost Hadamard matrices and $\lambda$-planes, \emph{J. Algebraic Combin.} \textbf{55} (2022), 89--108. \bibitem{mwa} A. Munemasa and Y. Watatani, Paires orthogonales de sous-alg\`ebres involutives, \emph{C. R. Acad. Sci. Paris S\'er. I Math.} \textbf{314} (1992), 329--331. \bibitem{oai} OpenAI, The circulant Hadamard conjecture, \href{https://github.com/openai/math/blob/main/preprints/The-circulant-Hadamard-conjecture-September-23-2026/paper.pdf}{github} (2026). \bibitem{rys} H.J. Ryser, Combinatorial mathematics, Wiley (1963). \bibitem{rud} W. Rudin, Function theory in the unit ball of $\mathbb C^n$, Springer (1980). \bibitem{ssp} R.G. Stanton and D.A. Sprott, A family of difference sets, \emph{Canad. J. Math.} \textbf{10} (1958), 73--77. \bibitem{sab} R. Sabeti, Numerical-symbolic exact irreducible decomposition of cyclic-12, \emph{LMS J. Comput. Math.} \textbf{14} (2011), 155--172. \bibitem{saf} B. Saffari, Some polynomial extremal problems which emerged in the twentieth century, in ``Twentieth century harmonic analysis -- a celebration'', Kluwer (2001), 201--233. \bibitem{sc1} B. Schmidt, Cyclotomic integers and finite geometry, \emph{J. Amer. Math. Soc.} \textbf{12} (1999), 929--952. \bibitem{sc2} B. Schmidt, Characters and cyclotomic fields in finite geometry, Springer (2002). \bibitem{sle} P. Stevenhagen and H.W. Lenstra, Chebotar\"ev and his density theorem, \emph{Math. Intelligencer} \textbf{18} (1996), 26--37. \bibitem{szo} F. Sz\"oll\H{o}si, Construction, classification and parametrization of complex Hadamard matrices, PhD thesis, CEU Budapest (2011). \bibitem{shl} P. Stoica, H. He and J. Li, On designing sequences with impulse-like periodic correlation, \emph{IEEE Signal Process. Lett.} \textbf{16} (2009), 703--706. \bibitem{tao} T. Tao, An uncertainty principle for cyclic groups of prime order, \emph{Math. Res. Lett.} \textbf{12} (2005), 121--127. \bibitem{tzy} W. Tadej and K. Zyczkowski, Defect of a unitary matrix, \emph{Linear Algebra Appl.} \textbf{429} (2008), 447--481. \bibitem{swi} K.U. Schmidt and J. Willms, Barker sequences of odd length, \emph{Des. Codes Cryptogr.} \textbf{80} (2016), 409--414. \bibitem{tst} R. Turyn and J. Storer, On binary sequences, \emph{Proc. Amer. Math. Soc.} \textbf{12} (1961), 394--399. \bibitem{tur} R.J. Turyn, Character sums and difference sets, \emph{Pacific J. Math.} \textbf{15} (1965), 319--346. \bibitem{ver} J. Verschelde, Algorithm 795: PHCpack, a general-purpose solver for polynomial systems by homotopy continuation, \emph{ACM Trans. Math. Software} \textbf{25} (1999), 251--276. \bibitem{was} L.C. Washington, Introduction to cyclotomic fields, Springer (1997). \bibitem{wil} J. Williamson, Hadamard's determinant theorem and the sum of four squares, \emph{Duke Math. J.} \textbf{11} (1944), 65--81. \bibitem{yld} J. Yang, Y. Liu, Y. Li and X.H. Deng, No complete set of mutually unbiased bases in dimension ten contains the Fourier pair or three product bases, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/2611.21188}{arXiv:2611.21188}} (2026). \bibitem{zho} W. Zhou, Number of cyclic $n$-roots and disjointness of time-frequency supports, {\hypersetup{allcolors=black}\href{https://arxiv.org/pdf/2608.06335}{arXiv:2608.06335}} (2026). \end{thebibliography} \end{document}