Domanda di colloquio di Quantum-Systems

Describe a deadlock / how would you solve this problem?