find_paired_basis#
- ssip.basic_functions.find_paired_basis(basis1: list[list[int]], basis2: list[list[int]]) list[list[int]] [source]#
Calculate a paired basis of logical operators of a CSScode. That is, given two bases of the homology H_1 and cohomology H^1 respectively, find and return a basis of H^1 which is ‘paired’ with that of H_1 by the nondegenerate bilinear form, i.e. the dot product.
- Parameters:
basis1 – The basis of H_1.
basis2 – The basis of H^1.
- Returns:
A basis of H^1 which is paired with basis1.