38 q3_core — In-process Q3 DFT engine (Mode B).
42 run_scf(input_path, write_output_files=True) -> str
43 Run a self-consistent field calculation. Returns a JSON string.
45 run_nscf(input_path, write_output_files=True) -> str
46 Run a non-self-consistent field calculation. Returns a JSON string.
50 Call reset_counters() between successive calls if profiling metrics
51 are needed per-invocation (run_scf/run_nscf reset automatically).
56 [](const std::string& input_path, bool write_output_files) -> std::string {
57 return q3::bindings::run_scf(input_path, write_output_files);
59 nb::arg(
"input_path"),
60 nb::arg(
"write_output_files") =
true,
62 Run a self-consistent field calculation in-process.
67 Path to a Q3 YAML input file (calculation = scf).
68 write_output_files : bool, optional
69 If True (default), write results.json and checkpoint files.
74 JSON string with the results (same schema as results.json).
79 If SCF fails or the input is invalid.
84 [](const std::string& input_path, bool write_output_files) -> std::string {