@@ -1857,7 +1857,7 @@ def _materialize(self) -> None:
18571857 self ._state = QuantumState .COLLAPSED
18581858
18591859
1860- class Field (Frame [T , V , C ], ABC ):
1860+ class Field (Frame [T , V , C ], abc . ABC ):
18611861 """
18621862 A Field represents a region of spacetime in our quantum memory model.
18631863 It extends Frame with composition and transformation capabilities.
@@ -1874,7 +1874,7 @@ def entangle(self, other: Field) -> None:
18741874 self ._state = QuantumState .ENTANGLED
18751875 other ._state = QuantumState .ENTANGLED
18761876
1877- @abstractmethod
1877+ @abc . abstractmethod
18781878 def transform (self , operator : Callable [[V ], V ]) -> None :
18791879 """Applies a transformation operator to the value space."""
18801880 pass
@@ -2253,10 +2253,10 @@ def _transform_compute_space(self, generator: Matrix, time: float) -> C:
22532253# ==============================================================================
22542254
22552255
2256- class Morphism (Generic [T_co , T_anti ]):
2256+ class Morphism (Generic [T_co , T_anti ], abc . ABC ):
22572257 """Abstract morphism between type structures"""
22582258
2259- @abstractmethod
2259+ @abc . abstractmethod
22602260 def apply (self , source : T_anti ) -> T_co :
22612261 pass
22622262
0 commit comments