Markov Chains and Hitting Times for Error Accumulation in Quantum Circuits