pyEPR icon indicating copy to clipboard operation
pyEPR copied to clipboard

pyEPR issue with selction of modes

Open davidjhonsonn opened this issue 5 months ago • 5 comments

First of all, thank you very much for your tutorials in pyEPR, they saved me!

I'm a master student of Roma3, working at INFN for a design of two transmon qubits.

The code I'm using is similar to this from Daniel Cohen Hillel : 🔗 Coupling between the readout resonator and transmon - Daniel Cohen Hillel , in which he selects only 2 of the 5 modes (otherwise the simulation is to slow).

But with the same code I got an error: '[1] not in index' when I run this cell: epra = epr.QuantumAnalysis(eprh.data_filename) epra.analyze_all_variations(cos_trunc = 8, fock_trunc = 15);

Probably is something related to the index, because after selecting the modes 0 and 4 it doesn't find anymore the modes 1 in the array.

I tried also selecting the mode again in the analyze_all_variations but I got the error "index 4 is out of bounds for axis 0 with size 2"

davidjhonsonn avatar Sep 19 '24 10:09 davidjhonsonn