The Relation between Quantum W algebras and Lie algebras
By quantizing the generalized Drinfeld-Sokolov reduction scheme for arbitrary embeddings we show that a large set of quantum W algebras can be viewed as (BRST) cohomologies of affine Lie algebras. The set contains many known algebras such as and . Our formalism yields a completely algorithmic method for calculating the W algebra generators and their operator product expansions, replacing the cumbersome construction of W algebras as commutants of screening operators. By generalizing and quantizing the Miura transformation we show that any algebra in can be embedded into the universal enveloping algebra of a semisimple affine Lie algebra which is, up to shifts in level, isomorphic to a subalgebra of the original affine algebra. Therefore {\em any} realization of this semisimple affine Lie algebra leads to a realization of the algebra. In particular, one obtains in this way a general and explicit method for constructing the free field realizations and Fock resolutions for all algebras in . Some examples are explicitly worked out.