Two-Band Chern Number Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction to the Qi-Wu-Zhang Chern Number Calculator

This Qi-Wu-Zhang two-band Chern number calculator turns a single dimensionless mass parameter m into a topological label for the occupied band. In the square-lattice model, the answer depends on whether the gap remains open or closes at one of the special mass values.

When m lies inside a gapped interval, the calculator returns an integer Chern number. Positive and negative values indicate opposite winding directions of the Berry curvature, while zero means the occupied band is topologically trivial in the gapped regime. At m = -2, 0, or 2, the gap collapses, so the page marks a transition rather than a stable insulator.

That makes the page useful for students checking the standard phase diagram, instructors introducing Chern insulators, and anyone who wants a compact reminder of how a two-band lattice model can switch topology without changing every parameter at once. The calculator reads the analytic Qi-Wu-Zhang rule directly, so the result is immediate and the explanation stays close to the underlying physics.

Why the Qi-Wu-Zhang Model Is a Standard Chern-Insulator Example

The Qi-Wu-Zhang model is the cleanest place to see why this calculator’s output is an integer rather than a continuously varying quantity. In two dimensions, the occupied band of a gapped lattice Hamiltonian can carry a Chern number, and that integer records how the Bloch vector wraps the sphere over the Brillouin zone.

Unlike ordinary band labels, a Chern number cannot change unless the gap closes. That is why the calculator pays special attention to the critical values of m: those are the points where the topological phase can switch. The same invariant also predicts robust boundary transport in idealized Chern insulators, linking the abstract geometry of Berry curvature to an observable Hall response.

How to Use the Qi-Wu-Zhang Chern Number Calculator

Using the Qi-Wu-Zhang Chern number calculator means entering only the mass parameter m and letting the page tell you whether the occupied band is chiral, trivial, or at a phase boundary. Type a numeric value into the field and press the compute button to see the Chern number and phase label.

The input is dimensionless because the model is written in lattice units. Decimal values work as expected. For instance, entering 1.2 places the system in the interval with Chern number 1, entering -1.2 places it in the interval with Chern number -1, and entering 3 gives a trivial phase with Chern number 0.

The values m = -2, 0, and 2 deserve special attention. At those points the bulk gap closes, so the ordinary gapped-band invariant is not defined in the same stable way as it is away from the transition. The calculator still labels the situation clearly so you can distinguish a critical point from an ordinary insulating phase.

The Qi-Wu-Zhang model describes a square lattice with two internal degrees of freedom that behave like a pseudospin. Its Bloch Hamiltonian is written in terms of Pauli matrices σx, σy, and σz as

H ( k ) = sin ( kx ) σx + sin ( ky ) σy + ( m + cos kx + cos ky ) σz

Formula for the Two-Band Chern Number

For the Qi-Wu-Zhang two-band Hamiltonian, the Bloch vector is built from sin(kx), sin(ky), and the mass-dependent σz term shown above. The momentum components kx and ky sweep the Brillouin zone, and the resulting three-component vector defines a map from momentum space to the unit sphere.

The Chern number counts the net wrapping of that map, which is why a gapped band can only produce an integer value. In differential-form language, the same result appears as the integral of the Berry curvature over the Brillouin zone:

C = 1 4π d^ · d^ kx × d^ ky d kx d ky

Although the integral looks abstract, the calculator uses the exact piecewise rule that follows from this model. The phase diagram is:

When 0 < m < 2, the occupied band has Chern number 1. When -2 < m < 0, it has Chern number -1. For m < -2 or m > 2, the Chern number is 0. At m = -2, 0, and 2, the gap closes and the system sits at a topological transition, which is why the calculator returns a critical-point message there instead of a stable insulating classification.

The table below translates that rule into the same intervals used by the calculator:

Qi-Wu-Zhang phase diagram for the mass parameter m
m Range Chern Number Phase
m < -2 0 Trivial insulator
-2 < m < 0 -1 Chern insulator
0 < m < 2 1 Chern insulator
m > 2 0 Trivial insulator

Example Qi-Wu-Zhang Mass Values

A simple Qi-Wu-Zhang example makes the piecewise rule easy to read. If you enter m = 1.3, the value lies between 0 and 2, so the calculator returns Chern number 1 and labels the phase a Chern insulator. Physically, that means the lower band has nontrivial topology and would support a quantized Hall response in the idealized model.

