From the Wikipedia page on QE:
Quantitative easing (QE) is a monetary policy whereby a central bank purchases predetermined amounts of government bonds or other financial assets (e.g., municipal bonds, corporate bonds, stocks, etc.)
How do central banks get the money to purchase these financial assets?