3.1. tnpy.model.DimerXXZ#

class tnpy.model.DimerXXZ(n, J, delta, h, penalty=0, s_target=0, trial_id=None)[source]#

Bases: tnpy.model.model_1d.Model1D

Parameters
  • n (int) – System size.

  • J (float) –

  • delta (float) –

  • h (float) – Disorder strength.

  • penalty (float) – Penalty strength (or Lagrangian multiplier).

  • s_target (int) – The targeting total Sz charge sector.

  • trial_id (str) – ID of the current disorder trial.

__init__(n, J, delta, h, penalty=0, s_target=0, trial_id=None)[source]#
Parameters
  • n (int) – System size.

  • J (float) –

  • delta (float) –

  • h (float) – Disorder strength.

  • penalty (float) – Penalty strength (or Lagrangian multiplier).

  • s_target (int) – The targeting total Sz charge sector.

  • trial_id (Optional[str]) – ID of the current disorder trial.

Methods

__init__(n, J, delta, h[, penalty, ...])

param n

System size.

Attributes

mpo

Return matrix product operator (mpo) as a property of the model.

n

__init__(n, J, delta, h, penalty=0, s_target=0, trial_id=None)[source]#
Parameters
  • n (int) – System size.

  • J (float) –

  • delta (float) –

  • h (float) – Disorder strength.

  • penalty (float) – Penalty strength (or Lagrangian multiplier).

  • s_target (int) – The targeting total Sz charge sector.

  • trial_id (Optional[str]) – ID of the current disorder trial.