-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of equality in Circuit and Lattice classes #140
Comments
I will handle |
@alexnguyenn I can of course, but my understanding was that @isolatedinformation was going to handle this |
Added equalities for |
@isolatedinformation is writing tests he'll decide if llops still need equality |
|
Sounds good, @isolatedinformation. I agree |
Writing tests involves
assert
statements. Right now, if we compare two objects for equality, it returnsFalse
. By default, Python object identifiers for comparison operations. The classes that need to support equality are:in lsqeccc/pauli_rotations:
circuit.PauliOpRotation
rotation.PauliProductOperation
rotation.PauliRotation
rotation.Measurement
in lsqecc/logical_lattice_ops:
llops.LogicalLatticeOperation
and associated child classesllops.LogicalLatticeComputation
This thread has insights on implementing equality features.
The text was updated successfully, but these errors were encountered: