When loading tabularray (only in recent CTAN, I needed to manually copy it with ninecolors in my system) together with quantikz, tabularray just crashes as reported here https://github.com/lvjr/tabularray/issues/156
ERROR: Misplaced alignment tab character &.
MWE
\documentclass{memoir}
\usepackage{quantikz}
\usepackage{tabularx}
\usepackage{xcolor}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\begin{document}
\begin{center}
\begin{tblr}{
rows = {35pt}, columns = {35pt},
rowsep = 1pt, colsep = 1pt, stretch = 0,
cells = {c,font=\Huge},
cell{odd}{even} = {azure7},
cell{even}{odd} = {azure7},
hlines, vlines,
}
a & b & c & d & e & f & g & h \
a & b & c & d & e & f & g & h \
& & & & & & & \
& & & & & & & \
& & & & & & & \
& & & & & & & \
a & b & c & d & e & f & g & h \
\end{tblr}
\end{center}
\end{document}

center, the additional braces are not needed. The%after4is wrong. – egreg Nov 26 '21 at 17:12