No. Pressing Q in Minecraft drops the item currently held in your hotbar, and that is all it does. Experience orbs are not an inventory item, so there is nothing for the key to throw.
Experience is released when you die, when you use certain enchanted tools on eligible blocks, or when you break containers such as spawners. Once the orbs exist, walking near them collects them automatically.
If you are playing with a mod or a custom keybind setup, the answer could differ, but in the unmodified game Q is strictly an item-drop key.