Search found 3 matches

by jmasur
21 Sep 2022, 23:37
Forum: HowTos and FAQ for TeNPy
Topic: Real Time Evolution of a Honeycomb Lattice
Replies: 0
Views: 30760

Real Time Evolution of a Honeycomb Lattice

Hello, I am trying to simulate a specific type of evolution for Hexagonal Boron-Nitrate which I have defined as follows: class HBNHamiltonian(CouplingModel, MPOModel): def __init__(self, model_params, phi): self.options = model_params model_params["phi"] = phi p = model_params["p"...
by jmasur
20 Sep 2022, 15:58
Forum: HowTos and FAQ for TeNPy
Topic: Adding an operator composed of an onsite and coupling term
Replies: 1
Views: 1426

Re: Adding an operator composed of an onsite and coupling term

Turns out it was that I am doing something simple wrong. You can add products of operators in add_coupling just by writing their op strings with a space between (in my case something like "Nup Cd"). I hope my idiocy can at least help someone in the future.
by jmasur
01 Sep 2022, 23:16
Forum: HowTos and FAQ for TeNPy
Topic: Adding an operator composed of an onsite and coupling term
Replies: 1
Views: 1426

Adding an operator composed of an onsite and coupling term

Hello, I am trying to calculate an Ehrenfest theorem for the Fermi-Hubbard model which requires the expectation value of a commutator of onsite and hopping terms. I have determined what seems to be the simplest form of this commutator which is \sum_{1 \leq k \leq L - 1} -\hat{n}_{k+1,\uparrow} \hat{...