NormDisentangler

Inheritance Diagram

Inheritance diagram of tenpy.algorithms.disentangler.NormDisentangler

Methods

NormDisentangler.__init__(parent)

NormDisentangler.iter(theta, U, trunc_params)

Given theta and U, find U2 maximizing <theta|U2 truncate(U |theta>).

class tenpy.algorithms.disentangler.NormDisentangler(parent)[source]

Bases: Disentangler

Disentangle with the unitary that maximizes overlap with the truncated U|theta>.

Options

iter(theta, U, trunc_params)[source]

Given theta and U, find U2 maximizing <theta|U2 truncate(U |theta>).

Finds unitary U2 which maximizes Tr(U

Parameters:
  • theta (Array) – Two-site wave function to be disentangled.

  • U (Array) – The previous guess for U; with legs 'q0', 'q1', 'q0*', 'q1*'.

  • trunc_params (dict) – The truncation parameters (similar as self.trunc_params) used to truncate U|theta>.

Returns:

  • trunc_err (TruncationError) – Norm error discarded during the truncation of U|theta>.

  • new_U (Array) – Unitary with legs 'q0', 'q1', 'q0*', 'q1*'. Chosen such that new_U|theta> has maximal overlap with the truncated U|theta>.