Should solve https://github.com/ValeevGroup/mpqc/issues/2