Find the Pauli-representation of InteractionOperator for Bravyi-Kitaev
openfermion.transforms.bravyi_kitaev_fast(
operator: openfermion.ops.InteractionOperator
) -> openfermion.ops.QubitOperator
Super fast (BKSF) algorithm. Pauli-representation of general
FermionOperator is not possible in BKSF. Also, the InteractionOperator
given as input must be Hermitian. In future we might provide a
transformation for a restricted set of fermion operator.
Args |
operator
|
InteractionOperator.
|
Returns |
transformed_operator
|
An instance of the QubitOperator class.
|
Raises |
TypeError
|
If operator is not an InteractionOperator
|