Adds PQF.set_Q() method