I want to make a 2 qubit circuit such that the non-unitary program will transform the regular basis in the way that:
$|0 0\rangle \to |00\rangle$
$|0 1\rangle \to |01\rangle$
$|10\rangle \to |01\rangle$ (the only one that affected)
$|11\rangle \to |11\rangle$
The only way I think of doing it, is after measuring the circuit I will change the classical outcomes so it will fit the transformation, for example in the classic way I would code:
if c[0]==1 & c[1]==0
c[0]==0
c[1]==1
but I didn`t find a way to write it in Qiskit language, please help.