Quantum Circuit Threads