Synthesis of Transition Systems from Quantum Logics