dwave.system.temperatures.fluxbias_to_h#
- fluxbias_to_h(fluxbias: float | ndarray = 1, Ip: float | None = None, B: float = 1.391, MAFM: float | None = 1.647, units_Ip: str | None = 'uA', units_B: str = 'GHz', units_MAFM: str | None = 'pH') float | ndarray [source]#
Convert flux biases to equivalent problem Hamiltonian bias
h
.Converts flux biases in units of \(\Phi_0\), the magnetic flux quantum, to equivalent problem Hamiltonian biases
h
, which are unitless.The dynamics of
h
and flux bias differ, as described in theIp_in_units_of_B()
function. Equivalence at a specific point in the anneal is valid under a freeze-out (quasi-static) hypothesis.Defaults are based on the published physical properties of Leap‘s
Advantage_system4.1
solver at single-qubit freezeout (\(s=0.612\)).- Parameters:
fluxbias – A flux bias in units of \(\Phi_0\).
Ip – Persistent current, \(I_p(s)\), in units of amps or microamps. When not provided, inferred from \(M_{AFM}\) and and \(B(s)\) based on the relation \(B(s) = 2 M_{AFM} I_p(s)^2\).
B – Annealing schedule field, \(B(s)\), associated with the problem Hamiltonian. Schedules are provided for each quantum computer in the system documentation. This parameter is ignored when
Ip
is specified.MAFM – Mutual inductance, \(M_{AFM}\), specified for each quantum computer in the system documentation.
MAFM
is ignored whenIp
is specified.units_Ip – Units in which the persistent current,
Ip
, is specified. Allowed values are'uA'
(microamps) and'A'
(amps)units_B – Units in which the schedule
B
is specified. Allowed values are'GHz'
(gigahertz) and'J'
(Joules).units_MAFM – Units in which the mutual inductance,
MAFM
, is specified. Allowed values are'pH'
(picohenry) and'H'
(Henry).
- Returns:
h
values producing equivalent longitudinal fields to the flux biases.