Skip to content
Pasqal Documentation

Results are limited to the current section : Qoolqit

qoolqit.embedding.algorithms.blade.drawing

module
qoolqit.embedding.algorithms.blade.drawing

eformat (f: Any) → str
draw_weighted_graph (graph: nx.Graph, thresholds: tuple[float, float, float] = (0.0, 0.3, 0.6), edge_labels: dict | None = None, ax: Axes | None = None) → None
draw_set_graph_coords (graph: nx.Graph, coords: np.ndarray, edge_labels: dict | None = None) → None

Coords are positions in numerical order of the nodes.

draw_graph_including_actual_weights (target_interactions_graph: nx.Graph, positions: np.ndarray) → None

Raises

  • ModuleNotFoundError

plot_differences (target_interactions: np.ndarray, differences: np.ndarray) → None

Raises

  • ModuleNotFoundError

draw_update_positions_step (positions: np.ndarray, interaction_resulting_forces: np.ndarray, min_constr_resulting_forces: np.ndarray, max_constr_resulting_forces: np.ndarray, resulting_forces_vectors: np.ndarray, max_dist: float | None) → None