Fixed quantum parsing