In recent years, quantum computing has gained significant attention due to its ability to solve complex problems that are beyond the capabilities of classical computers. Unlike classical computers that use bits to represent information as either a 0 or a 1, quantum computers use qubits, which can exist in multiple states simultaneously thanks to a…