Prompt:
You are a physicist helping me to construct Hamiltonian and perform Hartree-Fock step by step based on my instructions.
You should follow the instruction strictly.
Your reply should be succinct while complete. You should not expand any unwanted content.
You will be learning background knowledge by examples if necessary.
Confirm and repeat your duty if you understand it.
Prompt:
You are a physicist assisting me in constructing a Hamiltonian and/or performing Hartree-Fock calculations, adhering meticulously to my instructions. Your responses should be succinct yet comprehensive, without incorporating any unnecessary information. When needed, you will learn and understand relevant background knowledge through examples.
First, you will be presented with a background summary pertaining to the question. Following this, you will be posed with a question. Your responses should integrate information from both the background and the question.
If you encounter any inconsistencies between the information in the question and the background, prioritize the information provided in the question.
Prompt:
Below is a conversation about a physics problem showing after ```.
The format is 1. Background of the question. 2: Question. 3: Answer.
You should summarize the history.
You should remove redundant information, and keep the main physics,especially, paying attention to the latex equations.
Return the summarized text.
**Background**
{background}
**Question**
{question}
**Answer**
{answer}
Prompt:
You will be instructed to describe the kinetic term of Hamiltonian in {system} in the {real|momentum} space in the {single-particle|second-quantized} form.
The degrees of freedom of the system are: {degrees_of_freedom}.
Express the Kinetic Hamiltonian {kinetic_symbol} using {variable} which are only on the diagonal terms, and arrange the basis in the order of {order}. [Note that the sublattice degrees of freedom is suppressed for now and will be stated later]
Use the following conventions for the symbols:
{definition_of_variables}
Prompt:
You will be instructed to describe the kinetic term of Hamiltonian in {system} in the {real|momentum} space in the {single-particle|second-quantized} form.
The degrees of freedom of the system are: {degrees_of_freedom}.
Express the Kinetic Hamiltonian {kinetic_symbol} using {dispersion_symbol}, {annihilation_op}, and {creation_op}, where the summation of
Use the following conventions for the symbols:
{definition_of_variables}
Prompt:
You will be instructed to describe the kinetic term of Hamiltonian in {system} in the {real|momentum} space in the {single-particle|second-quantized} form.
The degrees of freedom of the system are: {degrees_of_freedom}
The kinetic term is a tight-binding model composed of the following hopping process:
{site i and site j with the amplitude hopping}
[You should ensure the hermiticity of the Hamiltonian]
The summation should be taken over all {degrees_of_freedom} and all {real|momentum} space positions.
Return the Kinetic Hamiltonian {kinetic_symbol}.
Use the following conventions for the symbols:
{definition_of_variables}
Prompt:
You will be instructed to construct each term, namely {Energy_dispersion}.
For all energy dispersions, {Energy_dispersion}, it characterizes the {parabolic|Dirac|cos} dispersion for {electrons|holes}.
[In addition, a shift of {momentum_shift} in the momentum
You should follow the EXAMPLE below to obtain the correct energy dispersion, select the correct EXAMPLE by noticing the type of dispersion.
Finally, in the real space, the momentum
You should recall that {expression_kinetic}.
Return the expression for {Energy_dispersion} in the Kinetic Hamiltonian, and substitute it into the Kinetic Hamiltonian {kinetic_symbol}.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE 1:
A parabolic dispersion for electron is
EXAMPLE 2:
A cos dispersion is
EXAMPLE 3:
A dirac dispersion for electron/hole is a 2 by 2 matrix, i.e., $h_{{\theta}}(k)=-\hbar v_D |k| \begin{{pmatrix}} 0 & e^{{i(\theta_{{k}}-\theta)}}\ e^{{-i(\theta_{{\bar{{k}}}}-\theta)}} & 0 \end{{pmatrix}}$, where
Prompt:
You will be instructed to describe the potential term of Hamiltonian {potential_symbol} in the {real|momentum} space in the {single-particle|second-quantized} form.
The potential Hamiltonian has the same degrees of freedom as the kinetic Hamiltonian.
The diagonal terms are {diagonal_potential}.
The off-diagonal terms are the coupling between {potential_degrees_of_freedom}, {offdiagonal_potential}, which should be kept hermitian.
All other terms are zero.
Express the potential Hamiltonian {potential_symbol} using {diagonal_potential} and {offdiagonal_potential}.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
Prompt:
You will be instructed to construct each term {potential_symbol}, namely, {Potential_variables}.
The expression for diagonal terms are: {expression_diag}.
The expression for off-diagonal terms are: {expression_offdiag}.
You should recall that {expression_Potential}.
Return the expressions for {Potential_variables}, and substitute it into the potential Hamiltonian {potential_symbol}.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
Prompt:
You will be instructed to construct the interaction part of the Hamiltonian, {second_int_symbol} in the real space in the second-quantized form.
The interacting Hamiltonian has the same degrees of freedom as the kinetic Hamiltonian {kinetic_symbol}.
The interaction is a density-density interaction composed of the following process:
{site i and site j with the interaction strength}
The summation should be taken over all {degrees_of_freedom} and all real space positions.
Return the interaction term {second_int_symbol} in terms of {density_symbol}.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know): {definition_of_variables}
Prompt:
You will be instructed to construct the interaction part of the Hamiltonian {second_int_symbol} in the momentum space.
The interaction Hamiltonian is a product of four parts.
The first part is the product of four operators with two creation and two annihilation operators following the normal order, namely, creation operators are before annihilation operators. You should follow the order of
The third part is the interaction form. You should use {interaction} with
The fourth part is the normalization factor, you should use {normalization_factor} here.
Finally, the summation should be running over all {index_of_operator}, and {momentum}
Return the interaction term {second_int_symbol} in terms of {op} and
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
Prompt:
You will be instructed to construct the second quantized form of the total noninteracting Hamiltonian in the {real|momentum} space.
The noninteracting Hamiltonian in the {real|momentum} space {nonint_symbol} is the sum of Kinetic Hamiltonian {kinetic_symbol} and Potential Hamiltonian {potential_symbol}.
To construct the second quantized form of a Hamiltonian. You should construct the creation and annihilation operators from the basis explicitly. You should follow the EXAMPLE below to convert a Hamiltonian from the single-particle form to second-quantized form.
Finally by "total", it means you need to take a summation over the {real|momentum} space position {$r$|$k$}.
Return the second quantized form of the total noninteracting Hamiltonian {second_nonint_symbol}
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE:
For a Hamiltonian
The corresponding second quantized form is
Prompt:
You will be instructed to expand the second-quantized form Hamiltonian {second_nonint_symbol} using {matrix_element_symbol} and {basis_symbol}. You should follow the EXAMPLE below to expand the Hamiltonian.
You should use any previous knowledge to simplify it. For example, if any term of {matrix_element_symbol} is zero, you should remove it from the summation.
You should recall that {second_nonint_symbol} is {expression_second_nonint}.
Return the expanded form of {second_nonint_symbol} after simplification.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE:
For a
Prompt:
You will be instructed to convert the total noninteracting Hamiltonian in the second quantized form from the basis in real space to the basis by momentum space.
To do that, you should apply the Fourier transform to {real_creation_op} in the real space to the {momentum_creation_op} in the momentum space, which is defined as {definition_of_Fourier_Transformation}, where {real_variable} is integrated over the {entire_real|first_Brillouin_Zone}. You should follow the EXAMPLE below to apply the Fourier transform.
Express the total noninteracting Hamiltonian {second_nonint_symbol} in terms of {momentum_creation_op}. Simplify any summation index if possible.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE:
Write a Hamiltonian
Define the Fourier transform
This leads to the inverse Fourier transform
Thus, substitute
, where we define the Fourier transform of
Prompt:
You will be instructed to convert the noninteracting Hamiltonian {nonint_symbol} in the second quantized form from the basis in real space to the basis in momentum space.
To do that, you should apply the Fourier transform to {real_creation_op} in the real space to the {momentum_creation_op} in the momentum space, which is defined as {definition_of_Fourier_Transformation}, where {real_variable} is integrated over all sites in the entire real space. You should follow the EXAMPLE below to apply the Fourier transform. [Note that hopping have no position dependence now.]
You should recall that {nonint_symbol} is {expression_nonint}
Express the total noninteracting Hamiltonian {nonint_symbol} in terms of {momentum_creation_op}. Simplify any summation index if possible.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know): {definition_of_variables}
===
EXAMPLE:
Write a Kinetic Hamiltonian
Define the Fourier transform
This leads to the inverse Fourier transform
Thus, substitute
The Hamiltonian become
therefore
Prompt:
You will be instructed to convert the interacting Hamiltonian, {second_int_symbol}, in the {single-particle|second-quantized} form the basis in real space to the basis in momentum space.
To do that, you should apply the Fourier transform to {real_creation_op} in the real space to the {momentum_creation_op} in the momentum space, which is defined as {definition_of_Fourier_Transformation}, where {real_variable} is integrated over all sites in the entire real space, and {momentum_var} is defined within the first Brillouin zone. You should follow the EXAMPLE below to apply the Fourier transform. [Note that interaction have no position dependence now]
You should recall that {second_int_symbol} is {expression_int}.
Express {second_int_symbol} in terms of {momentum_creation_op}. Simplify any summation index if possible.
===
EXAMPLE:
Write an interacting Hamiltonian
Define the Fourier transform
This leads to the inverse Fourier transform
Thus, substitute
The Hamiltonian become
Therefore,
Prompt:
You will be instructed to perform a particle-hole transformation.
Define a hole operator, {hole_op}, which equals {particle_op}.
You should replace {particle_creation_op} with {hole_creation_op}, and {particle_annihilation_op} with {hole_annihilation_op}. You should follow the EXAMPLE below to apply the particle-hole transformation.
You should recall that {expression_particle_Ham}.
Return the {second_nonint_symbol} in the hole operators.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE:
Give a Hamiltonian
Prompt:
You will be instructed to simplify the {second_nonint_symbol} in the hole basis.
You should use canonical commutator relation for fermions to reorder the hole operator to the normal order. Normal order means that creation operators always appear before the annihilation operators. You should follow the EXAMPLE below to simplify it to the normal order.
Express the {second_nonint_symbol} in the normal order of {hole_op} and also make {index_1} always appear before {index_2} in the index of {op} and {Ham_op}.
You should recall that {expression_hole_Ham}
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE:
For
This gives
Substitute it into
The first term is simply
Relabeling the index of
Thus, we end up in
Prompt:
You will be instructed to perform a Hartree-Fock approximation to expand the interaction term, {second_int_symbol}.
You should use Wick's theorem to expand the four-fermion term in {second_int_symbol} into quadratic terms. You should strictly follow the EXAMPLE below to expand using Wick's theorem, select the correct EXAMPLE by noticing the order of four-term product with and without
You should only preserve the normal terms. Here, the normal terms mean the product of a creation operator and an annihilation operator.
You should recall that {second_int_symbol} is {expression_int}.
Return the expanded interaction term after Hartree-Fock approximation as {Hartree_Fock_symbol}.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
===
EXAMPLE 1:
For a four-fermion term
Be cautious about the order of the index and sign before each term here.
EXAMPLE 2:
For a four-fermion term
Be cautious about the order of the index and sign before each term here.
Prompt:
You will be instructed to extract the quadratic terms in the {Hartree_Fock_term_symbol}.
The quadratic terms mean terms that are proportional to {bilinear_op}, which excludes terms that are solely expectations or products of expectations.
You should only preserve the quadratic terms in {Hartree_Fock_term_symbol}, denoted as {Hartree_Fock_second_quantized_symbol}.
You should recall that {Hartree_Fock_term_symbol} is {expression_HF}.
Return {Hartree_Fock_second_quantized_symbol}.
Use the following conventions for the symbols (You should also obey the conventions in all my previous prompts if you encounter undefined symbols. If you find it is never defined or has conflicts in the conventions, you should stop and let me know):
{definition_of_variables}
Prompt:
You will be instructed to keep only the Hartree term in {Hartree_Fock_second_quantized_symbol}.
Here, Hartree term only means that only the expected value in the form {expected_value_Hartree} (Note that the two indices are the same) should be the preserved. All other expected value terms should be dropped.
You should recall that {Hartree_Fock_second_quantized_symbol} is {expression_HF}
Return the simplified Hamiltonian with {Hartree_second_quantized_symbol}.
Prompt:
You will be instructed to keep only the Fock term in {Hartree_Fock_second_term_symbol}.
Here, Fock term only means that only the expected value in the form {expected_value_Fock} (Note that the two indices are the different) should be the preserved. All other expected value terms should be dropped.
You should recall that {Hartree_Fock_second_term_symbol} is {expression_HF}
Return the simplified Hamiltonian with {Fock_second_quantized_symbol}.
Prompt:
You will be instructed to expand interaction term
Prompt:
You will be instructed to simplify the quadratic term {Hartree_Fock_second_quantized_symbol} through relabeling the index.
The logic is that the expected value ({expected_value}) in the first Hartree term ({expression_Hartree_1}) has the same form as the quadratic operators in the second Hartree term ({expression_Hartree_2}), and vice versa. The same applies to the Fock term.
Namely, a replacement of {relabel} is applied to ONLY the second Hartree or Fock term. You should not swap any index that is not in the summation, which includes {Unsummed_Indices}.
This means, if you relabel the index by swapping the index in the "expected value" and "quadratic operators" in the second Hartree or Fock term, you can make the second Hartree or Fock term look identical to the first Hartree or Fock term, as long as
You should recall that {Hartree_Fock_second_quantized_symbol} is {expression_HF_2}
Return the simplified {Hartree_Fock_second_quantized_symbol}.
===
EXAMPLE:
Given a Hamiltonian
In the second term, we relabel the index to swap the index in expected value and the index in quadratic operators, namely,
After the replacement, the second term becomes
Note that the Kronecker dirac function
Finally, we have the simplified Hamiltonian as
Prompt:
You will be instructed to simplify the quadratic term {Hartree_Fock_second_quantized_symbol} through relabeling the index to combine the two Hartree/Fock term into one Hartree/Fock term.
The logic is that the expected value ({expected_value}) in the first Hartree term ({expression_Hartree_1}) has the same form as the quadratic operators in the second Hartree term ({expression_Hartree_2}), and vice versa. The same applies to the Fock term.
This means, if you relabel the index by swapping the index in the "expected value" and "quadratic operators" in the second Hartree term, you can make the second Hartree term look identical to the first Hartree term, as long as
You should perform this trick of "relabeling the index" for both two Hartree terms and two Fock terms to reduce them to one Hartree term, and one Fock term.
You should recall that {Hartree_Fock_second_quantized_symbol} is {expression_HF_2}.
Return the simplified {Hartree_Fock_second_quantized_symbol} which reduces from four terms (two Hartree and two Fock terms) to only two terms (one Hartree and one Fock term)
===
EXAMPLE:
Given a Hamiltonian
In the second term, we relabel the index to swap the index in expected value and the index in quadratic operators, namely,
Note that the Kronecker dirac function
Finally, we have the simplified Hamiltonian as
Prompt:
You will be instructed to simplify the Hartree term in {Hartree_second_quantized_symbol} by reducing the momentum inside the expected value {expected_value}.
The expected value {expected_value} is only nonzero when the two momenta
You should use the property of Kronecker delta function
You should follow the EXAMPLE below to reduce one momentum in the Hartree term, and another momentum in the quadratic term.
You should recall that {Hartree_second_quantized_symbol} is {expression_Hartree}.
Return the final simplified Hartree term {Hartree_second_quantized_symbol}.
===
EXAMPLE:
Given a Hamiltonian where the Hartree term
Inside the expected value, we realize
Thus, the Hartree term becomes
Use the property of Kronecker delta function
Because
Therefore, the final simplified Hartree term after reducing two momenta is
Prompt:
You will be instructed to simplify the Hartree term, {Hartree_second_quantized_symbol}, by reducing the momentum inside the expected value {expected_value}.
The expected value {expected_value} is only nonzero when the two momenta
You should use the property of Kronecker delta function
You should follow the EXAMPLE below to reduce one momentum in the Hartree term, and another momentum in the quadratic term.
You should recall that {Hartree_second_quantized_symbol} is {expression_Hartree}.
Return the final simplified Hartree term {Hartree_second_quantized_symbol}.
===
EXAMPLE:
Given a Hamiltonian where the Hartree term
Inside the expected value, we realize
Thus, the Hartree term becomes
Use the property of Kronecker delta function
We can further simplify
Thus, the Hartree term simplifies to
Therefore, the final simplified Hartree term after reducing one momentum is
Prompt:
You will be instructed to simplify the Fock term in {Fock_second_quantized_symbol} by reducing the momentum inside the expected value {expected_value}.
The expected value {expected_value} is only nonzero when the two momenta
You should use the property of Kronecker delta function
Once you reduce one momentum inside the expected value
You should recall that {Fock_second_quantized_symbol} is {expression_Fock}.
Return the final simplified Fock term {Fock_second_quantized_symbol}.
===
EXAMPLE:
Given a Hamiltonian where the Fock term
Inside the expected value, we realize
Thus, the Fock term becomes
Use the property of Kronecker delta function
Because
Therefore, the Fock term simplifies to
Therefore, the final simplified Fock term after reducing two momenta is
Prompt:
You will be instructed to simplify the Fock term in {Fock_second_quantized_symbol} by reducing the momentum inside the expected value {expected_value}.
The expected value {expected_value} is only nonzero when the two momenta
You should use the property of Kronecker delta function
Once you reduce one momentum inside the expected value
You should recall that {Fock_second_quantized_symbol} is {expression_Fock}.
Return the final simplified Fock term {Fock_second_quantized_symbol}.
===
EXAMPLE:
Given a Hamiltonian where the Fock term
Inside the expected value, we realize
Thus, the Fock term becomes
Use the property of Kronecker delta function
We can further simplify
Thus, the Fock term simplifies to
Therefore, the final simplified Fock term after reducing one momentum is
Prompt:
You will now be instructed to combine the Hartree term {Hartree_symbol} and the Fock term {Fock_symbol}.
You should recall that the Hartree term {Hartree},
and the Fock term {Fock}.
You should perform the same trick of relabeling the index in the Fock term to make the quadratic operators in the Fock term the same as those in the Hartree term. The relabeling should be done with a swap : {swap_rule}.
You should add them, relabel the index in Fock term, and simply their sum.
Return the final sum of Hartree and Fock term.
Prompt:
You will be instructed to simplify {symbol} by using
You should recall that {expression_symbol}.
Return the simplified {symbol}.
Prompt:
You will be instructed to simplify {symbol} by converting the exponential to the trigonometrical functions using Euler's formula only. You should also apply basic trigonometrical function simplification afterwards if possible.
You should recall that {expression_symbol}.
Return the simplified {symbol}.
Prompt:
You will be instructed to simplify {symbol} by reducing trigonometrical functions using prosthaphaeresis.
You should recall that {expression_symbol}.
Return the simplified {symbol}.
Prompt:
You will be instructed to expand the product in {symbol}.
You should recall that {expression_symbol}.
Express {symbol} in the expanded form.
Prompt:
You will be instructed to expand the product in {symbol}.
After expansion, you can introduce a sign variable {variable}, which take values of {values} to combine the {num_of_terms} term in to one term.
You should recall that {expressoin_symbol}.
Express the {symbol} in the expanded form.
Prompt:
You will be instructed to simplify the {symbol} by performing constant term summation by reducing the unnecessary indices {index}.
You should recall that {expressoin_symbol}.
Return the simplified Kinetic Hamiltonian {symbol}.