ZU(n) and XU(n) are subgroups of the unitary group U(n): the group XU(n) consists of all n X n unitary matrices with all 2n line sums (i.e. all n row sums and all n column sums) equal to 1 and the group ZU(n) consists of all n X n unitary diagonal matrices with first entry equal to 1.