Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flux crosstalk computation with flux pulse amplitude #1061

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
5 changes: 5 additions & 0 deletions src/qibocal/calibration/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ def josephson_energy(self):
/ self.charging_energy
)

def detuning(self, amplitude):
if self.flux_coefficients is None:
return 0
return np.polyval(self.flux_coefficients, amplitude)


class Readout(Model):
"""Readout parameters."""
Expand Down
141 changes: 141 additions & 0 deletions src/qibocal/calibration/dummy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"single_qubits": {
"0": {
"resonator": {
"bare_frequency": 0.0,
"dressed_frequency": 5200000000.0,
"depletion_time": 0
},
"qubit": {
"frequency_01": 4000000000.0,
"frequency_12": 4700000000.0,
"maximum_frequency": 4000000000.0,
"asymmetry": 0.0,
"sweetspot": 0.0,
"detuning_flux_params": [2, 0, 0]
},
"readout": {
"fidelity": 0.0,
"ground_state": [
0.0,
1.0
],
"excited_state": [
1.0,
0.0
]
},
"rb_fidelity": null
},
"1": {
"resonator": {
"bare_frequency": 0.0,
"dressed_frequency": 4900000000.0,
"depletion_time": 0
},
"qubit": {
"frequency_01": 4200000000.0,
"frequency_12": 4855663000.0,
"maximum_frequency": 4000000000.0,
"asymmetry": 0.0,
"sweetspot": 0.0,
"detuning_flux_params": [2, 0, 0]
},
"readout": {
"fidelity": 0.0,
"ground_state": [
0.25,
0.0
],
"excited_state": [
0.0,
0.25
]
},
"rb_fidelity": null
},
"2": {
"resonator": {
"bare_frequency": 0.0,
"dressed_frequency": 6100000000.0,
"depletion_time": 0
},
"qubit": {
"frequency_01": 4500000000.0,
"frequency_12": 2700000000.0,
"maximum_frequency": 4000000000.0,
"asymmetry": 0.0,
"sweetspot": 0.0,
"detuning_flux_params": [2, 0, 0]
},
"readout": {
"fidelity": 0.0,
"ground_state": [
0.5,
0.0
],
"excited_state": [
0.0,
0.5
]
},
"rb_fidelity": null
},
"3": {
"resonator": {
"bare_frequency": 0.0,
"dressed_frequency": 5800000000.0,
"depletion_time": 0
},
"qubit": {
"frequency_01": 4150000000.0,
"frequency_12": 5855663000.0,
"maximum_frequency": 4000000000.0,
"asymmetry": 0.0,
"sweetspot": 0.0,
"detuning_flux_params": [2, 0, 0]
},
"readout": {
"fidelity": 0.0,
"ground_state": [
0.75,
0.0
],
"excited_state": [
0.0,
0.75
]
},
"rb_fidelity": null
},
"4": {
"resonator": {
"bare_frequency": 0.0,
"dressed_frequency": 5500000000.0,
"depletion_time": 0
},
"qubit": {
"frequency_01": 4100000000.0,
"frequency_12": 5855663000.0,
"maximum_frequency": 4000000000.0,
"asymmetry": 0.0,
"sweetspot": 0.0,
"detuning_flux_params": [2, 0, 0]
},
"readout": {
"fidelity": 0.0,
"ground_state": [
1.0,
0.0
],
"excited_state": [
0.0,
1.0
]
},
"rb_fidelity": null
}
},
"two_qubits": {
}
}
Loading