Cluster SAMB#
Cluster SAMB of each Wyckoff site and bond of the real point groups and the space groups.
The data of MultiPie Ver.2’s cluster_samb (“site”, “bond_s”, “bond_a”), created in a different way, with the symmetric (“bond_s”) and anti-symmetric (“bond_a”) bond SAMB put together as the bond SAMB (“bond”):
General point. The cluster of the general point of a group H (as many points as the order of H, point i = (operation i of H) site0) is a subset of the Oh or D6h cluster: the operations of H are those of the top group listed in coset 0 of util_op_mapping.op_mapping_d6h_oh_cluster[PG tag]. The basis of the top cluster restricted to these points gives the basis of H: cluster_scalar_basis.pkl for “site” and “bond_s”, and cluster_bond_basis.pkl (x = “q”) for “bond_a” (on the general bond, symmetric and anti-symmetric bonds span the same space). The key of the top group is kept, but the irrep and the component are replaced by those of H through the top harmonics T, and the value is multiplied by the coefficients of data_harmonics_mapping (key of the top group = c_top T, key of H = c T: factor c c_top).
Special point. The SAMB of a Wyckoff site (bond) is the average of the general-point SAMB, f_j = sum_{i in M_j} f_i, with the mapping M_j of the Wyckoff site (bond) in group.pkl (operations i mapping the representative to the site or bond j). For “bond_a”, an operation reversing the bond (negative in the mapping) gives -f_i.
Orthonormalization. Gram-Schmidt within each irrep of H (component by component) in the order of [Gamma, l, n, p] for “site” and “bond_s” (as MultiPie Ver.2), and [Gamma, l, k, Q/G, n, p] for “bond_a” (k of the source vector cluster basis); vanishing and linearly dependent ones are removed (selected numerically, then orthonormalized exactly). Each component is normalized to 1 on the N sites (bonds) of the Wyckoff position.
Key. PGMultipoleType(X, l, Gamma, n, p, s=0, k=0, x): “site” and “bond_s” have X = “Q” and x = “q” (as cluster_scalar_basis); “bond_a” has the keys of cluster_bond_basis (X = Q/G, x = q); n is the multiplicity of the harmonics (X, l, Gamma) of H (its xyz polynomial) and p is that of the top key.
Bond SAMB. “bond” = “bond_s” + i “bond_a”: the anti-symmetric bond SAMB is multiplied by i (imaginary hopping) and its type is changed from Q to T and from G to M (time-reversal odd), so that the keys of “bond_s” (Q) and “bond_a” (T/M) never coincide. The SAMB of different time-reversal parity are orthogonal (as hermitian bond matrices), so Q and T/M are orthonormalized separately. The harmonics of T (M) are those of Q (G) (util_harmonics.harmonics_type).
Space group. The operations (without the plus set) of a space group have the same point parts as those of its point group (in the same setting), so each operation is mapped to the top group through the point group, op_mapping_d6h_oh_cluster[PG tag] (as “mapping” of the SG in group.pkl). (util_op_mapping.op_mapping_parent_sg maps to a parent space group with a change of axes, and is not used.) The harmonics are those of the point group.
Order. Gamma (character table), then for “site” and Q of “bond”: l, n, p, and for T/M of “bond”: l, k, T/M, n, p. In “bond”, Q comes before T/M in each Gamma.
cluster_samb (dict):
{ PG_id/SG_id: { "site"/"bond": { wyckoff: { PGMultipoleType: samb } } } } samb: ndarray (dim, N) (sympy), value on the N sites (bonds) of the Wyckoff position for each component (real for X = Q, pure imaginary for X = T, M). The expression of the harmonics (X, l, Gamma, n) is in harmonics.pkl (util_harmonics.harmonics_expression).
- top_index(pg, pg_ops, ops=None)[source]#
Index of the top cluster point of each operation of a group (coset 0 of op_mapping_d6h_oh_cluster[pg]).
- Parameters:
pg (str) – point group tag.
pg_ops (list) – symmetry operation tags of the point group (group.pkl).
ops (list, optional) – symmetry operation tags of the group (space group), [pg_ops] if None.
- Returns:
(str) – top group, “Oh” or “D6h”.
(list) – 0-based index of the top cluster for each operation of the group.
- general_point_basis(pg, top, idx, kind)[source]#
Basis of the general point of a group (top basis restricted to coset 0, keys replaced).
- Parameters:
pg (str) – point group tag (of the space group for SG).
top (str) – top group, “Oh” or “D6h”.
idx (list) – 0-based index of the top cluster for each operation of the group (top_index).
kind (str) – “site” (cluster_scalar_basis) or “bond” (cluster_bond_basis).
- Returns:
(list) – [(order, (X, l, Gamma, n, p, x), comp, dim, ndarray (order of H,) (sympy))] sorted by order.
- wyckoff_samb(general, mapping, sign=False)[source]#
SAMB of a Wyckoff site (bond) averaged from the general-point basis.
- Parameters:
general (list) – general-point basis (general_point_basis).
mapping (list) – mapping of the Wyckoff site (bond), [[operation no. (1-based, negative for reversed bond)]].
sign (bool, optional) – anti-symmetric bond (reversed bond gives minus sign) ?
- Returns:
[(comp, ndarray (N,) (sympy))]} orthonormal, in the order of general.
- Return type:
(dict) – {(X, l, Gamma, n, p, x)
- bond_samb(sym, anti, irreps)[source]#
Bond SAMB from the symmetric and anti-symmetric bond SAMB.
- Parameters:
sym (dict) – symmetric bond SAMB, {PGMultipoleType (X = Q): samb}.
anti (dict) – anti-symmetric bond SAMB, {PGMultipoleType (X = Q/G): samb}.
irreps (list) – irreps of the point group in the order of the character table.
- Returns:
- samb}, sym as it is and i anti with X = Q -> T, G -> M, in the order of Gamma
(Q before T/M in each Gamma).
- Return type:
(dict) – {PGMultipoleType
- rereference_mapping(mapping, r, point_ops)[source]#
Mapping of a Wyckoff site (bond) taken from the site (bond) r instead of the representative (row 0).
- Parameters:
mapping (list) – mapping of the Wyckoff site (bond), [[operation no. (1-based, negative for reversed bond)]] (operations i mapping the representative to the site or bond j).
r (int) – 0-based index of the new reference site (bond).
point_ops (list) – point parts (3x3) of the symmetry operations (in the order of the operation numbers).
- Returns:
(list) – [[operation no.]] of the operations mapping the site (bond) r to the site or bond j (negative when the bond is reversed relative to the bond r).
Note
the operations of a group (without the plus set) have distinct point parts, so a product is identified by its point part. if op_a maps the representative to r (sign s_a) and op_b maps it to j (sign s_b), then op_b op_a^-1 maps r to j with the sign s_b s_a.
- create_cluster_samb(pg, pg_ops, ops, wyckoff, reference=None, point_ops=None, only=None)[source]#
Cluster SAMB of a group.
- Parameters:
pg (str) – point group tag (of the space group for SG).
pg_ops (list) – symmetry operation tags of the point group (group.pkl).
ops (list) – symmetry operation tags of the group (group.pkl).
wyckoff (dict) – group[“wyckoff”] of group.pkl.
reference (dict, optional) – {“site”/”bond”: {wyckoff: r}}, average the Wyckoff site (bond) from the site (bond) r instead of the representative (data_cluster_samb_reference, so that the SAMB of the image under the inversion coset is +- the SAMB with the same label).
point_ops (list, optional) – point parts of the symmetry operations (needed with reference).
only (dict, optional) – {“site”/”bond”: [wyckoff]}, create these Wyckoff positions only.
- Returns:
{wyckoff: {PGMultipoleType: samb}}}.
- Return type:
(dict) – {“site”/”bond”