Is there a tool which takes the adjacency matrix of a graph as input and prints out a table with all stabilizer measurements?
To obtain the stabilisers of a graph state, from its adjacency matrix:
- Change all 1s to Zs
- Change all 0s to identity operators
- Put X operators on the diagonal
Each row then represents a stabiliser of the graph state, and any nontrivial stabiliser is a product of one or more rows.