Can we create a Controlled gate with below functionality?
if {a==|1> && b==|1>} then {qc.x(b)}
Basically, a CCX gate but the output Qubit is actually one of the input Qubits. Apparently, In ccx/mct repetition isn't allowed!
Please do let me know. TIA!