quantprogram basic