![]() |
Calculate the edge operator A_ij. The definitions used here are
openfermion.transforms.opconversions.edge_operator_aij(
edge_matrix_indices: numpy.ndarray,
i: int,
j: int
) -> openfermion.ops.QubitOperator
consistent with arXiv:quant-ph/0003137
Args | |
---|---|
edge_matrix_indices(numpy array): specifying the edges i,j (int): specifying the edge operator A |
Returns | |
---|---|
An instance of QubitOperator |