Skip to main content

py_qa_greedy_partition

Function py_qa_greedy_partition 

Source
pub(crate) fn py_qa_greedy_partition(
    _py: Python<'_>,
    n_qubits: usize,
    j_i: Vec<usize>,
    j_j: Vec<usize>,
    j_values: Vec<f64>,
    max_partition_size: usize,
) -> Vec<Vec<usize>>
Expand description

Greedy graph partitioning for problem decomposition.