Add apply_gate() method for MPS
Add apply_gate() method for MPS

apply_gate() method for MatrixProductState applies a gate to successive
sites and puts the MPS back back into the original form.

andrewdarmawan/tncontract