Closed perlinm closed 5 months ago
Per this comment, ClassicalCodes.__eq__ now checks exact equality between code instances, while ClassicalCode.equiv checks whether they are "equivalent", meaning that the two codes contain each other (or: have the same set of code words).
ClassicalCodes.__eq__
ClassicalCode.equiv
Yes, it makes sense; having both is good.
Per this comment,
ClassicalCodes.__eq__
now checks exact equality between code instances, whileClassicalCode.equiv
checks whether they are "equivalent", meaning that the two codes contain each other (or: have the same set of code words).