Changed criteria for raising not implemented error
Modifief cqed to make it work
Added module for qubits