If \(A+B=\left[\begin{array}{cc}1 & \tan \frac{\theta}{2} \\ -\tan \frac{\theta}{2} & 1\end{array}\right]\) where \(A\) is symmetric and \(B\) is skew-symmetric matrix, then the matrix \(\left(A^{-1} B+A B^{-1}\right)\) at \(\theta=\frac{\pi}{6}\) is given by