openfermion.transforms.bravyi_kitaev_fast_edge_matrix

Use InteractionOperator to construct edge matrix required for the algorithm

Main aliases

openfermion.bravyi_kitaev_fast_edge_matrix, openfermion.transforms.opconversions.bksf.bravyi_kitaev_fast_edge_matrix, openfermion.transforms.opconversions.bravyi_kitaev_fast_edge_matrix

Edge matrix contains the information about the edges between vertices. Edge matrix is required to build the operators in bravyi_kitaev_fast model.

iop InteractionOperator
n_qubits int

number of qubits

edge_matrix Numpy array

A square numpy array containing information about the edges present in the model.