As transistor dimensions continue to shrink, in line with Moore's Law, they have reached micro dimensions that comply with the principles of quantum mechanics. Richard Feynman's idea of quantum computers has become a new field of study capable of providing solutions to problems that classical computers cannot solve. One of the important basic quantum algorithms is the Bernstein-Vazirani algorit…