Cover: Hadamard Matrices, Jennifer Seberry and Mieko Yamada

Hadamard Matrices

Constructions using Number Theory and Algebra

 

Jennifer Seberry

Emeritus Professor of Computer Science

University of Wollongong,

Wollongong, New South Wales, Australia

Mieko Yamada

Emeritus Professor of Kanazawa University

Kanazawa, Japan




No alt text required.

This book is dedicated to all those pioneering women mathematicians who now have got full access to Erdös book and know all the answers but have been forgotten in their own countries.

List of Tables

I.1 Weighing matrix and OD conjectures
1.1 Notations used in this chapter.
1.2 Williamson, Goethals–Seidel arrays and skew Hadamard matrices.
1.3 Balonin–Seberry array and symmetric Hadamard matrices.
1.4 Orthogonal designs.
2.1 Notations used in this chapter.
2.2 images
2.3 images
3.1 Notations used in this chapter.
3.2 (X, a, β, δ) of lengths m, m, m, m.
3.3 (a, β, δ) Sequences for X = {0, 1, . . ., r – 1}.
3.4 Existence of inequivalent Williamson matrices for small orders.
4.1 Notations used in this chapter.
4.2 Orthogonal designs.
4.3 The first known Welch array – the OD(20;5,5,5,5).
4.4 Ono–Sawade–Yamamoto array – the OD(36; 9, 9, 9, 9).
4.5 The relationship between “plug-in” and “plug-into” matrices.
5.1 Notations used in this chapter.
5.2 Some small weight Golay sequences.
5.3 Turyn sequences for 4 – 6 = x2 + y2.
5.4 Base sequences of lengths m + 1,m + 1,m, m.
5.5 T-matrices used.
6.1 Notations used in this chapter.
6.2 M-structure Hadamard matrix of order 8(2n + 1).
7.1 Notations used in this chapter.
8.1 Notations used in this chapter.
9.1 Notations used in this chapter.
9.2 Orders for which skew Hadamard matrices exist.
9.3 Existence of luchshie matrices.
9.4 Orders of known symmetric Hadamard matrices.
10.1 Notations used this chapter.
10.2 Hadamard difference sets and Paley PDS for p1 ≤ 106.
11.1 Notations used in this chapter.
11.2 Exponents for Hadamard matrices of order 2t p from various sources.
12.1 Notations used this chapter.
12.2 Hadamard matrices with embedded D-optimal matrix of order m.
12.3 Existence or not of D-optimal matrix in Hadamard matrices.
12.4 Possible determinant absolute values.
12.5 Embeddability of Hadamard matrices Hn-k .
12.6 The 34 pivot patterns of the Hadamard matrix of order 16.
A.1 Amicable Hadamard matrices key methods of construction.
A.2 Skew Hadamard matrices key methods of construction.
A.3 Spence Hadamard matrices key methods of construction.
A.4 Conference Hadamard matrices key methods of construction.
A.5 Orthogonal design Hadamard matrices key methods of construction.
A.6 Yamada Hadamard matrices key methods of construction.
A.7 Miyamoto Hadamard matrices key methods of construction.
A.8 Koukouvinos and Kounias key method of construction.
A.9 Agaian multiplication key method of construction.
A.10 Craigen–Seberry–Zhang key method of construction.
A.11 de Launey key method of construction.
A.12 Seberry/Craigen key methods of construction.
A.13 Yang key methods of construction.
A.14 Parameters for the construction of HM(4n).
A.15 Williamson matrices key method of construction.
A.16 Williamson and Williamson-type matrices.
A.17 Orders of known Hadamard matrices.
B.1 e = 2, n = 1, 2.
B.2 e = 4, n = 1.
B.3 e = 4, n = 2.
B.4 e = 4, n = 3.
B.5 e = 4, n = 4.

List of Figures

I.1 The pioneers of Hadamard matrices. Jacques Hadamard; James Joseph Sylvester; and Umberto Scarpis.
I.2 Walsh functions and trigonometrical functions.
I.3 Hadamard matrices of order 2t q.
I.4 Relationship between SBIBD and Hadamard matrices.
I.5 Questions related to the Hadamard matrix conjecture. xxviii
I.6 Three examples of types of regular Hadamard matrices. Bush-type: cell 2m; Vitrage: cell 2m - 1 (“Bush” with border); PerGol: cell 2m2.
I.7 Carl Frederick Gauss and Carl Gustav Jacobi.
11.1 Asymptotic support for the Hadamard conjecture.
12.1 Graph of the function h(θ) = (1 − θ) ln(1 − θ) − θ ln θ.

