A program that uses Grover's Algorithm with a simple phase oracle and Quantum superposition to crack an 8-bit encrypted exe file. This program is designed for quantum computers.
The number of iterations is calculated with the formula:
Where
The key is then put into superposition with the Hadamard Transform:
n is the number if qubits and N is the total possible combinations of the key.
The oracle is applied, and the Hadamard gate is applied again, and a Conditional Z shift is applied.
The overall formula for the algorithm is
Where
Install python 3.10 and the requirements: pip install -r requirements.txt