mqt.qudits.core.dfs_tree¶

Module Contents¶

class Node(key, rotation, U_of_level, graph_current, current_cost, current_decomp_cost, max_cost, pi_pulses, parent_key, children=None)[source]¶
add(new_key, rotation, U_of_level, graph_current, current_cost, current_decomp_cost, max_cost, pi_pulses) None[source]¶
__str__() str[source]¶

Return str(self).

class NAryTree[source]¶
property total_size¶
add(new_key, rotation, U_of_level, graph_current, current_cost, current_decomp_cost, max_cost, pi_pulses, parent_key=None) None[source]¶
find_node(node, key)[source]¶
depth(key)[source]¶
max_depth(node)[source]¶
size_refresh(node)[source]¶
found_checker(node)[source]¶
min_cost_decomp(node)[source]¶
retrieve_decomposition(node)[source]¶
is_empty()[source]¶
print_tree(node, str_aux)[source]¶
__str__() str[source]¶

Return str(self).