\documentclass[12pt,one side]{report}
%\documentclass{book}
\usepackage[a4paper, margin=2.5cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
\usepackage{fancyhdr}
\usepackage{amsmath,amsfonts,mathtools,graphicx,wrapfig,amssymb,braket,physics,listings,ragged2e,microtype,caption,subcaption,float,animate,lscape,float,blochsphere,tikz,circuitikz,multicol,geometry,nccmath}
%\usepackage{hyperref,refstyle} %for making references and citations live, 2 extra errors may show but it does not effect the print.
\usepackage[toc,page]{appendix}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\DeclareUnicodeCharacter{2212}{-}
\usepackage[unicode=true,pagebackref=true,
colorlinks,linkcolor=black,citecolor=blue,final]{hyperref}
% Set margin to 2.5cm
% Load the fancyhdr package
\usepackage{fancyhdr}
% Set the page style for the document
\fancypagestyle{plain}{%
\fancyhf{}% Clear header and footer
\renewcommand{\headrulewidth}{0pt}% Remove header rule
\fancyhead[R]{\thepage}% Page number on the top right
}
% Apply the page style to all pages
\pagestyle{plain}
%\usepackage[margin=2.5cm]{geometry}
%\usepackage[top=2.5cm]{geometry}
% Use the titlesec package for customizing chapter titles
\usepackage{titlesec}
% Set the chapter title format
\titleformat{\chapter}[display]
{\normalfont\fontsize{16}{19}\bfseries\centering}
{\MakeUppercase{\chaptertitlename\ \thechapter}}
{2.5cm}
{\MakeUppercase}
% Use the titlesec package for customizing section titles
\usepackage{titlesec}
% Set the section and subsection title formats
\titleformat{\section}[hang]
{\normalfont\fontsize{14}{17}\bfseries}
{\thesection}
{0.5em}
{}
\titlespacing*{\section}
{0pt}{24pt}{\baselineskip}
\titleformat{\subsection}[hang]
{\normalfont\fontsize{14}{17}\bfseries}
{\thesubsection}
{0.5em}
{}
\titlespacing*{\subsection}
{0pt}{24pt}{\baselineskip}
\titlespacing*{\section}{0pt}{48pt}{24pt}
\usepackage[margin=2.5cm]{geometry}
% Set font to Times New Roman
\usepackage{mathptmx}
% Set font size and line spacing
\usepackage[fontsize=12pt]{scrextend}
\linespread{1.5}
% Set paragraph indentation
\usepackage{indentfirst}
\setlength{\parindent}{1.27cm}
%\usepackage[a4paper, total={6in, 8in}]{geometry}
%\usepackage[colorlinks=true,linkcolor=red]{hyperref}%
\usepackage{xcolor,colortbl}
\definecolor{Gray}{gray}{0.85}
%\usetikzlibrary{arrows.meta}
\usetikzlibrary{quantikz}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
%\setlength{\parskip}{6pt}
%\input{Chapters/Extras/JosephsonJunctionBox}
\begin{document}
%%%
\pagenumbering{roman}
\include{Titlepage}
\include{Thesisrequirment}
\addcontentsline{toc}{section}{\textbf{TABLE OF CONTENTS}}
\renewcommand\contentsname{Table of Contents}
\currentpdfbookmark{Table of Contents}{TOC}
\tableofcontents
%\tableofcontents
\listoftables
\addcontentsline{toc}{section}{\textbf{LIST OF TABLES}}
\listoffigures
\addcontentsline{toc}{section}{\textbf{LIST OF FIGURES}}
%\rhead{\thepage}
\include{Sym}
\pagenumbering{arabic}
\include{Chapters/Chapter1}
\include{Chapters/Chapter2}
\include{Chapters/Chapter3}
\include{Chapters/Chapter4}
\include{Chapters/Chapter5}
\include{Chapters/Chapter6}
\include{Appendix}
\include{Refrences}
\end{document}