preparing a transversely polarized Ising configuration for relaxation #1730
-
Hi, My attempt at it was to use 2 Hamiltonians ( L = 4
ham1 = nk.operator.IsingJax(nk.hilbert.Spin(1/2, L*L), nk.graph.Square(L), h=99, J=-0.25)
# ... running VMC to equilibrate vstate1 ...
ham2 = nk.operator.IsingJax(nk.hilbert.Spin(1/2, L*L), nk.graph.Square(L), h=0.1, J=-0.25)
time_ev = nkx.driver.TDVPSchmitt(operator=ham2, variational_state=vstate1,
integrator=nkx.dynamics.Euler(dt=0.01), holomorphic=True) But it looks like the effect of the initial strong field remains in the Q: Is there a way to "manually" prepare a fully Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Well, to prepare a fully polarised state I would set J=0.0. To do it a bit more cleanly and efficiently, I would use the state learning fidelity minimisation example from netket_fidelity. While this works starting from the state obtained through ED, it's trivial to write a 'variational ansatz' that prepares the fully polarised state (it's simply a constant function) that can be used for arbitrary sizes. |
Beta Was this translation helpful? Give feedback.
Well, to prepare a fully polarised state I would set J=0.0.
To do it a bit more cleanly and efficiently, I would use the state learning fidelity minimisation example from netket_fidelity.
Just set J=0.0 in the example and you will be learning that state.
While this works starting from the state obtained through ED, it's trivial to write a 'variational ansatz' that prepares the fully polarised state (it's simply a constant function) that can be used for arbitrary sizes.