This note expands the sketch from Superconducting Qubit Feature Lab.

Starting Hamiltonian

The transmon Hamiltonian is

with conjugate variables obeying

In the transmon regime , charge dispersion is suppressed and one often starts by setting for intuition.

Cosine Expansion

Expand the cosine potential:

The quadratic Hamiltonian is

Define zero-point fluctuations

with

Then

Quartic Perturbation

The leading correction is

Using the number-state expectation value

we get the first-order correction

So the approximate energy levels are

The transition energy is

Therefore

and

The anharmonicity is

Summary

Increasing suppresses charge sensitivity, but decreasing also reduces anharmonicity. Transmon design lives inside that tradeoff.