LucaYoy / Many-quantum-bodies-using-quantum-computing

Masters Dissertation
6 stars 0 forks source link

Collect DB and plot correlation functions #47

Closed LucaYoy closed 1 year ago

LucaYoy commented 1 year ago
LucaYoy commented 1 year ago

@as2457 So im having some trouble trying to compute the state from the optimised circuit returned from the HPC. Im now saving the circuit object in a pkl file that contains the optimised gates and then in my script using .computeUsingTensorDot() method to get the state. The problem is that I get memory issues and my state Mac seems to not be able to compute the state. Is this again because of the reduce() ? Screenshot 2023-04-07 at 09 52 26

LucaYoy commented 1 year ago

Update: Changed reduce method and I get same problem

LucaYoy commented 1 year ago

@NicholasSynesi you can now find the optimised gates DB on main branch, in the folder mainScripts/pklFiles/DBNicholas

LucaYoy commented 1 year ago

@NicholasSynesi maybe in your plots it would be a good idea to plot only for layers 3,5,7 to avoid clutter on one graph since its quite hard to understand what's going on with so many lines

NicholasSynesi commented 1 year ago

I was gonna wait to plot exactly what we'll need, these plots haven't been properly scaled or anything yet, it's just the data. Once we determine exactly what graphs we want in our paper I'll change them up.

NicholasSynesi commented 1 year ago

From what I can see, the G = 1 model doesn't seem to be well approximated at all, not sure if it's an error on my end because I wasn't expecting that. For the others, the approximation seems to be almost perfect for 7 layers, but before that it's quite messy

NicholasSynesi commented 1 year ago

image

@LucaYoy any idea why the G = 1 approximation is nowhere even close?

LucaYoy commented 1 year ago

@NicholasSynesi from the above it seems that the plot for the target state is not correct rather than the approximation plots

NicholasSynesi commented 1 year ago

I do agree but I've been consistent in how I plot, and the exact state for J h G = 1 'should' be image

But the fact the approximation above appears to be approximating something different I wonder what the error could be. I'll have a look now

LucaYoy commented 1 year ago

I have no idea then ☠️ Is this with both your database and mine ?

NicholasSynesi commented 1 year ago

No, I'll set some of mine to run now then

LucaYoy commented 1 year ago

make sure 150 000 sweeps, I don't think its gonna be done till tmr our meeting tho