A guide to understand what Google have done (in Persian) for Rayanesh Magazine and a code to simulate the problem in small scale.
Start from here
This code simulates a 5-qubit state and applying a gate on it.
And this code simulates the supremacy regime but just on 5 qubits.