dwave.system.temperatures.h_to_fluxbias#
- h_to_fluxbias(h: 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 problem Hamiltonian bias
hto equivalent flux bias.Unitless bias
his converted to the equivalent flux bias in units \(\Phi_0\), the magnetic flux quantum.The dynamics of
hand 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.1solver at single-qubit freezeout (\(s=0.612\)).- Parameters:
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 Per-QPU Solver Properties and Schedules section. This parameter is ignored when
Ipis specified.MAFM – Mutual inductance, \(M_{AFM}\), specified for each quantum computer in the Per-QPU Solver Properties and Schedules section.
MAFMis ignored whenIpis 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
Bis 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:
Flux-bias values producing equivalent longitudinal fields to the given
hvalues.
Examples
See the Emulate Linear Biases with Flux-Bias Offsets section.