I want to create the diagram in the pic below
and I have the code for the upper part of it, but I have hard time to finish the rest, any help appreciated.
my code:-
\documentclass[11pt, oneside]{article} % use "amsart" instead of "article" for AMSLaTeX format
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
\usepackage{graphicx}
\usepackage{tikz-cd}
\usetikzlibrary{decorations.markings}
\tikzset{middleArrowHead/.style={decoration={markings, mark= at position #1 with \arrow{>}}, postaction=decorate}}
\usepackage{braket} % defines \ket and \bra
\begin{document}
\begin{tikzcd}[every arrow/.append style={bend left, dash, middleArrowHead=1}] % change the last value until the arrow position pleases you.
\mathcal{B}^{'}
\arrow[start anchor={[yshift=1.5pt]east},end anchor={[yshift=2.5pt]west}]{r}{U^{-1}AU^{-1}}
& \mathcal{C}^{'}
\arrow[start anchor={[yshift=-1.5pt]west},end anchor={[yshift=-2.5pt]east}]{l}{U^{-1}A^{-1}U}
\end{tikzcd}
\end{document}