Qedit class