Simplest LED-transistor switch LED being on in switch's off-state
The QED 123 is a infrared LED. Light is not visible. 
The 1k is to high. Calculate the correct value. The QED 123 = 1.7V 100mA says the datasheet.
So 1.3V (3V-1.7V) over the resistor (when the transistor is fully open).
The (If) 100mA 1.3/0.1= 13 ohm. 15ohm is ok.
The switch circuit should work. But best to connect the base to ground with a resistor if the transitor opens slightly a wierd way when the switch is open.