User guide
a_mps.py
b_model.py
c_tebd.py
d_dmrg.py
tfi_exact.py
a_np_conserved.py
b_mps.py
e_tdvp.py
z_exact_diag.py
xxz_corr_length.py
central_charge_ising.py
mpo_exponential_decay.py
Reference
full name: tenpy.tools.math.gcd
parent module: tenpy.tools.math
tenpy.tools.math
type: function
tenpy.tools.math.
gcd
Computes the greatest common divisor (GCD) of two numbers.
Return 0 if both a, b are zero, otherwise always return a non-negative number.