"""Hadamard matrices as flux patterns on the crossed-wire array (Sections 1 and 4). Row wire j and column wire k cross at a junction with phase factor H_jk. The cell between row wires j,j+1 and column wires k,k+1 carries the flux Phi_jk = arg(H_jk conj(H_{j+1,k}) H_{j+1,k+1} conj(H_{j,k+1}))/(2 pi) in units of the flux quantum, taken in [0,1). The program checks: 1. the (N-1)^2 cell fluxes determine H up to row and column phases; 2. orthogonality of rows a,b says that the rectangles with horizontal sides on a,b and j