openfermion.transforms.opconversions.edge_operator_aij

Calculate the edge operator A_ij. The definitions used here are

consistent with arXiv:quant-ph/0003137

edge_matrix_indices(numpy array): specifying the edges i,j (int): specifying the edge operator A

An instance of QubitOperator