I have a 3 column table and in the third column I am representing a $20\times 1$ vector. I would like to put square brackets on each side of this vector.
\documentclass[a4paper,12pt,times,numbered,print,index]{Classes/PhDThesisPSnPDF}
\RequirePackage[left=37mm,right=30mm,top=35mm,bottom=30mm]{geometry}
\RequirePackage{libertine}
\RequirePackage[small,bf]{caption}
\RequirePackage[labelsep=space,tableposition=top]{caption}
\usepackage{subfig}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{braket}
\usepackage{algorithm}% http://ctan.org/pkg/algorithms
\usepackage{algpseudocode}% http://ctan.org/pkg/algorithmicx
\usepackage{algorithm}% http://ctan.org/pkg/algorithms
\usepackage{algpseudocode}% http://ctan.org/pkg/algorithmicx
\begin{document}
\begin{table}[ph]
\centering
\begin{tabular}{| >{$}c<{$} | >{$}c<{$} | >{$}c<{$} |}
\hline
\text{Position} & \text{State} & \text{P} \\
\hline
\multirow{4}{*}{-2}
& \ket{\leftarrow, 0} & 0 \\
& \ket{\leftarrow, 1} & 0 \\
& \ket{\rightarrow, 0} & 0 \\
& \ket{\rightarrow, 1} & 0 \\
\hhline{--~}
\multirow{4}{*}{-1}
& \ket{\leftarrow, 0} & 0 \\
& \ket{\leftarrow, 1} & 0 \\
& \ket{\rightarrow, 0} & 0 \\
& \ket{\rightarrow, 1} & 0 \\
\hhline{--~}
\multirow{4}{*}{0}
& \ket{\leftarrow, 0} & 1 \\
& \ket{\leftarrow, 1} & 0 \\
& \ket{\rightarrow, 0} & 0 \\
& \ket{\rightarrow, 1} & 0 \\
\hhline{--~}
\multirow{4}{*}{1}
& \ket{\leftarrow, 0} & 0 \\
& \ket{\leftarrow, 1} & 0 \\
& \ket{\rightarrow, 0} & 0 \\
& \ket{\rightarrow, 1} & 0 \\
\hhline{--~}
\multirow{4}{*}{2}
& \ket{\leftarrow, 0} & 0 \\
& \ket{\leftarrow, 1} & 0 \\
& \ket{\rightarrow, 0} & 0 \\
& \ket{\rightarrow, 1} & 0 \\
\hline
\end{tabular}
\caption{Interpretation of the particle matrix for a $1$-step memory walk. Observe that for each position we are able
to represent the p}
\label{T:peak}
\end{table}
\end{document}
Does any one know how to place square brackets on either side of the vector P?