Function to_label_connections

Function Documentation

inline std::vector<std::pair<std::wstring, std::wstring>> to_label_connections(const std::vector<std::pair<mbpt::OpType, mbpt::OpType>> &op_connections)

lowers representation of op connections from mbpt::OpType to labels

Parameters:

op_connections[in] vector of pairs of operators to be connected

Returns:

vector of pairs of operator labels to be connected