pub(crate) fn py_qa_simulated_annealing<'py>(
py: Python<'py>,
h_indices: Vec<usize>,
h_values: Vec<f64>,
j_i: Vec<usize>,
j_j: Vec<usize>,
j_values: Vec<f64>,
n_qubits: usize,
offset: f64,
n_sweeps: usize,
num_reads: usize,
beta_start: f64,
beta_end: f64,
seed: u64,
) -> PyResult<Py<PyAny>>Expand description
Run simulated annealing on an Ising model (Rust-accelerated).
Returns dict with best_spins, best_energy, energies, samples.