openfermion.transforms.opconversions.edge_operator_b

Calculate the edge operator B_i. The definitions used here are

consistent with arXiv:quant-ph/0003137

edge_matrix_indices(numpy array(square and symmetric): i (int): index for specifying the edge operator B.

An instance of QubitOperator