In a trump contract, playing the Queen on your partner’s Ace means either it is a singleton (so you had no choice) or you also have the Jack.