A qubit may be formed by forming a Josephson junction between two capacitive plates. The Josephson junction may be an aluminum/aluminum-oxide/aluminum trilayer Josephson junction on a substrate. The Josephson junction may be annealed with a thermal source. Annealing the Josephson junction may alter the frequency of the qubit.