I have been trying to draw something like
Can anyone help me with the code? I have no idea how to do this. Your help would be appreciated.
Edit: Based on comments, I got the code
\documentclass{article}
\usepackage[usenames,dvipsnames]{pstricks}
\usepackage{pstricks-add}
\usepackage{epsfig}
\usepackage{pst-grad} % For gradients
\usepackage{pst-plot} % For axes
\usepackage[space]{grffile} % For spaces in paths
\usepackage{etoolbox} % For spaces in paths
\makeatletter % For spaces in paths
\patchcmd\Gread@eps{\@inputcheck#1 }{\@inputcheck"#1"\relax}{}{}
\makeatother
\documentclass{article}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usetikzlibrary{arrows}
\def\ac{\rotatebox[origin=c]{90}{$\dashv$}} %rotate dash anti-cw
\def\cw{\rotatebox[origin=c]{-90}{$\dashv$}} %rotate dash cw
%\tikzset{adj/.style={pos=0.545,outer sep=3pt}} %adjust label position along path
\begin{document}
\begin{tikzcd}[column sep=small]
q
& &
\arrow[bend left,above]{ll}{a} -q
%\arrow[bend left,above, adj]{ll}{U_G} Cat \arrow[bend left,below]{rr}{F_P}
& &
q
& &
q^2
& &
-q^2\arrow[bend left,above]{ll}{b}
& &
q^2
& &
-q^2\arrow[bend left,above]{ll}{b}
& &
-q
\end{tikzcd}
\end{document}
But I am not able to draw the big underline.