If you instead enter m = -1.3, the value lies between -2 and 0, so the result becomes Chern number -1. The phase is still topological, but the orientation of the Berry-curvature winding is reversed, which flips the sign of the invariant. Entering m = 2.6 gives 0 because the parameter lies outside the topological intervals, so the model is trivial in that regime.

Finally, m = 0 produces a critical-point message. That is not a random edge case; it is the exact mass value where the bulk gap closes and the Chern number can change between the negative and positive topological phases. These examples show the core lesson of the model: topology stays fixed over an interval and changes only when the spectrum becomes gapless.

Interpreting the Chern Classification

The Chern number returned by this calculator tells you whether the Qi-Wu-Zhang occupied band is topological and, if it is, which way its Berry curvature winds.

A nonzero value signals a Chern insulator in the ideal model, and the sign distinguishes the two possible orientations. In many settings that sign is tied to the direction of chiral edge transport at a boundary. A zero result means the gapped phase is topologically trivial, so no protected chiral edge mode is enforced by this invariant alone.

The result also connects directly to transport. In ideal units, the Hall conductivity of a filled isolated band is proportional to the Chern number, often written as σxy = C e2/h. The calculator does not compute conductivity, but it returns the integer that sits behind that quantization.

Limitation of the Two-Band Chern Number Calculator

This calculator is exact only for the ideal Qi-Wu-Zhang two-band phase diagram. It does not numerically integrate Berry curvature, diagonalize a custom Hamiltonian, or account for disorder, interactions, finite temperature, multiple occupied bands, or experimental imperfections. If you are studying a different lattice model or one with extra terms, the same mass value may lead to a different topological classification.

Another limitation is that the page treats the transition points with a short status message instead of a critical-theory analysis. At m = -2, 0, and 2, the bulk gap closes, so the ordinary gapped-band invariant is not defined in the same stable way as it is away from the transition. For more elaborate calculations, people usually evaluate Berry curvature on a momentum grid or use gauge-invariant lattice formulas such as the Fukui-Hatsugai-Suzuki method.

Even with those limits, the page is a useful teaching and reference tool. The Qi-Wu-Zhang model is one of the clearest examples in topological band theory because it shows, in a compact analytic form, how a single control parameter can move a system between trivial and nontrivial phases. That clarity is exactly why this calculator works well for quick checks and classroom demonstrations.

The phase-transition picture also explains boundary physics. If a sample is built with a spatially varying mass parameter, one region can sit in the Chern-number-1 phase while another sits in the trivial phase. At the interface, the mismatch of topological invariants forces gapless edge states to appear by bulk-boundary correspondence. Those states are robust as long as the bulk gap stays open, which is why the Chern number is so useful in device design.

The Berry curvature behind the invariant gives a geometric view of transport. In semiclassical language, a wavepacket acquires an anomalous velocity in the presence of an electric field, and integrating that contribution over a filled band leads to the quantized Hall conductivity σxy = C e2/h. This is the same topological mechanism behind the integer quantum Hall effect and many realizations of Chern insulating behavior in cold atoms, photonic lattices, and magnetic materials.

Although the Qi-Wu-Zhang Hamiltonian is idealized, its simplicity makes it an excellent bridge to more advanced work. The mass parameter m behaves like a band-inversion knob, closing the gap at high-symmetry points and reopening it with a different Chern number. Thinking of the Berry curvature as if it were sourced by monopoles in momentum space can help explain why the invariant changes only at those critical values.

Because the calculator needs only one input, it gives a fast way to connect that geometry to a concrete answer. More general models may require discretizing the Brillouin zone and summing the Berry curvature on a grid, but the piecewise rule used here keeps the essential physics visible without numerical overhead.

The same mathematics also appears outside electronics. Photonic crystals, mechanical metamaterials, and ultracold atoms can all realize Chern-like topology, where the integer invariant controls one-way edge transport of light, sound, or atoms. That broad reach is another reason the two-band model remains a standard teaching example.

Seen from that wider perspective, the calculator is more than a label generator. It is a compact summary of how topology, symmetry, and gap closing fit together in one of the most studied lattice Hamiltonians in modern physics.

Enter the dimensionless mass parameter from the Qi-Wu-Zhang two-band Hamiltonian.

Enter a mass parameter to begin.