qiskit/tools/apps/optimization.py
def print_pauli_list_grouped(pauli_list_grouped):
    """Print a list of Pauli operators which has been grouped into tensor
    product basis (tpb) sets.

    Args:
        pauli_list_grouped (list of lists of (coeff, pauli) tuples): the
            list of Pauli operators grouped into tpb sets
    """
    for i, _ in enumerate(pauli_list_grouped):
        print('Post Rotations of TPB set ' + str(i) + ':')
        print(pauli_list_grouped[i][0][1].to_label())
        print(str(pauli_list_grouped[i][0][0]) + '\n')
        for j in range((len(pauli_list_grouped[i]) - 1)):
            print(pauli_list_grouped[i][j + 1][1].to_label())
            print("%.7f" % pauli_list_grouped[i][j + 1][0])

        print('\n')
Print a list of Pauli operators which has been grouped into tensor
    product basis (tpb) sets.

    Args:
        pauli_list_grouped (list of lists of (coeff, pauli) tuples): the
            list of Pauli operators grouped into tpb sets
    
Print a list of Pauli operators which has been grouped into tensor
product basis (tpb) sets.
Print a list of Pauli operators which has been grouped into tensor product basis ( tpb ) sets .
def print_pauli_list_grouped(pauli_list_grouped):
    for i, _ in enumerate(pauli_list_grouped):
        print('Post Rotations of TPB set ' + str(i) + ':')
        print(pauli_list_grouped[i][0][1].to_label())
        print(str(pauli_list_grouped[i][0][0]) + '\n')
        for j in range((len(pauli_list_grouped[i]) - 1)):
            print(pauli_list_grouped[i][j + 1][1].to_label())
            print("%.7f" % pauli_list_grouped[i][j + 1][0])
        print('\n')
def print_pauli_list_grouped ( pauli_list_grouped ) : for i , _ in enumerate ( pauli_list_grouped ) : print ( 'Post Rotations of TPB set ' + str ( i ) + ':' ) print ( pauli_list_grouped [ i ] [ 0 ] [ 1 ] . to_label ( ) ) print ( str ( pauli_list_grouped [ i ] [ 0 ] [ 0 ] ) + '\n' ) for j in range ( ( len ( pauli_list_grouped [ i ] ) - 1 ) ) : print ( pauli_list_grouped [ i ] [ j + 1 ] [ 1 ] . to_label ( ) ) print ( "%.7f" % pauli_list_grouped [ i ] [ j + 1 ] [ 0 ] ) print ( '\n' )
Print a list of Pauli operators which has been grouped into tensor
product basis (tpb) sets.
Print a list of Pauli operators which has been grouped into tensor product basis ( tpb ) sets .
"""Print a list of Pauli operators which has been grouped into tensor
    product basis (tpb) sets.

    Args:
        pauli_list_grouped (list of lists of (coeff, pauli) tuples): the
            list of Pauli operators grouped into tpb sets
    """
pauli_list_grouped
the
list of Pauli operators grouped into tpb sets
the list of Pauli operators grouped into tpb sets