Preface

Tom Storer once said of Professor Koichi Yamamoto that the guy was fantastic as he had invented so much number theory to resolve the question of the existence of (v, k, λ) difference sets.

Jennifer visited Professor Koichi Yamamoto, the supervisor of Professor Mieko Yamada at Tokyo Woman’s Christian University in 1972. Jennifer visited Professor Yamada for one month at Tokyo Woman’s Christian University in 1989. In 1990, Mieko visited Jennifer at ADFA@UNSW in Canberra and they worked on a number of aspects of Hadamard matrix theory including M-structures. This led to the survey Hadamard matrices, sequences, and block designs, which appeared in Contemporary Design Theory: A Collection of Surveys.Edited by Jeffrey H. Dinitz and Douglas R. Stinson, published by John Wiley & Sons, Inc. in 1972. This present book, Hadamard Matrices: Constructions Using Number Theory and Algebra, has arisen from the revision and extension of this survey.

Both Mieko and Jennifer have had a long love affair with Hadamard matrices. Because of their different backgrounds they have brought two areas of Mathematics together. We hope this makes a more interesting study.

This book is heavily based on the original survey but the number theory sections have been considerably advanced in Chapters 2, 7, 8, and 10. Chapters 3, 4, 5, 6, and 9 are essentially the same, as is the Appendix. Since the original survey was written, there have been exciting developments in the knowledge of the asymptotic existence of Hadamard matrices; Chapter 11 discusses Seberry, de Launey, and Craigen’s work; Chapter 12 studies three areas which impinge on the computation of Hadamard matrices: Smith normal forms, embedding maximal determinant sub-matrices, and the growth problem.

Jennifer Seberry

Wollongong, Australia

March 2019

Acknowledgments

