Quantum computing is a revolutionary field of technology that leverages the principles of quantum mechanics to perform computations at unprecedented…