![]() |
Implement the McCoy formula on two operators of the
openfermion.transforms.mccoy(
mode, op_a, op_b, m, n
)
form op_a^m op_b^n.
Args | |
---|---|
mode (int): the mode number the two operators act on. | |
op_a
|
the label of operator a. This can be any hashable type. |
op_b
|
the label of operator b. This can be any hashable type. m (int): the power of operator a. n (int): the power of operator b. |