Papers
Topics
Authors
Recent
Search
2000 character limit reached

Nega–Hadamard Transform Overview

Updated 21 March 2026
  • The nega–Hadamard transform is a spectral method that generalizes the classical Walsh–Hadamard transform by incorporating negaperiodic encoding in Boolean functions.
  • It systematically analyzes spectral flatness and autocorrelation zeros, offering insights into negabent properties vital for sequence design and cryptography.
  • The transform’s algebraic link via symmetric quadratic functions bridges negabent and bent properties, underpinning complementary sequence and Boolean function analysis.

The nega–Hadamard transform is a spectral transform on Boolean functions arising as a canonical specialization of the root-Hadamard framework. It generalizes classical transforms such as the Walsh–Hadamard and provides a systematic mechanism for encoding negaperiodic spectral and correlation properties of Boolean and generalized Boolean functions. Its significance lies in its direct correspondence with bent and complementary sequences, as well as the algebraic structure underpinning spectral flatness and correlation zeros (Medina et al., 2019).

1. Generalized Boolean Functions and Preliminaries

Let F2n\mathbb{F}_2^n denote the nn-dimensional vector space over the binary field. A generalized Boolean function is a mapping

f:F2nZq,q2,f: \mathbb{F}_2^n \to \mathbb{Z}_q,\quad q \geq 2,

recovering ordinary Boolean functions for q=2q=2. For fGBnqf \in GB_n^q, its complex sign is defined by

Sq[f](x)ζqf(x),ζq=e2πi/q.S_q[f](x) \coloneqq \zeta_q^{f(x)}, \quad \zeta_q = e^{2\pi i/q}.

For q=2q=2, S2[f](x)=(1)f(x)S_2[f](x) = (-1)^{f(x)}. The binary inner product is ux=i=1nuixi(mod2)u \cdot x = \sum_{i=1}^n u_i x_i \pmod{2}, and Hamming weight is wt(x)=ixiwt(x) = \sum_i x_i.

2. Root-Hadamard Transform and the Nega–Hadamard Case

The root-Hadamard transform defines a broad template embracing several classical transforms and is parametrized as follows:

  • Let q=2kq = 2^k and ζq=e2πi/q\zeta_q = e^{2\pi i / q}.
  • Let A={a1,,ar}A = \{a_1, \dots, a_r\} be complex roots of unity, with asq=1a_s^q = 1, and {R1,,Rr}\{ R_1, \dots, R_r \} a partition of coordinates.
  • The root-weight is AL(x)=s=1raswt(xRs)A_L(x) = \prod_{s=1}^r a_s^{wt(x_{R_s})}, where xRsx_{R_s} restricts xx to RsR_s.

The root-Hadamard transform is defined for uF2nu \in \mathbb{F}_2^n by:

UL,A[f](u)2n/2xF2nSq[f](x)(1)uxAL(x).U_{L, A}[f](u) \coloneqq 2^{-n/2} \sum_{x \in \mathbb{F}_2^n} S_q[f](x) \cdot (-1)^{u \cdot x} \cdot A_L(x).

Specializing to q=2q=2, r=1r=1, a1=1a_1 = -1, R1={1,,n}R_1 = \{1, \dots, n\} yields the nega–Hadamard transform, with AL(x)=(1)wt(x)A_L(x) = (-1)^{wt(x)} and

N[f](u)2n/2xF2n(1)f(x)+ux+wt(x).N[f](u) \coloneqq 2^{-n/2} \sum_{x \in \mathbb{F}_2^n} (-1)^{f(x) + u \cdot x + wt(x)}.

The classical Walsh–Hadamard transform is recovered for AL(x)=1A_L(x) = 1.

3. Inversion, Correlation, and Spectral Criteria

The root-Hadamard transform possesses a unitary kernel (up to normalization), admitting explicit inversion. For yF2ny \in \mathbb{F}_2^n,

Sq[f](y)=2n/2AL(y)uF2nUL,A[f](u)(1)yu.S_q[f](y) = 2^{n/2} A_L(y) \sum_{u \in \mathbb{F}_2^n} U_{L,A}[f](u) \, (-1)^{y \cdot u}.

For the nega–Hadamard specialization:

(1)f(y)=2n/2(1)wt(y)uN[f](u)(1)yu.(-1)^{f(y)} = 2^{n/2} (-1)^{wt(y)} \sum_u N[f](u) (-1)^{y \cdot u}.

The nega–autocorrelation of ff at zF2nz \in \mathbb{F}_2^n is