No book this size could be the child of one or two parents. Many people are owed a debt of deep gratitude. The 1970s students Peter Robinson (ANU, Canberra), Peter Eades (ANU, Canberra), and Warren Wolfe (Queens', Kingston) had major input; the 1980s students of Seberry, Deborah J. Street (Sydney), Warwick de Launey (Sydney), and Humphrey Gastineau-Hills (Sydney), and the 2000s students Chung Le Tran (Wollongong) and Ying Zhao (Wollongong) have contributed conspicuously to the field. Many, many colleagues such as Marilena Mitrouli (Athens), Christos Koukouvinos (NTUA, Athens), and his students Stelios Georgiou and Stella Stylianou, Hadi Kharghani (Lethbridge), Wolf Holzmann (Lethbridge), Rob Craigen (Winnipeg), Ilias Kotireas (WLU), Dragomir Doković (Waterloo), Sarah Spence Adams (Olin, Boston), Behruz Tayfeh-Rezaie (IPM, Tehran), Nikolai Balonin, Yuri Balonin, and Michael Segeev (State University of Aerospace Instrumentation, St. Petersburgh) have helped shape and correct our work. We also appreciate M. Jimbo (Chubu University), R. Fuji-Hara (University of Tsukuba), A. Munemasa (Tohoku University), M. Harada (Tohoku University), H. Kimura, and K. Momihara (Kumamoto University) for their warm encouragement. We particularly thank Koji Momihara for checking our work in Chapter 10 carefully. The researches of Yamamoto, Whiteman, and Ito had a profound influence on Yamada’s research and the writing of this book. We acknowledge that at times we might have written utter rubbish without their knowledge and thoughts. We leave writing this book knowing it is an unfinished work, knowing that we have included many errors large and small. We acknowledge the LaTeXing proofing, and exceptional research assistance given us over the past 10 years by Max Norden. Seberry came to today with the help of the University of Wollongong Library and the provision of an office as Emeritus Professor. We also thank our families for their comforting words and hearty support during writing this book.

Jennifer Seberry and Mieko Yamada

Acronyms

A * B
The Hadamard product of matrices A and B
AOD
Amicable orthogonal design
BH array
Baumert–Hall array
BIBD
Balanced incomplete block design
BS
Base sequences
BSC
Base sequence conjecture
CP
Completely pivoted matrices (GE with complete pivoting)
DF
Difference family
EBS
Extended building set
gcd(a, b)
The greatest common divisor of integers a and b
GE
Gaussian elimination
GF
Galois field
GQ type
Generalized quaternion type
GR
Galois ring
H
An Hadamard matrix of order h
M × N
The Kronecker product of matrices M and N
M O N
The strong Kronecker product of matrices M and N
NPAF
Nonperiodic autocorrelation function
OD
Orthogonal design
PAF
Periodic autocorrelation function
PDS
Partial difference set
PG
Projective space
remrep
A real monomial representation
SBIBD
Symmetric balanced incomplete block design
sds
Supplementary difference set
SH
Signed group Hadamard matrices
SNF
Smith Normal Form
SRG
Strongly regular graph
SW
Signed group weighing matrices
W(n,k)
A Weighing matrix of weightkand of ordern
WL array
Welch array
Z
The rational integer ring
Z[G]
A group ring of a group G over Z

Introduction

One hundred years ago, in 1893, Jacques Hadamard [89] found square matrices of orders 12 and 20, with entries ±1, which had all their rows (and columns) orthogonal. These matrices, X = (xij), satisfied the equality of the following inequality

images

and had maximal determinant. Hadamard actually asked the question of matrices with entries on the unit disc but his name has become associated with the real matrices.

Hadamard was not the first to study these matrices for J.J. Sylvester in 1867 in his seminal paper “Thoughts on inverse orthogonal matrices, simultaneous sign-successions, and tesselated pavements in two or more colours, with application to Newton’s rule, ornamental tile work, and the theory of numbers” [180] had found such matrices for all orders which are powers of 2. Nevertheless, Hadamard showed matrices with elements ±1 and maximal determinant could exist for all orders 1, 2, and 4t and so the Hadamard conjecture “that there exists an Hadamard matrix, or square matrix with every element ±1 and all row (column) vectors orthogonal” came from here. This survey indicates the progress that has been made in the past 100 years (Figure I.1).

J. Hadamard produced his determinant inequality while studying mathematical physics: the equality of the inequality led to Hadamard matrices. A paper by U. Scarpis 1898 [150] was the next contribution to the Hadamard story anticipating the work of R. E. A. C. Paley. However, it was not until J. Williamson’s work in 1944 that the name “Hadamard” attached to Hadamard matrices.

Hadamard’s inequality applies to matrices from the unit circle and matrices with entries ±1, ±i, and pairwise orthogonal rows (and columns) are called complex Hadamard matrices (note the scalar product is images for complex numbers). These matrices were first studied by R.J. Turyn [190]. We believe complex Hadamard matrices exist for every order n ≡ 0 (mod 2). The truth of this conjecture implies the truth of the Hadamard conjecture.

In the 1960s, the US Jet Propulsion Laboratories (JPL) was working toward building the Mariner and Voyager space probes to visit Mars and the other planets of the solar system. Those of us who saw early black and white pictures of the back of the moon remember that whole lines were missing. The first black and white television pictures from the first landing on the moon were extremely poor quality. How many of us remember that the most recent flyby of Neptune was from a space probe launched in the 1970s? We take the high quality color pictures of Jupiter, Saturn, Uranus, Neptune, and their moons for granted.

In brief, these high quality color pictures are taken by using three black and white pictures taken in turn through red, green, and blue filters. Each picture is then considered as a thousand by a thousand matrix of black and white pixels. Each picture is graded on a scale of, say, 1 to 16, according to its greyness. So white is 1 and black is 16. These grades are then used to choose a codeword in, say, an eight error correction code based on, say, the Hadamard matrix of order 32. The codeword is transmitted to Earth, error corrected, the three black and white pictures reconstructed and then a computer used to reconstruct the colored pictures.

Image described by caption and surrounding text.

Figure I.1 The pioneers of Hadamard matrices. Jacques Hadamard; James Joseph Sylvester; and Umberto Scarpis.

Source: Wikimedia Commons and http://mathscinet.ru/

Hadamard matrices were used for these codewords for two reasons, first, error correction codes based on Hadamard matrices have maximal error correction capability for a given length of codeword and, second, the Hadamard matrices of powers of 2 are analogous to the Walsh functions, thus all the computer processing can be accomplished using additions (which are very fast and easy to implement in computer hardware) rather than multiplications (which are far slower).

It was Baumert et al. [8] working with JPL who sparked the interest in Hadamard matrices in the past 50 years. They pioneered the use of computing in the construction of Hadamard matrices. The existence of an Hadamard matrix is an NPC problem (or a problem which has computational resources exponential in the input to find the answer but easy to check the answer once it has been given).

Sylvester’s original construction for Hadamard matrices is equivalent to finding Walsh functions [110] which are the discrete analog of Fourier Series.

Example: Let H be a Sylvester–Hadamard matrix of order 8 and sequency order.

images

The Walsh function generated by H is the following:

images
images

Figure I.2 gives the points of intersections of Walsh functions are identical with that of trigonometrical functions

By mapping w(i, t) = waln(i, t) into the interval ,images, then by mapping axial symmetrically into ,images, we get w(2i, t) which is an even function. By operating similarly we get w(2i – 1, t), an odd function.

Just as any curve can be written as an infinite Fourier series

images

the curve can be written in terms of Walsh functions

images
Image described by caption and surrounding text.

Figure I.2 Walsh functions and trigonometrical functions.

Source: Seberry and Yamada [166, p. 434], Wiley.

The hardest curve to model with Fourier series is the step function wal2 (0, t) and errors lead to the Gibbs phenomenon. Similarly, the hardest curve to model with Walsh functions is the basic sin 2πt or cos 2πt curve. Still, we see that we can transform from one to another.

Many problems require Fourier transforms to be taken, but Fourier transforms require many multiplications which are slow and expensive to execute. On the other hand, the fast Walsh–Hadamard transform uses only additions and subtractions (addition of the complement) and so is extensively used to transform power sequence spectrum density, band compression of television signals or facsimile signals, or image processing.

Walsh functions are easy to extend to higher dimensions (and higher dimensional Hadamard matrices) to model surfaces in three and higher dimensions – Fourier series are more difficult to extend. Walsh–Hadamard transforms in higher dimensions are also effected using only additions (and subtractions).

Constructions for Hadamard matrices can be roughly classified into three types:

  • multiplication theorems
  • “plug-in” methods
  • direct theorems

In 1976 Jennifer Seberry Wallis in her paper “On the existence of Hadamard matrices” [213] showed that “given any odd natural number q there exists a t ≈ 2 ln2(q - 3) so that there is an Hadamard matrix of order 2tq (and hence for all orders 2sq, st).” This is represented graphically in Figure I.3. In recent work many far reaching asymptotic theorems by Craigen, Kharaghani, Holzmann and Ghaderpour, de Launey, Flannery, and Horadam [32, 46, 48, 79] have substantially improved Seberry’s result.

In fact, as we show in our Appendix A, Hadamard matrices are known to exist, of order 22q, for most q < 3000 (we have results up to 40,000 which are similar). In many other cases Hadamard matrices of order 23q or 24q exist. A quick look shows most of the very difficult cases are for q (prime) ≡ 3 (mod 4).

Hadamard’s original construction for Hadamard matrices is a “multiplication theorem” as it uses the fact that the Kronecker product of Hadamard matrices of orders 2am and 2bn is an Hadamard matrix of order 2a+bmn. Our graph shows we would like to reduce this power of2. In his book, Hadamard Matrices and their Applications, Agaian [1] shows how to multiply these Hadamard matrices to get an Hadamard matrix of order 2a+b–1mn (aresult which lowers the curve in our graph except for q, a prime). We will show how Craigen, Seberry, and Zhang [37] and de Launey [44] have further improved this result.

Image described by caption and surrounding text.

Figure I.3 Hadamard matrices of order 2tq.

Source: Seberry and Yamada [166, p. 435], Wiley.

Image described by caption and surrounding text.

Figure I.4 Relationship between SBIBD and Hadamard matrices.

Source: Seberry and Yamada [166, p. 436], Wiley.

A paper by V. Scarpis [150] was the second addition to the story anticipating Paley’s 1933 “direct” construction [144] which gives Hadamard matrices of order Пi,j(pi + 1).(2(qj + 1)), pi (prime power)≡3 (mod 4), qj (prime power) ≡ 1 (mod 4). This is extremely productive of Hadamard matrices but we note again the proliferation of powers of 2 as more products are taken.

Many people do not realize that in the same issue of the Journal of Mathematics and Physics as Paley’s paper appears, J.A.Todd showed the equivalence of Hadamard matrices of order 4t and SBIBD(4t – 1, 2t–1, t – 1). This family of SBIBD, its complementary family SBIBD(4t – 1, 2t, t), and the family SBIBD(4s2, 2s2 ±s,s2 ±s)are called Hadamard designs. The latter family satisfies the constraint v = 4(k – λ) for v = 4s2, k = 2ss ± s, and λ = s2 ± s which appears in some constructions (e.g. Shrikhande [168]). Hadamard designs have the maximum number of one’s in their incidence matrices of all incidence matrices of SBIBD(v, k, λ) (see Tsuzuku [187]) (Figure I.4).

In 1944 J. Williamson [223], who coined the name Hadamard matrices, first constructed what have come to be called Williamson matrices, or with a small set of conditions, Williamson type matrices. These matrices are used to replace the variables of a formally orthogonal matrix. We say Williamson type matrices are “plugged in” to the second matrix. Other matrices which can be “plugged in” to arrays of variables are called suitable matrices. Generally the arrays into which suitable matrices are plugged are orthogonal designs which have formally orthogonal rows (and columns) but may have variations such as Goethals–Seidel arrays, Wallis–Whiteman arrays, Spence arrays, generalized quaternion arrays, Agaian families, Kharaghani’s methods, Balonin–Seberry array, regular s-sets of regular matrices which give new matrices.

This is an extremely prolific method of construction. We will discuss methods which give matrices to “plug in” and matrices to “plug into.”

As a general rule if we want to check if an Hadamard matrix of a specific order 4pq exists we would first check if there are Williamson type matrices of order p, q, pq, then we would check if there were an OD(4t; t, t, t, t) for t = q, p, pq. This failing, we would check the “direct” constructions. Finally we would use a “multiplication theorem.” When we talk of“strength” of a construction this reflects a personal preference.

Before we proceed to more detail we consider diagrammatically some of the linkages between conjectures that will arise in this survey: the conjecture implied is “that the necessary conditions are sufficient for the existence of (say) Hadamard matrices” (see Figure I.5). (A weighing matrix, W, has elements 0, ±1, is square and satisfies WWT = kI.)

The hierarchy of conjectures for weighing matrices and ODs is more straightforward. Settling the OD conjecture in Table I.1 would settle the weighing matrix conjecture to its left.

Image described by caption and surrounding text.

Figure I.5 Questions related to the Hadamard matrix conjecture.

Source: Seberry and Yamada [166, p. 437], Wiley.

Table I.1 Weighing matrix and OD conjectures

  Matrices OD’s
Strongest Skew-weighing OD(n; 1, k)
  Weighing W(n; k) n odd  
  WeighingW(2n, k) n odd OD(2n; a, b) n odd
  Weighing W(4n, k) n odd OD(4n; a, b, c, d) n odd
Weakest W(2sn, k), n odd, s ≥ 3 OD(2sn; u1 , u2 , ..., us ) n odd

Source: Seberry and Yamada [166, table 1.1, p. 437], Wiley.

The original survey [166] emphasized those constructions, selected by us, which we believe showed the most promise toward solving the Hadamard conjecture.

Many diagrams, pictures, photos related to Hadamard matrices can be found on the website http://mathscinet.ru/catalogue/ created by Nickolay Balonin with a little help from D. Đoković, L.A. Mironovskiy, J. Seberry, and M.B. Sergeev (Figure I.6).

Image described by caption and surrounding text.

Figure I.6 Three examples of types of regular Hadamard matrices. Bush-type: cell 2m; Vitrage: cell 2m – 1 (“Bush” with border); PerGol: cell 2m2.

Source: http://mathscinet.ru/catalogue/regularhadamard/, Reproduced with permission of N. Balonin.

On the other hand, several arrays are related to representation theory of groups and group rings. A Williamson Hadamard matrix consists of Kronecker products of regular representation matrices of quaternion numbers and circulantmatrices. A Williamson Hadamard matrixis developed to an Hadamard matrix of generalized quaternion type, which is a regular representation matrix of the element of the ring obtained from Z[G]where G is a semidirect product of a cyclic group by the generalized quaternion group. The Ito Hadamard matrix and the Williamson Hadamard matrix are recognized as Hadamard matrices of generalized quaternion type.

We extend a representation of the group ring Z[G] to an extended representation from M4(Z[G]) to M4n(Z)where n is the order of a group G. We obtain the Welch array of order t and the Ono–Sawade–Yamamoto array of order 9 from the ordered set BHW(G). The Welch array uses the extended representation when G is a cyclic group of order t. We give an example of t = 5. The Ono–Sawade–Yamamoto array of order 9 uses the extended representation of a direct product of two cyclic groups of order 3. The Ono–Sawade–Yamamoto array is a matrix of order 36 [166].

The signed group Hadamard matrix which Craigen introduced [30], produces an Hadamard matrix using monomial representation. Craigen obtained new results on the asymptotic existence of Hadamard matrices via signed group Hadamard matrices.

There are many notable pioneers for the number theory of this book. However, Carl Frederick Gauss, born 1777, and Carl Gustav Jacobi born 1804 are the most important for our work. Gauss is generally regarded as one of the greatest mathematicians of all time. He is referred to as princeps mathematicorem. In his PhD, when aged 21, he proved the fundamental theorem of algebra. Jacobi was the first to apply elliptic functions to number theory, for example proving Fermat’s two-square theorem and Lagrange’s four-square theorem, and similar results for six and eight squares. His other work in number theory continued the work of C. F. Gauss: new proofs of quadratic reciprocity and the introduction of the Jacobi symbol in 1837 (Figure I.7).

The direct construction of Hadamard matrices relates closely to number theory. Paley Hadamard matrix is a regular representation matrix of the element Σα∈F ψ(α)α ∈ Z[F] where F is a finite field and ψ is a quadratic character of F. Then Σα∈Fη(α)ψ(α) is a Gauss sum where η is a nontrivial additive character. The properties of a Paley core matrix are proved from the relations of Gausssums.

Cyclotomic classes are an important tool for the construction not only of Hadamard matrices, but the other topics of combinatorics, for example, difference sets and supplementary difference sets. Cyclotomic numbers are written by Jacobi sums and conversely Jacobi sums are written by cyclotomic numbers[13]. Storer’s book [179] is essential and has been a fundamental reference since first published. We will give the explicit cyclotomic numbers for e=2,4,8 also covering the case e = 8 and f even not in Storer’s book.

Image described by caption and surrounding text.

Figure I.7: Carl Frederick Gauss)

