Detail:
Abstract: We develop an efficient scheme that allows for arbitrary operations on a cavity mode using a strongly dispersive qubit-cavity interaction and time-dependent drives. The scheme can readily be implemented using circuit QED systems. Moreover, the scheme can be extended for quantum error correction to protect information encoded in photonic cat states.