I need a way to implement exponential of a matrix so that I can create a gate that is analogous to rotation using that matrix, similar to how rotation in the $x$ axis uses the Pauli-$X$ gate. This is one of the matrices that I want to implement the exponential.
$A = \frac{1}{2\sqrt{2}}\begin{pmatrix} 0 & 1 & 1 & 0\\ 1 & 0 & 0 & 1\\ 1 & 0 & 0 & 1\\ 0 & 1 & 1 & 0 \end{pmatrix}$
I want to to make a circuit that computes $e^{i \phi A}$