CfN(z)xF2n(1)f(x+z)f(x)(1)xz.C^N_f(z) \coloneqq \sum_{x \in \mathbb{F}_2^n} (-1)^{f(x+z) - f(x)} (-1)^{x \cdot z}.

The cross-correlation relation holds:

Cf,gN(z)=(1)wt(z)uF2nN[f](u)N[g](u)(1)uz.C^N_{f,g}(z) = (-1)^{wt(z)} \sum_{u \in \mathbb{F}_2^n} N[f](u) N[g](u) (-1)^{u \cdot z}.

The Parseval identity is uN[f](u)2=2n\sum_u |N[f](u)|^2 = 2^n.

A Boolean function fBnf \in B_n is negabent if N[f](u)=1|N[f](u)| = 1 for all uu, equivalent to CfN(z)=0C^N_f(z) = 0 for all z0z \neq 0.

4. Spectral Characterization and Relation to Bent Functions

A fundamental property links the nega–Hadamard with the Walsh–Hadamard transform using the symmetric quadratic polynomial s2(x)=1i<jnxixjs_2(x) = \sum_{1 \leq i < j \leq n} x_i x_j. Define h(x)=f(x)+s2(x)(mod2)h(x) = f(x) + s_2(x) \pmod{2}. Then,

N[f](u)=W[h](u)u,N[f](u) = W[h](u) \quad \forall u,

where WW denotes the Walsh–Hadamard transform.

Consequently, ff is negabent if and only if hh is bent (when nn is even, cf. Parker–Pott 2007). Spectral flatness (N[f](u)1|N[f](u)| \equiv 1) is equivalent to zero nega-autocorrelation at nonzero shifts.

5. Complementarity and Negaperiodic Correlation

Negaperiodic complementarity manifests via paired spectral sums. Bipolar sequences a,b{±1}Na, b \in \{\pm1\}^N are a negaperiodic complementary pair if

CaN(k)+CbN(k)=0,k0.C^N_a(k) + C^N_b(k) = 0,\quad k \neq 0.

Analogously, Boolean functions f,gBnf,g \in B_n are negacomplementary if Cf,gN(z)=0C^N_{f,g}(z) = 0 for z0z \neq 0.

There is a direct correspondence: for hf(x)=f(x)+s2(x)h_f(x) = f(x) + s_2(x) and hg(x)=g(x)+s2(x)h_g(x) = g(x) + s_2(x), the functions f,gf,g are negacomplementary if and only if {hf,hg}\{h_f, h_g\} forms a Golay complementary pair under the ordinary Walsh–Hadamard framework.

6. Explicit Example

For n=2n=2, let f(x1,x2)=x1x2(mod2)f(x_1, x_2) = x_1 x_2 \pmod{2}. Then N[f](u)N[f](u) is calculated as:

  • x{(0,0),(0,1),(1,0),(1,1)}x \in \{(0,0), (0,1), (1,0), (1,1)\}, with f(x)=(0,0,0,1)f(x) = (0,0,0,1), wt(x)=(0,1,1,2)wt(x) = (0,1,1,2).
  • For u=(0,0)u=(0,0): N[f](0,0)=12(1111)=1N[f](0,0) = \frac{1}{2}\left(1 - 1 - 1 - 1\right) = -1.
  • For u=(1,0)u=(1,0): N[f](1,0)=12(11+1+1)=1N[f](1,0) = \frac{1}{2}(1 - 1 + 1 + 1) = 1.
  • For u=(0,1)u=(0,1): N[f](0,1)=1N[f](0,1) = 1.
  • For u=(1,1)u=(1,1): N[f](1,1)=1N[f](1,1) = -1.

Thus N[f]=(1,+1,+1,1)N[f] = (-1, +1, +1, -1), which has constant modulus; ff is negabent. Inversion recovers (1)f(y)(-1)^{f(y)}.

7. Context and Significance

The root-Hadamard framework unifies a spectrum of transforms for Boolean and generalized Boolean functions, including Walsh, nega, 2k2^k-Hadamard, consta-Hadamard, and HNHN-type transforms. The nega–Hadamard transform corresponds to the case A={1}A = \{-1\} over all coordinates. The algebraic connection f(x)+s2(x)f(x) + s_2(x) links negabent and bent functions, aligning spectral flatness with autocorrelation zeros. The theory of complementarity—both Golay and negaperiodic—emerges naturally in the context of these transforms, with composition criteria formalized via binary components. This structural unification has foundational significance for the study of Boolean function spectra, sequence design, and combinatorial properties (Medina et al., 2019).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Nega–Hadamard Transform.