bsc-quantic/fourier

About PA model

Closed this issue · 1 comments

Hello.
I found that part of "circuit" function of PA model wrote like below.

state = np.dot(self.k_gate(p[:6]), state)
state = np.dot(self.A_gate(p[6:9]), state)
state = np.dot(self.A_gate(p[9:15]), state)

Is it intended? I think you used KAK decomposition but the code looks not.

Hi,
Indeed we use the Cartan decomposition of SU(4) and the third line of the code should contain a 'k_gate' instead of an 'A_gate'. Thanks for noticing it!