(Source: By Christian Albrecht Jensen, 1840 (Photo: A. Wittmann)

and Carl Gustav Jacobi.

(Source: Publicdomain, https://commons.wikimedia.org).

An infinite family of Williamson Hadamard matrices by Whiteman [221] is constructed based on relative Gauss sums that is a ratio of Gauss sums[247]. This leads to infinite families of Hadamard matrices of generalized quaternion type constructed from relative Gauss sums.

Paley type I core matrix develops a Paley Hadamard difference set. The Stanton–Sprott difference set, which is a Paley Hadamard difference set, and its extension the Gordon–Mills–Welch difference set are associated with a relative Gauss sums.

Though it is difficult to determine the explicit values of Gauss sums and Jacobisums, we can obtain the munder the particular conditions. Index 2 Gauss sums and normalized relative Gauss sums are evaluated under the conditions of a group generated by a prime number [71, 253]. The construction theories of skew Hadamard difference sets by using index 2 Gauss sums [71, 72] and normalized relative Gauss sums [138] are new and widely applicable.

Construction of Hadamard matrices have been studied mainly over finite fields. The underlying algebraic structure in the research of combinatorics extends from finite fields to Galois rings. We obtain Menon Hadamard difference sets (which are equivalent to regular Hadamard matrices) over the Galois rings [242]. It should be noted that these difference sets have an embedding system, that is, a difference set is embedded in the ideal part of a difference set over a Galois ring of a higher characteristic. It gives one of many potential new directions to the research of Hadamard matrices.

The topics of combinatorics, relative difference sets [152], partial difference sets [146, 147], projective sets [18, 225], extended building sets [146, 147], (q; x, y)-partitions, [229] and planar functions [53] are also useful strong tools for the construction of Hadamard matrices. We will show how to use these tools for the construction of Hadamard matrices in this book.