units
Units handling.
Ec_to_inv_pF(Ec)
GHz -> 1/picoFarad
Source code in jaxquantum/utils/units.py
81 82 83 84 85 86 87 88 | |
inductance_to_inductive_energy(L)
Convert inductance to inductive energy E_L.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
L
|
float
|
Inductance in nH. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
Inductive energy in GHz. |
Source code in jaxquantum/utils/units.py
57 58 59 60 61 62 63 64 65 66 67 68 69 | |
inductive_energy_to_inductance(El)
Convert inductive energy E_L to inductance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
El
|
float
|
inductive energy in GHz. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
Inductance in nH. |
Source code in jaxquantum/utils/units.py
44 45 46 47 48 49 50 51 52 53 54 55 | |
inv_pF_to_Ec(inv_pfarad)
1/picoFarad -> GHz
Source code in jaxquantum/utils/units.py
72 73 74 75 76 77 78 | |
n_thermal(frequency, temperature)
Calculate the average thermal photon number for a given frequency and temperature.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
frequency
|
float
|
Frequency in GHz. |
required |
temperature
|
float
|
Temperature in Kelvin. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Average thermal photon number. |
Source code in jaxquantum/utils/units.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |