File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ def transform_matrix_inverse(self) -> _np.ndarray:
647
647
"""
648
648
if self ._inv_matrix is None :
649
649
self ._inv_matrix = _np .linalg .inv (self ._operation .to_dense ())
650
- self ._inv_matrix [0 , :] = 0.0 # ensure invers is *exactly* TP
650
+ self ._inv_matrix [0 , :] = 0.0 # ensure inverse is *exactly* TP
651
651
self ._inv_matrix [0 , 0 ] = 1.0 # as otherwise small variations can get amplified
652
652
return self ._inv_matrix
653
653
@@ -1012,7 +1012,7 @@ class TrivialGaugeGroupElement(GaugeGroupElement):
1012
1012
def __init__ (self , dim ):
1013
1013
"""
1014
1014
Creates a new trivial gauge group element of dimension `dim`.
1015
- (so transform matirx is a `dim` by `dim` identity matrix).
1015
+ (so transform matrix is a `dim` by `dim` identity matrix).
1016
1016
"""
1017
1017
self ._matrix = _np .identity (dim , 'd' )
1018
1018
GaugeGroupElement .__init__ (self )
You can’t perform that action at this time.
0 commit comments