Quantum – How to flip the encoding module?