\documentclass[12pt]{article} \usepackage{amssymb,amsmath,amscd,concmath} \pagestyle{empty} \begin{document} \begin{equation*} \rho_p ={1\over 7p+1}\left[\begin{array}{cccccccc} p& 0&0&0& 0&p& 0&0 \\ 0& p&0&0& 0&0&p& 0 \\ 0& 0&p&0& 0&0&0& p\\ 0& 0&0&p& 0&0&0& 0\\ 0& 0&0&0& {{1+ p}\over 2}&0&0&{\sqrt{1- p^2}\over 2}\\ p& 0&0&0& 0&p&0& 0\\ 0& p&0&0& 0&0&p& 0\\ 0& 0&p&0& {\sqrt{1- p^2}\over 2}&0&0& {{1+ p}\over 2}\\ \end{array} \right] %\end{eqnarray} \end{equation*} \end{document}