Penalty Function for XOR Gate.

29 Views Asked by At

I have been reading a paper on Gates for Adiabatic Quantum Computing. The paper consists of penalty functions for different classical gates like AND, OR, XOR, etc. enter image description here Can someone explain how to get the penalty function for XOR Gate? I do not quite understand the process and I can not find any good resource.