Documentation for ITensorsOpenSystems.AnalyticSolutions
ITensorsOpenSystems.AnalyticSolutions.AbstractAnalyticChain — TypeAbstractAnalyticChainAn abstract type for analytic chain models.
ITensorsOpenSystems.AnalyticSolutions.NotImplemented — TypeNotImplementedException thrown when an analytic solution is not implemented.
ITensorsOpenSystems.AnalyticSolutions.SiteDissipation — TypeSiteDissipationHolds dissipation parameters for a site:
f: bias parameterΓ: bath coupling strengthdephase: dephasing parameter
ITensorsOpenSystems.AnalyticSolutions.UniformXXChain — TypeUniformXXChain(N::Int, J::Float64, h::Float64; leftbias=0, leftbathcoupling=0, leftdephasing=0, rightbias=0, rightbathcoupling=0, rightdephasing=0)Construct a new UniformXXChain with the specified parameters.
Arguments
N::Int: The chain length (number of sites).J::Float64: The coupling constant.h::Float64: The applied field.
Keyword Args
leftbias::Float64: The bias parameter for the left dissipation (default: 0).leftbathcoupling::Float64: The bath coupling for the left dissipation (default: 0).leftdephasing: The dephasing for the left dissipation (default: 0).rightbias::Float64: The bias parameter for the right dissipation (default: 0).rightbathcoupling::Float64: The bath coupling for the right dissipation (default: 0).rightdephasing::Float64: The dephasing for the right dissipation (default: 0).
Returns
A new instance of UniformXXChain.
ITensorsOpenSystems.AnalyticSolutions.appliedfield — Functionappliedfield(c::UniformXXChain) -> Float64Arguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
The applied field h of the chain c.
ITensorsOpenSystems.AnalyticSolutions.bias — Functionbias(s::SiteDissipation) -> Float64Arguments
s::SiteDissipation: A site dissipation configuration.
Returns
The bias value f of the site dissipation.
ITensorsOpenSystems.AnalyticSolutions.chainlength — Functionchainlength(c::UniformXXChain) -> Int64Arguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
The chain length (number of sites) contained in c.
ITensorsOpenSystems.AnalyticSolutions.coupling — Functioncoupling(s::SiteDissipation) -> Float64Arguments
s::SiteDissipation: A site dissipation configuration.
Returns
The coupling strength Γ of the site dissipation.
coupling(c::UniformXXChain) -> Float64Arguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
The coupling constant J of the chain c.
ITensorsOpenSystems.AnalyticSolutions.current — Functioncurrent(c::UniformXXChain) -> Float64Calculate and return the analytic current for the chain c.
Arguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
The computed current as a Float64.
Throws
NotImplementedif:- The applied field is nonzero.
- The dissipation parameters for the left and right ends are asymmetric.
- Nonzero dephasing is present at either end.
ITensorsOpenSystems.AnalyticSolutions.dephasing — Functiondephasing(s::SiteDissipation) -> Float64Arguments
s::SiteDissipation: A site dissipation configuration.
Returns
The dephasing parameter of the site dissipation.
ITensorsOpenSystems.AnalyticSolutions.leftdissipation — Functionleftdissipation(c::UniformXXChain) -> SiteDissipationArguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
The SiteDissipation parameters for the left end of the chain.
ITensorsOpenSystems.AnalyticSolutions.magnetization — Functionmagnetization(c::UniformXXChain) -> Vector{Float64}Calculate and return the analytic magnetization profile for the chain c.
Arguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
A vector containing the magnetization profile.
Throws
NotImplementedif:- The applied field is nonzero.
- The dissipation parameters for the left and right ends are asymmetric.
- Nonzero dephasing is present at either end.
ITensorsOpenSystems.AnalyticSolutions.reversebias — Functionreversebias(s::SiteDissipation) -> SiteDissipationArguments
s::SiteDissipation: A site dissipation configuration.
Returns
A new SiteDissipation with the bias reversed (i.e. 1 - s.f), while keeping the coupling and dephasing unchanged.
ITensorsOpenSystems.AnalyticSolutions.rightdissipation — Functionrightdissipation(c::UniformXXChain) -> SiteDissipationArguments
c::UniformXXChain: An instance ofUniformXXChain.
Returns
The SiteDissipation parameters for the right end of the chain.