<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://spindynamics.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Rlx_phonon.m</id>
	<title>Rlx phonon.m - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://spindynamics.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Rlx_phonon.m"/>
	<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Rlx_phonon.m&amp;action=history"/>
	<updated>2026-12-06T12:15:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.15</generator>
	<entry>
		<id>https://spindynamics.org/wiki/index.php?title=Rlx_phonon.m&amp;diff=10355&amp;oldid=prev</id>
		<title>Kuprov: New function page for rlx_phonon.m (Spinach 2.13), carried over from the source header</title>
		<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Rlx_phonon.m&amp;diff=10355&amp;oldid=prev"/>
		<updated>2026-09-22T15:31:48Z</updated>

		<summary type="html">&lt;p&gt;New function page for rlx_phonon.m (Spinach 2.13), carried over from the source header&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:rlx_phonon.m}} __NOTOC__&lt;br /&gt;
Spin-phonon relaxation in the generalised Lindblad form of Saito, Miyashita, and De Raedt (Phys. Rev. B 60, 14553 (1999)), as used by Nakano and Miyashita (J. Phys. Soc. Jpn. 70, 2151 (2001)) for the magnetisation dynamics of molecular magnets. A phonon bath with the spectral density I(w)=I0*w^alpha*theta(w) couples to the spin system through a Hermitian operator X; the dissipator is&lt;br /&gt;
&lt;br /&gt;
               d(rho)/dt = -pi*([X,R*rho]+[X,R*rho]&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
where the thermally dressed coupling operator R is built in the eigenbasis of the current Hamiltonian from the transition frequencies w_kn=(E_k-E_n):&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;k|R|n&amp;gt; = &amp;lt;k|X|n&amp;gt; * (I(w_kn)-I(-w_kn))/(exp(hbar*w_kn/kT)-1)&lt;br /&gt;
&lt;br /&gt;
and the square of the coupling constant lambda of the original papers is absorbed into the prefactor I0 of the spectral density.&lt;br /&gt;
&lt;br /&gt;
The function returns either the dressed operator R in the basis in which H and X are supplied, for dissipators applied as Hilbert space matrix products, or the Liouville space superoperator of the dissipator: the Hermitian conjugate term is linear in rho for Hermitian rho, and so the dissipator is an ordinary superoperator acting on the column-stretched density matrix. The Hamiltonian is diagonalised unless it is already diagonal, X is transformed into that eigenbasis, the thermal factor is applied elementwise over the transition frequency matrix, and the result is transformed back for the &amp;#039;hilb&amp;#039; form or assembled from Kronecker products of X and R for the &amp;#039;liouv&amp;#039; form.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
            R=rlx_phonon(spin_system,H,X,I0,alpha,T,form)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
    H     - Hilbert space Hamiltonian, rad/s, at the current&lt;br /&gt;
            magnetic field and orientation&lt;br /&gt;
&lt;br /&gt;
    X     - Hilbert space spin-phonon coupling operator; the&lt;br /&gt;
            coupling constant lambda is absorbed into I0&lt;br /&gt;
&lt;br /&gt;
    I0    - phonon spectral density prefactor times lambda^2,&lt;br /&gt;
            such that lambda^2*I(w)=I0*w^alpha; the units are&lt;br /&gt;
            (rad/s)^(1-alpha)&lt;br /&gt;
&lt;br /&gt;
    alpha - spectral density exponent, 1 (Ohmic) or above&lt;br /&gt;
            (super-Ohmic); sub-Ohmic baths make the zero&lt;br /&gt;
            frequency limit diverge and are not supported&lt;br /&gt;
&lt;br /&gt;
    T     - phonon bath temperature, Kelvin&lt;br /&gt;
&lt;br /&gt;
    form  - &amp;#039;hilb&amp;#039; returns the dressed coupling operator R,&lt;br /&gt;
            &amp;#039;liouv&amp;#039; returns the relaxation superoperator&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
    R     - for &amp;#039;hilb&amp;#039;, the dressed coupling operator in the&lt;br /&gt;
            basis in which H and X are given, such that the&lt;br /&gt;
            dissipator is -pi*([X,R*rho]+[X,R*rho]&amp;#039;); for&lt;br /&gt;
            &amp;#039;liouv&amp;#039;, the relaxation superoperator in the&lt;br /&gt;
            Liouville space of that basis, to be added to&lt;br /&gt;
            the Liouvillian as L=H_comm+1i*R&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
See the pulsed-field magnetometry case studies in the examples/giant_spin/case_studies/ho_twelfth_rank directory, where [[pulsed_field.m]] calls this function on every stair of the field profile.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
The dissipator depends on the Hamiltonian and must be rebuilt whenever the field changes; [[pulsed_field.m]] does this at every stair of the field profile, supplying H as the diagonal matrix of its eigenvalues and X in the same eigenbasis, in which case the diagonalisation is skipped and the dressed operator is returned in that eigenbasis.&lt;br /&gt;
&lt;br /&gt;
The thermal factor has a finite limit at zero frequency for alpha&amp;gt;=1, which is taken analytically when hbar*w/kT is below 1e-3; Boltzmann exponents above 700 are treated as infinite.&lt;br /&gt;
&lt;br /&gt;
The trace is conserved (the unit state is a left null vector of the superoperator) because X is Hermitian; the unit state itself is not stationary, the relaxation destination is the thermal equilibrium state of H at temperature T.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[pulsed_field.m]], [[rlx_modes.m]], [[lindbladian.m]], [[relaxation.m]], [[equilibrium.m]], [[Kernel utilities]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Version 2.13, authors: [[Ilya Kuprov]]&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Kuprov</name></author>
		
	</entry>
</feed>