In Shor's factorization of number N=pq, the first step is to build ~log2(N) independent qubits, each an equal superposition of 0 and 1 states and use them to make a tensor product equivalent of ~N superimposed states. The second step is to act on that with a Hadamard gate which turns them into an entangled monster of N unseparable (entangled) states. Manupulating this further finally yields p and q.
Now, how precise these objects and operations need to be? The qubits in the first step, what if they are all a bit different from ideal fifty-fifty superposition? If N is an 100 bit long number, must then amplitudes of 0 and 1 states be precise to 100 bits too? More? Less? Why? How high entanglement fidelity is needed? What about the requirement on precision of Hadamard operation?