Fixed q logic