Decoded strings more robustly

TQC Simulator now works better