Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joachim Brand <j.brand@massey.ac.nz>
  • Loading branch information
christofbradly and joachimbrand authored Sep 24, 2023
1 parent 3fbf195 commit c120354
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Hamiltonians/HOCartesianCentralImpurity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function log_abs_oscillator_zero(n)
end

"""
ho_delta_potential(S, i, j; vals)
ho_delta_potential(S, i, j; [vals])
Returns the product of two harmonic oscillator functions
evaluated at the origin,
Expand Down Expand Up @@ -65,7 +65,8 @@ Matrix elements ``V_{\\mathbf{ij}}`` are for a delta function potential calculat
V_{\\mathbf{ij}} = \\prod_{d \\in x, y,\\ldots} \\psi_{i_d}(0) \\psi_{j_d}(0).
```
Only even parity states feel this impurity, so all ``i_d`` are even. Note that the matrix
representation of this Hamiltonian is completely dense in the even-parity subspace.
representation of this Hamiltonian for a single particle is completely dense in the even-parity
subspace.
# Arguments
Expand Down

0 comments on commit c120354

Please sign in to comment.