debug quantum