The gauge-fixed world-sheet metric is

By imposing the equations of motion, we obtain as a constraint in the canonical formalism. Then,

In light-cone coordinates,

Closed String

We define the Fourier modes of the closed strings constraints by

where .

The constraints are then . These are known as the classical Virasoro constraints. They have the following Poisson brackets (Virasoro Algebra):

  • .

The combinations of and are

Mass-Shell Constraint

Then,

where we have considered the relativistic definition of mass .

Level-Matching Constraint

is called level-matching. In terms of the mode expansion,

.

Open String

The Neumann boundary conditions relate the left-moving and right-moving modes. Hence, there will be no level-matching constraint.

We have a single set of Virasoro generators

.

These generators satisfy the Poisson brackets .

Mass-Shell Constraint

with the same relativistic definition for mass.