API
Index
Reference
C13NV.Models.ket — Method
Construct an eigenstate
Ψ = ket(label, labels; strict = true)constructs the canonical basis state identified by label in a Hilbert space with a basis defined by labels. If label is not an element of labels, return a zero-vector if strict = false, and error if strict = true (default). The use of strict = false can be useful when working in a truncated Hilbert space.
C13NV.Models.make_nv_system — Method
Construct the system.
H_or_L, labels = make_nv_system(; kwargs...)return a generator, and a list of labels, each label a tuple of strings.
Keyword Arguments
hyperfine_tensors: Required ifA_zz,A_zx,A_zyare not given. A vector of 3×3 matrices. The number length of the vector, i.e., the number of matrices given determines the number of C-13 atoms in the model. Defaults to a single hyperfine tensor with elementsA_zz,A_zx,A_zy.A_zz,A_zx,A_zy: Required ifhyperfine_tensorsis not given, the strength of the hyperfine coupling along the 3 spatial axes relevant in the RWA, for a single C-13 atom.B: Required. The magnitude of the magnetic fieldω₊ = nothing: The control $ω_{+}(t) ≡ ∂ϕ_{+}(t)/∂t$ω₋ = nothing: The control $ω_{-}(t) ≡ ∂ϕ_{-}(t)/∂t$Ω₊ = nothing: The control $Ω_{+}(t)$Ω₋ = nothing: The control $Ω_{-}(t)$μ = 1.0: The reduction factor for $Ω_{±}(t)$.Λ = nothing: The time-dependent optical drive. If given, implies the use of the full optical Hilbert space.frame = :rwa: One of:rwaor:diag. If:diag, diagonalize the hyperfine interaction.θ = 0.0: The azimuthal angle of the magnetic fieldϕ = 0.0: The polar angle of the magnetic fieldγ_c = 1.07kHz/Gauss: The C-13 nuclear gyromagnetic ratioδ₋ = 0.0: The detuning of the $|0⟩ ↔ |-1⟩$ transition. Defined as $δ_{-} = D - B γ_e cos(θ) - ω{-}$δ₊ = 0.0: The detuning of the $|0⟩ ↔ |+1⟩$ transition. Defined as $δ_{+} = D - B γ_e cos(θ) - ω{+}$Γ = 0.0: Rate for the $|E⟩ → |G⟩$ spontaneous decayΓ₀ = 0.0: Rate for the $|E,0⟩ → |M⟩$ spontaneous decayΓ₊₁ = 0.0: Rate for the $|E,+1⟩ → |M⟩$ spontaneous decayΓ₋₁ = 0.0: Rate for the $|E,-1⟩ → |M⟩$ spontaneous decayΣ₀ = 0.0: Rate for the $|M⟩ → |G,0⟩$ spontaneous decayΣ₊₁ = 0.0: Rate for the $|M⟩ → |G,+1⟩$ spontaneous decayΣ₋₁ = 0.0: Rate for the $|M⟩ → |G,-1⟩$ spontaneous decayγ₊₁ = 0.0: Rate for the $|G,+1⟩ → |G,0⟩$ spontaneous decayγ₋₁ = 0.0: Rate for the $|G,-1⟩ → |G,0⟩$ spontaneous decay
C13NV.Defaults.DEFAULTS — Constant
A dict of keyword arguments with default values.
Calling `makenvsystem(; DEFAULTS...) is equivalent to
make_nv_system(;
A_zz = 1.0MHz,
A_zx = 0.3MHz,
B = 120Gauss,
γ_c = 1.07kHz/Gauss,
δ₋ = 0.0,
δ₊ = 0.0,
Γ = (1 / (12ns)),
Γ₀ = 0.0,
Γ₊₁ = (1 / (24ns + 0.9ns)),
Γ₋₁ = (1 / (24ns + 0.9ns)),
Σ₀ = (1 / (219ns)),
Σ₊₁ = (1 / (219ns)),
Σ₋₁ = (1 / (219ns)),
)Note that it is possible to override default values by passing it again after the DEFAULTS..., e.g., make_nv_system(; DEFAULTS..., A_zz = 1.5MHz)