According to IBM's websiteIBM's website,
where we would [classically] have done an assignment (x=y), we instead initialize the target (x=0) and use exclusive or (x^=y).[...]where we would [classically] have done an assignment (x=y), we instead initialize the target (x=0) and use exclusive or (x^=y).
This sounds like x is a copy (clone) of y, however cloning is impossible in quantum mechanicscloning is impossible in quantum mechanics. What's going on?