In LaTeX Ugly Line Above References, it is noted that REVTeX adds an ugly line above the references. The line is ugly because it is rasterized and looks pixelated.
The linked question and answer explains that we can remove the line through:
\def\bibsection{\section*{\refname}}
Can we instead replace the line with a smooth, non-pixelated (perhaps vector) version? Perhaps using tikz, though the simpler the better.
This MWE produces the line:
\documentclass{revtex4-2}
\begin{document}
\bibliography{}
\end{document}

pgfornaments. – cfr Mar 25 '24 at 04:42