I'd like to float one matrix left among the others, and make the text grey. Currently, I can only simulate this by adding the correct \hspace*{}
after my first matrix that I would like to align left.
My current code looks like such,
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{amssymb}
\DeclarePairedDelimiter\ket{\lvert}{\rangle}
\begin{document}
\begin{equation}
\begin{matrix}
\ket{11}\\
\ket{01}\\
\ket{10}\\
\ket{00}
\end{matrix} \hspace*{50pt}
\begin{pmatrix}
0\\
0\\
1\\
0
\end{pmatrix}
\begin{pmatrix}
0 & 0 & 1 & 0\\
0 & 1 & 0 & 0\\
1 & 0 & 0 & 0\\
0 & 0 & 0 & 1
\end{pmatrix}
=
\begin{pmatrix}
1\\
0\\
0\\
0
\end{pmatrix}
\end{equation}
\end{document}
Concluding; how do I left align/float the first matrix and make the text grey?
\documentclass
,\begin{document}
, needed packages... I could do it for you, but doing it by yourself will make you a better user! ;)\begin{document}
andend{document}
...