Cluster SAMB under the inversion coset#

Cluster SAMB under the inversion coset: the reference sites of the cluster SAMB (A) and the transport matrices (C).

For every group H (real PG and SG) whose first coset in its direct parent has the inversion as its representative (util_coset.first_coset_*, kind = “inversion”), with the image H’ = I H I^-1 and the map M of the coset:

  • Orbit correspondence. Every site/bond Wyckoff position W of H is paired with the Wyckoff position W’ of H’ onto which M maps its orbit: row i of W -> row perm[i] of W’, the bond reversed if sign[i] = -1. Only W’ with the same orbit size and the same number of free parameters are taken, and the lattice and centering translations and the reversal of a bond are allowed.

  • (A) Reference. A pair with W != W’ (or H != H’): if the cluster SAMB of the pair satisfy T z(label) = +- z’(label) already, nothing is changed; otherwise the side with the larger (group, Wyckoff order) is averaged from the site (bond) perm[0], the image of the representative of the other side, instead of its row 0 (util_cluster_samb.create_cluster_samb(…, reference=…)), which gives T z = +- z’ label by label.

  • (C) Transport matrix. A Wyckoff position mapped onto itself (W = W’ in H = H’) keeps its data, and the matrix U, T z_a = sum_b U_ab z’_b, is recorded within each block of the same irrep (Q and T/M separately for bonds); no single reference gives +-1 in general (48f of SG 210).

The transport T moves the value on site (bond) i to site (bond) perm[i], with the sign of the bond reversal for T/M.

transport_matrix(A, B, perm, sign, kind)[source]#

Transport matrix of the cluster SAMB of a Wyckoff position onto those of its image.

Parameters:
  • A (dict) – cluster SAMB of W, {PGMultipoleType: samb (dim, N)}.

  • B (dict) – cluster SAMB of the image W’.

  • perm (list) – row i of W -> row perm[i] of W’.

  • sign (list) – +1, or -1 for a reversed bond.

  • kind (str) – “site” or “bond”.

Returns:

(rows of A, rows of B, U)}, None if B is not the image of A. - (bool) – U is +-1 label by label (and component by component) ?

Return type:

  • (dict) – {block

Note

  • block is an irrep, with “ (T/M)” for T/M of a bond; rows = [(PGMultipoleType, component)]; U is a complex ndarray with T z[a] = sum of U[a, b] z’[b] over b.

inversion_pairs(group, info)[source]#

Groups whose first coset has the inversion as its representative, with its image.

Parameters:
  • group (dict) – group.pkl.

  • info (dict) – info.pkl.

Returns:

  • (list) – [(group id, image group id, M (4x4 float, coordinates of H -> of H’), “PG”/”SG”)], “-c” excluded.

orbit_correspondence(group, pairs, pool=None)[source]#

Candidates of the image of every Wyckoff position of the groups of the inversion pairs.

Parameters:
  • group (dict) – group.pkl.

  • pairs (list) – inversion_pairs.

  • pool (Pool, optional) – process pool (group.pkl is loaded in each process).

Returns:

(image group id, [(W’, perm, sign)])}.

Return type:

  • (dict) – {(group id, “site”/”bond”, W)

cluster_samb_reference(group, cs, corr)[source]#

Reference sites (bonds) of the cluster SAMB (A).

Parameters:
  • group (dict) – group.pkl.

  • cs (dict) – cluster SAMB with the representative (row 0) as the reference.

  • corr (dict) – orbit_correspondence.

Returns:

{“site”/”bond”: {W: r}}}, average W from its site (bond) r (only r != 0).

Return type:

  • (dict) – {group id

cluster_samb_transport(cs, corr)[source]#

Images of the cluster SAMB under the inversion coset (after the reference change).

Parameters:
  • cs (dict) – cluster SAMB (cluster_samb.pkl).

  • corr (dict) – orbit_correspondence.

Returns:

{“site”/”bond”: {W: {“image”: (image group id, W’), “perm”: [int], “sign”: [int],

”diag”: bool, “eps”: {PGMultipoleType: [sympy for each component]} (diag) or “U”: {block: (rows, rows’, U)} (otherwise)}}}}. rows = [(PGMultipoleType, component)]; U is exact (+- sqrt(rational)) where possible.

Return type:

  • (dict) – {group id

Note

  • among the equivalent correspondences (perm, sign) of a Wyckoff position (they differ by an operation of H), the first one mapping the SAMB label by label is taken; for a Wyckoff position mapped onto itself without such one, the one whose U are involutions (U^2 = 1, eigenvalues +-1) in every block, with the fewest blocks other than +-1.