{ }
View source on GitHub |
Compute log[e^{x_1} ... e^{x_N}] using the BCH formula.
openfermion.utils.bch_expand(
*ops, **kwargs
)
This implementation is explained in arXiv:1712.01348.
Returns | |
---|---|
The truncated BCH operator. |
Raises | |
---|---|
ValueError
|
invalid order parameter. |
TypeError
|
operator types are not all the same. |