[BUG] qml.center
does not work for all linear combinations of Paulis
#6048
Labels
bug 🐛
Something isn't working
Expected behavior
qml.center
always computes the center of an algebra.Actual behavior
If the algebra basis is such that the center elements are linear combinations of them,
qml.center
does not find them.Additional information
We need to overlap kernels of adjoint representations instead of commuting basis elements alone.
Source code
Tracebacks
No response
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: