Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 27

Toroidal Partition Functions and Modular Transformations

Recommended resources

Hello! Welcome back to our study of conformal field theory.

In our previous lessons, we've focused on CFTs defined on the complex plane. We saw how the powerful constraints of crossing symmetry, when applied to 4-point functions, allowed us to derive differential equations (the BPZ equations) and solve for the fundamental data of minimal models.

Today, we shift our focus from the plane to a new arena: the torus. Studying a theory on a compact manifold with non-trivial topology often reveals its deepest structural properties. For a 2D CFT, the torus is the simplest and most informative example. We will define the partition function on the torus, which is a generating function for the entire spectrum of operators in the theory. We will then discover that this function must obey a profound new symmetry principle: modular invariance. This principle, which is the torus analogue of crossing symmetry, will provide some of the strongest constraints on the consistency of any 2D CFT.

Your learning objective for this lesson is to define the CFT partition function on a torus and describe its modular transformation properties.

1. Putting a CFT on a Torus

A torus can be constructed by taking a parallelogram in the complex plane and identifying opposite edges. Without loss of generality, we can scale and rotate this parallelogram so that one side corresponds to the interval on the real axis, and the other side is represented by a complex number in the upper half-plane, .

This means any point in the plane is identified with for all integers . The complex number is called the modular parameter, and it uniquely specifies the shape (the complex structure) of the torus.

So, how do we define a QFT on this geometry? There are two equivalent pictures: the path integral and the Hamiltonian formalism. The latter provides a more direct link to the operator spectrum we've been studying.

To understand the Hamiltonian picture, we can view the torus as a cylinder of circumference and length , where the two ends are glued together after a spatial twist of . The propagation along the cylinder's length corresponds to Euclidean time evolution. The partition function is then a trace over the theory's Hilbert space, weighted by the appropriate evolution operator.

Modular invariance and orbifolds

The following reading from 'Modular invariance and orbifolds' by Stefan Huber provides a clear derivation of the partition function from this Hamiltonian perspective.

Please read section 3.1 'The torus' and section 3.2 'The partition function', up to and including equation (12). Focus on how the Hamiltonian and momentum operators on a cylinder are expressed in terms of Virasoro generators, and how this leads to the final trace formula.

As you've seen, the partition function on a torus with modular parameter is given by a trace over the Hilbert space of the theory:

where and .

Let's break this down:

  • Trace : Summing over all states in the theory.
  • : These operators measure the conformal dimensions (or energies) of the states.
  • : This is the Casimir energy correction, arising from the conformal transformation from the plane (where the vacuum has zero energy) to the cylinder.
  • : These complex variables encode the geometry of the torus. Since , we have , ensuring the sum over states converges.

The partition function is a cornerstone of CFT. It packages the entire spectrum of the theory—all primary operators and their descendants—into a single function of the torus's geometry.


2. Modular Invariance: The Defining Constraint

The crucial insight is that different values of can represent the exact same torus. The lattice of points can be generated by different pairs of basis vectors. For example, the basis generates the same lattice as . Similarly, the basis also generates the same lattice.

Since the partition function is a physical property of the theory on the torus, it must be independent of our choice of basis. This means must be invariant under these reparameterizations of . These transformations form the modular group, which is isomorphic to . This group is generated by two fundamental transformations.

Week 7 1 Modular Invariance

This reading from the UCSB physics course notes clearly defines the modular transformations and their physical interpretation.

Please read the section 'Modular Invariance' (just after the discussion of the Dedekind eta function). Pay attention to the definitions of the T and S operations and the statement of modular invariance in equation (10). The figures are very helpful for visualizing these transformations.

The requirement of modular invariance is that the partition function remains unchanged under the action of the generators of the modular group:

  1. T-transformation:

    This corresponds to a "Dehn twist": cutting the torus along one cycle, twisting one end by , and re-gluing.

  2. S-transformation:

    This transformation is more dramatic; it exchanges the two fundamental cycles of the torus. It essentially swaps the roles of "space" and "Euclidean time".

This principle is extraordinarily powerful. It asserts that a consistent CFT must make sense on any torus and that the physics doesn't depend on how we choose to draw its fundamental cycles.


3. Decomposing the Partition Function into Characters

To understand the consequences of modular invariance, we first decompose the partition function. The Hilbert space is built from the irreducible representations of the Virasoro algebra. Recall that these are the Verma modules (or their quotients by null states), each built on a primary state.
The full Hilbert space is a direct sum of these representations, pairing left-movers and right-movers:

Here, is the representation associated with the primary of weight , and is a matrix of non-negative integers indicating how many times the left-moving representation is paired with the right-moving representation . The matrix defines the spectrum of local operators in the theory.

The trace in the partition function can thus be decomposed. We define the Virasoro character of a representation as the trace over just that representation:

where is the number of states at level . The character is a generating function for the states in a single conformal family.

The full partition function is then a sum over these characters, weighted by the spectrum matrix :

Test your understanding!

Why is the partition function a sum of products of a holomorphic character and an anti-holomorphic character , rather than a sum of terms like that aren't separated?

Show answer

This separation is a direct consequence of the structure of the Virasoro algebra, which splits into two commuting copies, and , generated by and respectively. Because they commute, the Hilbert space factorizes into a tensor product of representations for the left-moving and right-moving sectors, . The trace over a tensor product space is the product of the traces on the individual spaces, so .


4. Consequences of Modular Invariance

The characters are not themselves modular invariant. They transform in a well-defined way. The invariance of the full partition function then constrains the allowed spectrum .

A. T-invariance ()

Under a T-transformation, . The character transforms with a simple phase:

The full partition function then transforms as:

For to be invariant, the phase factor must be 1 for every non-zero term in the sum. Assuming (for a non-chiral theory), this requires:

This means that all local operators in the theory must have integer spin . This is a remarkably strong conclusion derived purely from geometric consistency.

B. S-invariance ()

Under S-transformation, the characters mix in a more complicated way:

where is a unitary matrix known as the modular S-matrix. For the partition function to be invariant, the spectrum matrix must commute with the S-matrix transformation: .

This condition implies that if a particular representation is in the spectrum, its modular S-transform must also be constructible from the representations in the spectrum. This often forces the inclusion of multiple conformal families.

A classic example is a theory of a free fermion (). On a torus, a fermion field can have periodic (P) or anti-periodic (A) boundary conditions along each of the two cycles. This leads to four "spin structures": (A,A), (A,P), (P,A), and (P,P). Each corresponds to a different sector of the theory with a different partition function. It turns out that none of these are modular invariant on their own. The modular S-transformation mixes them. To construct a modular invariant partition function, one must sum the contributions from different sectors in a specific way. This is a general feature: modular invariance dictates the complete, consistent set of operators and their pairings.

Week 7 1 Modular Invariance

The following resource discusses this exact scenario for a free fermion, showing how different boundary conditions lead to different characters that mix under modular transformations.

Please read section 3, starting from 'The m = 3 minimal model' but focusing on the discussion of the free fermion. You don't need to follow every detail of the formulas, but focus on the concept: different boundary conditions (like anti-periodic vs periodic) exist on the torus, they correspond to different characters, and you must sum over them in a prescribed way (a 'GSO projection') to obtain a modular invariant total partition function.


Conclusion

In this lesson, we have taken a significant step by placing our CFT on a torus. This has allowed us to define the partition function, a single object that contains the theory's full operator spectrum.

Key Takeaways:

  • The partition function encodes the spectrum of a 2D CFT as a function of the torus's shape, defined by the modular parameter .
  • Physics must be independent of how we parameterize the torus. This leads to the constraint of modular invariance: must be invariant under the transformations (T) and (S).
  • The partition function is a sum of products of Virasoro characters, , which are traces over individual conformal families.
  • Modular invariance imposes powerful constraints on the operator spectrum . T-invariance forces local operators to have integer spin, while S-invariance dictates which conformal families must coexist in a consistent theory.

In our next lesson, we will make this concrete by performing our first major partition function calculation: we will compute the partition function for a free boson on a torus and explicitly verify its modular invariance. This will showcase all the principles we have discussed today in a practical setting.