To implement the classical constraints in canonical quantisation, we must promote the Fourier modes of the energy-momentum tensor to quantum operators. Classically,

where for the open string and for the closed string.

Since the classical expressions are quadratic in the raising and lowering operators, promoting them to quantum operators is ambiguous due to non-trivial commutation relations. Since and commute unless , the only ambiguity arises in : we would choose or or a linear combination of both for each .

Let us define quantum operators by normal ordering and then parametrise by a constant.

.

We can parametrise this by allowing a shift of , where is an arbitrary constant parameter. Then, from the properties of raising and lowering operators, .

Now, , known as Virasoro algebra, is the result because manipulations used in the computation of Poisson brackets will no longer be valid due to infinite ordering ambiguities.