iqm.qaoa.tree_calculation.generate_basis#
Contains some auxiliary functions to help with tree angle calculations.
Functions
|
Given a vector v1, calculate its symmetry sector. |
|
Generate an array containing the Z basis on a qubit. |
Generate an array containing the Z basis on a qubit. |
|
|
Takes an array containing (all) basis vectors and sorts them into a list based on their symmetry sector. |