quantui 0.11.1__tar.gz → 0.13.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. {quantui-0.11.1 → quantui-0.13.0}/CHANGELOG.md +321 -3
  2. {quantui-0.11.1/quantui.egg-info → quantui-0.13.0}/PKG-INFO +83 -75
  3. {quantui-0.11.1 → quantui-0.13.0}/README.md +73 -46
  4. quantui-0.13.0/SECURITY.md +95 -0
  5. {quantui-0.11.1 → quantui-0.13.0}/pyproject.toml +41 -15
  6. {quantui-0.11.1 → quantui-0.13.0}/quantui/__init__.py +13 -3
  7. {quantui-0.11.1 → quantui-0.13.0}/quantui/app.py +1769 -1026
  8. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_analysis.py +489 -47
  9. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_builders.py +458 -55
  10. quantui-0.13.0/quantui/app_compare_tools.py +707 -0
  11. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_exports.py +223 -39
  12. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_formatters.py +436 -73
  13. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_history.py +43 -5
  14. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_launcher.py +16 -1
  15. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_measurement.py +86 -14
  16. quantui-0.13.0/quantui/app_menubar.py +1050 -0
  17. quantui-0.13.0/quantui/app_pes2d.py +388 -0
  18. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_pes_pick.py +1 -6
  19. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_runflow.py +396 -59
  20. quantui-0.13.0/quantui/app_scf_options.py +103 -0
  21. quantui-0.13.0/quantui/app_setup_dialog.py +356 -0
  22. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_slurm.py +368 -103
  23. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_structure_edit.py +87 -15
  24. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_viewer.py +63 -10
  25. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_visualization.py +816 -232
  26. quantui-0.13.0/quantui/app_workspace.py +907 -0
  27. {quantui-0.11.1 → quantui-0.13.0}/quantui/app_xyz_input.py +6 -3
  28. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/batch_chain.py +22 -0
  29. quantui-0.13.0/quantui/backends/batch_input.py +646 -0
  30. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/batch_status.py +42 -4
  31. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/cluster_config.py +57 -6
  32. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/dispatch.py +48 -3
  33. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/registry.py +86 -15
  34. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/slurm.py +121 -12
  35. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/slurm_errors.py +9 -4
  36. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/slurm_ingest.py +26 -2
  37. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/slurm_utils.py +21 -2
  38. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/worker.py +360 -64
  39. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/worker_payload.py +116 -1
  40. {quantui-0.11.1 → quantui-0.13.0}/quantui/batch_launcher.py +8 -0
  41. {quantui-0.11.1 → quantui-0.13.0}/quantui/benchmarks.py +109 -60
  42. {quantui-0.11.1 → quantui-0.13.0}/quantui/calc_log.py +133 -29
  43. {quantui-0.11.1 → quantui-0.13.0}/quantui/calculator.py +33 -0
  44. {quantui-0.11.1 → quantui-0.13.0}/quantui/checklist_widget.py +2 -1
  45. {quantui-0.11.1 → quantui-0.13.0}/quantui/checkpoint.py +62 -39
  46. quantui-0.13.0/quantui/chg_dispersion.py +200 -0
  47. {quantui-0.11.1 → quantui-0.13.0}/quantui/cli.py +126 -5
  48. {quantui-0.11.1 → quantui-0.13.0}/quantui/comparison.py +11 -14
  49. {quantui-0.11.1 → quantui-0.13.0}/quantui/config.py +77 -29
  50. quantui-0.13.0/quantui/data/js/3Dmol-LICENSE.txt +89 -0
  51. quantui-0.13.0/quantui/data/js/PROVENANCE.md +25 -0
  52. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/launcher/quantui_batch.py +420 -33
  53. quantui-0.13.0/quantui/data/library/QM9-PROVENANCE.md +10 -0
  54. {quantui-0.11.1 → quantui-0.13.0}/quantui/descriptor_cards.py +7 -0
  55. {quantui-0.11.1 → quantui-0.13.0}/quantui/downloads.py +51 -1
  56. quantui-0.13.0/quantui/ecd_plot.py +200 -0
  57. {quantui-0.11.1 → quantui-0.13.0}/quantui/engines/__init__.py +32 -13
  58. {quantui-0.11.1 → quantui-0.13.0}/quantui/engines/pyfock_engine.py +31 -1
  59. {quantui-0.11.1 → quantui-0.13.0}/quantui/engines/pyscf_engine.py +3 -0
  60. {quantui-0.11.1 → quantui-0.13.0}/quantui/estimator_eval.py +1 -0
  61. {quantui-0.11.1 → quantui-0.13.0}/quantui/freq_calc.py +171 -39
  62. {quantui-0.11.1 → quantui-0.13.0}/quantui/freq_displacement_ids.py +50 -1
  63. {quantui-0.11.1 → quantui-0.13.0}/quantui/freq_ir_workers.py +5 -0
  64. {quantui-0.11.1 → quantui-0.13.0}/quantui/freq_raman_workers.py +4 -0
  65. quantui-0.13.0/quantui/gaussian_input.py +400 -0
  66. {quantui-0.11.1 → quantui-0.13.0}/quantui/gpu_offload.py +20 -6
  67. {quantui-0.11.1 → quantui-0.13.0}/quantui/help_content.py +699 -56
  68. {quantui-0.11.1 → quantui-0.13.0}/quantui/inorganic_guards.py +16 -5
  69. {quantui-0.11.1 → quantui-0.13.0}/quantui/ir_plot.py +170 -25
  70. {quantui-0.11.1 → quantui-0.13.0}/quantui/irc.py +27 -12
  71. {quantui-0.11.1 → quantui-0.13.0}/quantui/issue_tracker.py +21 -5
  72. {quantui-0.11.1 → quantui-0.13.0}/quantui/log_utils.py +11 -4
  73. {quantui-0.11.1 → quantui-0.13.0}/quantui/measurement.py +11 -3
  74. {quantui-0.11.1 → quantui-0.13.0}/quantui/molecule.py +151 -14
  75. {quantui-0.11.1 → quantui-0.13.0}/quantui/molecule_library.py +41 -2
  76. {quantui-0.11.1 → quantui-0.13.0}/quantui/mulliken_plot.py +5 -2
  77. {quantui-0.11.1 → quantui-0.13.0}/quantui/nmr_calc.py +101 -14
  78. quantui-0.13.0/quantui/nmr_plot.py +268 -0
  79. quantui-0.13.0/quantui/nmr_ssc.py +183 -0
  80. {quantui-0.11.1 → quantui-0.13.0}/quantui/optimizer.py +70 -10
  81. {quantui-0.11.1 → quantui-0.13.0}/quantui/orbital_visualization.py +272 -132
  82. {quantui-0.11.1 → quantui-0.13.0}/quantui/pes_scan.py +109 -7
  83. quantui-0.13.0/quantui/pes_scan_2d.py +746 -0
  84. quantui-0.13.0/quantui/pes_scan_2d_plot.py +165 -0
  85. {quantui-0.11.1 → quantui-0.13.0}/quantui/pes_scan_ui.py +27 -12
  86. quantui-0.13.0/quantui/plotly_embed.py +156 -0
  87. quantui-0.13.0/quantui/population_analysis.py +259 -0
  88. {quantui-0.11.1 → quantui-0.13.0}/quantui/populations_overlay.py +103 -3
  89. {quantui-0.11.1 → quantui-0.13.0}/quantui/preopt.py +13 -1
  90. {quantui-0.11.1 → quantui-0.13.0}/quantui/pubchem.py +47 -12
  91. {quantui-0.11.1 → quantui-0.13.0}/quantui/pyfock_gpu.py +4 -3
  92. {quantui-0.11.1 → quantui-0.13.0}/quantui/raman_calc.py +42 -4
  93. quantui-0.13.0/quantui/reaction_energy.py +391 -0
  94. {quantui-0.11.1 → quantui-0.13.0}/quantui/reorganization_energy.py +23 -1
  95. {quantui-0.11.1 → quantui-0.13.0}/quantui/results_storage.py +150 -27
  96. {quantui-0.11.1 → quantui-0.13.0}/quantui/scf_robust.py +20 -0
  97. quantui-0.13.0/quantui/scf_stability.py +267 -0
  98. {quantui-0.11.1 → quantui-0.13.0}/quantui/session_calc.py +222 -57
  99. quantui-0.13.0/quantui/spectrum_overlay.py +377 -0
  100. {quantui-0.11.1 → quantui-0.13.0}/quantui/structure_edit.py +37 -10
  101. quantui-0.13.0/quantui/structure_overlay.py +252 -0
  102. {quantui-0.11.1 → quantui-0.13.0}/quantui/structure_providers.py +148 -39
  103. {quantui-0.11.1 → quantui-0.13.0}/quantui/structure_upload.py +157 -18
  104. {quantui-0.11.1 → quantui-0.13.0}/quantui/symmetry.py +437 -40
  105. quantui-0.13.0/quantui/symmetry_constraint.py +337 -0
  106. {quantui-0.11.1 → quantui-0.13.0}/quantui/tddft_calc.py +95 -1
  107. {quantui-0.11.1 → quantui-0.13.0}/quantui/theme.py +25 -10
  108. quantui-0.13.0/quantui/ts_guess.py +562 -0
  109. {quantui-0.11.1 → quantui-0.13.0}/quantui/ts_search.py +34 -0
  110. {quantui-0.11.1 → quantui-0.13.0}/quantui/user_settings.py +82 -3
  111. {quantui-0.11.1 → quantui-0.13.0}/quantui/utils.py +13 -8
  112. quantui-0.13.0/quantui/vib_cache.py +346 -0
  113. {quantui-0.11.1 → quantui-0.13.0}/quantui/visualization_py3dmol.py +13 -31
  114. {quantui-0.11.1 → quantui-0.13.0}/quantui/viz_assets.py +21 -2
  115. {quantui-0.11.1 → quantui-0.13.0}/quantui/viz_backend_router.py +5 -0
  116. quantui-0.13.0/quantui/xcheck/__init__.py +37 -0
  117. quantui-0.13.0/quantui/xcheck/cases.py +435 -0
  118. quantui-0.13.0/quantui/xcheck/reference.py +769 -0
  119. quantui-0.13.0/quantui/xcheck/runner.py +1050 -0
  120. {quantui-0.11.1 → quantui-0.13.0/quantui.egg-info}/PKG-INFO +83 -75
  121. {quantui-0.11.1 → quantui-0.13.0}/quantui.egg-info/SOURCES.txt +28 -1
  122. {quantui-0.11.1 → quantui-0.13.0}/quantui.egg-info/requires.txt +8 -5
  123. quantui-0.11.1/SECURITY.md +0 -62
  124. quantui-0.11.1/quantui/backends/batch_input.py +0 -295
  125. quantui-0.11.1/quantui/nmr_plot.py +0 -132
  126. quantui-0.11.1/quantui/vib_cache.py +0 -254
  127. {quantui-0.11.1 → quantui-0.13.0}/LICENSE +0 -0
  128. {quantui-0.11.1 → quantui-0.13.0}/MANIFEST.in +0 -0
  129. {quantui-0.11.1 → quantui-0.13.0}/quantui/analytics.py +0 -0
  130. {quantui-0.11.1 → quantui-0.13.0}/quantui/ase_bridge.py +0 -0
  131. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/__init__.py +0 -0
  132. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/base.py +0 -0
  133. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/cluster_security.py +0 -0
  134. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/local.py +0 -0
  135. {quantui-0.11.1 → quantui-0.13.0}/quantui/backends/result_summary.py +0 -0
  136. {quantui-0.11.1 → quantui-0.13.0}/quantui/c_stderr.py +0 -0
  137. {quantui-0.11.1 → quantui-0.13.0}/quantui/cactus.py +0 -0
  138. {quantui-0.11.1 → quantui-0.13.0}/quantui/cancellation.py +0 -0
  139. {quantui-0.11.1 → quantui-0.13.0}/quantui/connectivity.py +0 -0
  140. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/js/3Dmol-min.js +0 -0
  141. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/js/3Dmol-min.js.LICENSE.txt +0 -0
  142. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/library/library.sqlite +0 -0
  143. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/manifests/bulk_qm9.json +0 -0
  144. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/manifests/curated.json +0 -0
  145. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/manifests/inorganic.json +0 -0
  146. {quantui-0.11.1 → quantui-0.13.0}/quantui/data/manifests/presets.json +0 -0
  147. {quantui-0.11.1 → quantui-0.13.0}/quantui/density_fitting.py +0 -0
  148. {quantui-0.11.1 → quantui-0.13.0}/quantui/engines/base.py +0 -0
  149. {quantui-0.11.1 → quantui-0.13.0}/quantui/live_log.py +0 -0
  150. {quantui-0.11.1 → quantui-0.13.0}/quantui/progress.py +0 -0
  151. {quantui-0.11.1 → quantui-0.13.0}/quantui/raman_plot.py +0 -0
  152. {quantui-0.11.1 → quantui-0.13.0}/quantui/security.py +0 -0
  153. {quantui-0.11.1 → quantui-0.13.0}/quantui/spin_presets.py +0 -0
  154. {quantui-0.11.1 → quantui-0.13.0}/quantui/xyz_input.py +0 -0
  155. {quantui-0.11.1 → quantui-0.13.0}/quantui.egg-info/dependency_links.txt +0 -0
  156. {quantui-0.11.1 → quantui-0.13.0}/quantui.egg-info/entry_points.txt +0 -0
  157. {quantui-0.11.1 → quantui-0.13.0}/quantui.egg-info/top_level.txt +0 -0
  158. {quantui-0.11.1 → quantui-0.13.0}/setup.cfg +0 -0
@@ -7,6 +7,322 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.13.0] - 2026-12-05
11
+
12
+ This release adds a built-in cross-check of QuantUI's numbers against its
13
+ calculation backend (`quantui xcheck`, also run weekly in CI), a two-pane
14
+ workspace with a menu bar and a calculation-setup dialog, and new
15
+ calculation and analysis features (SCF stability, 2-D scans, NMR
16
+ couplings, Compare tools, Keep symmetry). Open-shell result cards now name
17
+ the gap they show (both spin channels).
18
+
19
+ ### Added
20
+
21
+ - **Menu bar** (File · Calculate · View · Results · Help) under the title:
22
+ load or upload a molecule, open saved results, exports, set up / run /
23
+ cancel a calculation, structure style and labels, the two-pane workspace
24
+ and theme, jump straight to any Analysis panel, help and an About line.
25
+ Items that cannot be used right now are greyed out and say why. System
26
+ Settings → "Menu bar" turns it off.
27
+ - **Calculation setup in a dialog** (Calculate → "Set up calculation…", or
28
+ "Set up in a dialog" on the Calculate tab): the same setup controls in a
29
+ window over the page; Run starts the calculation and shows the live log.
30
+ - **Weekly backend cross-check** (`xcheck-weekly.yml`, Sundays and on
31
+ demand): the full cross-check tier against PySCF and the PyFock cases
32
+ (single point and optimization) against density-fitted PySCF, with
33
+ reports kept as workflow artifacts. Pull-request CI keeps the quick tier.
34
+
35
+ - **Backend cross-check (`quantui xcheck`).** Runs reference cases through
36
+ QuantUI the way a student's calculation runs (the batch worker, and the
37
+ app's single-point path), reads the numbers back from the saved
38
+ `result.json`, and compares each with PySCF computed directly by
39
+ independent recipes that use only PySCF and NumPy: energies, HOMO-LUMO
40
+ gap, ⟨S²⟩, dipole, Mulliken and natural charges, the SCF class used,
41
+ frequencies, IR intensities, ZPE/H/S/G, TD-DFT excitations, oscillator and
42
+ rotatory strengths, NMR shieldings and shifts, and whether an optimized
43
+ geometry is a stationary point. A quick tier runs in the test suite, in
44
+ the CPU image's build test, and on a GPU node in `verify-gpu.sh` (GPU
45
+ results against the CPU reference); `--tier full` adds more functionals,
46
+ PCM, CCSD(T), NH₃ thermochemistry, ECD and NMR. Exit code 1 on any
47
+ disagreement.
48
+ - **SCF stability check and broken-symmetry start** (Single Point, opt-in).
49
+ The stability check follows an internal instability to the lower solution
50
+ and, for RHF/RKS, reports how much lower a spin-polarized UHF/UKS solution
51
+ is (with its ⟨S²⟩). A broken-symmetry start converges a chosen high-spin
52
+ state, flips the spin on the listed atoms and starts the requested
53
+ low-spin calculation from it. Both also work as batch options.
54
+ - **Thermochemistry symmetry-number override.** Set σ on the Frequency
55
+ setup or in the Analysis thermochemistry box; S and G are recomputed and
56
+ the card shows both the value used and the detected one.
57
+ - **Reactant + product transition-state searches as batch jobs**
58
+ (`quantui submit … --calc transition_state --product P.xyz`, also
59
+ `quantui-batch`), with the interpolated guess cached for resubmission.
60
+ - **Two-pane molecule workspace** (on by default; System Settings →
61
+ "Two-pane workspace" turns it off). The molecule stays in a pane beside
62
+ the tabs while you read any Analysis panel, with a toolbar (style,
63
+ atom-number labels, reset view, viewer backend), the measurement tools,
64
+ an atom list (coordinates plus Mulliken/NPA charges when the result has
65
+ them) and a status footer (job state, formula, charge, multiplicity,
66
+ selection). Clicking an atom in the viewer selects its row and clicking a
67
+ row selects the atom; on narrow windows the panes stack.
68
+ - **2-D relaxed PES scans**: two coordinates (bond, angle or dihedral each)
69
+ on a grid of up to 400 constrained optimizations in snake order, a
70
+ contour map with the minimum marked and click-a-point → geometry,
71
+ checkpoint/resume, History reload and batch options (`scan2_*`).
72
+ - **NMR spin-spin couplings** (opt-in): J in Hz for H–H, C–H and C–C pairs
73
+ with the FC/SD/PSO/DSO breakdown and nJ labels, and an optional
74
+ first-order splitting of the ¹H spectrum.
75
+ - **Compare tab tools:** overlay IR, Raman, UV-Vis or ¹H/¹³C NMR spectra
76
+ from 2–6 saved results (shared broadening, optional normalisation, HTML/PNG
77
+ export, Copy data); overlay two structures with the same atoms after
78
+ alignment, with all-atom and heavy-atom RMSD and the largest
79
+ displacements; and a reaction-energy calculator (ΔE, and ΔH/ΔG when every
80
+ species has thermochemistry at the same T and P) in kcal/mol, kJ/mol or
81
+ eV, which refuses an unbalanced reaction.
82
+ - **Keep symmetry** option for Geometry Opt: the starting structure is
83
+ symmetrized to its detected point group and every step keeps it; the
84
+ result card shows the group kept (batch option `keep_symmetry`).
85
+ - **Gaussian-format input export (`.gjf`)** from Results → Export and from
86
+ each saved result in History (built in memory as a download).
87
+ - **6-311G\*\*** basis set.
88
+ - **Spectrum options:** IR frequency scale factor, Lorentzian or Gaussian
89
+ band shape, transmittance axis; UV-Vis energy (eV) axis with
90
+ energy-space broadening.
91
+
92
+ ### Changed
93
+
94
+ - Cluster Jobs: Cancel and Refresh run in the background, so the app stays
95
+ responsive while SLURM answers.
96
+ - The structure style menu restyles every structure viewer, not only the
97
+ Calculate tab's; viewers that were on screen when drawn now register the
98
+ first atom click.
99
+ - Open-shell (UHF/UKS) result cards now label the gap "HOMO-LUMO gap (both
100
+ spin channels)", which is what has been computed since 0.12.0; the
101
+ exported PySCF script prints the same gap (it printed the α-channel gap).
102
+ - Internal: the app's run function is split into one helper per
103
+ calculation type; a few catch-all error handlers were narrowed.
104
+
105
+ ## [0.12.0] - 2026-11-12
106
+
107
+ This release also includes the fixes from a full codebase audit
108
+ (2026-11-10; PRs #169, #170, #172). The most important ones change
109
+ computed numbers: NMR ¹³C shifts, wB97X-D energies, and the entropy of
110
+ high-symmetry molecules. Results from earlier versions in those areas
111
+ should be recomputed.
112
+
113
+ ### Added
114
+
115
+ - **ECD (electronic circular dichroism) spectra** (M-SPECTRA2 SPC2.3). UV-Vis
116
+ (TD-DFT) runs now also compute rotatory strengths (velocity gauge, plotted;
117
+ length gauge shown alongside) in 10⁻⁴⁰ cgs, and a new **ECD** panel beside
118
+ UV-Vis shows the stick or Gaussian-broadened Δε spectrum (Stephens & Harada
119
+ convention) with HTML/PNG export and Copy data. Enantiomers give exactly
120
+ mirror-image spectra; an achiral molecule is labelled as such. Needs a
121
+ diffuse basis for meaningful Rydberg bands; not available with ECP basis
122
+ sets (PySCF limitation). Saved with results and batch jobs.
123
+ - **NPA charges and bond orders** (M-CHEM CHEM.2/CHEM.3). The Populations
124
+ panel (now *Populations & Bond Orders*) shows natural population analysis
125
+ (NPA) charges beside Mulliken, with a Mulliken/NPA toggle for the chart and
126
+ 3D colours, plus Mayer and Wiberg bond orders in a table and, optionally,
127
+ as labels on the bonds in 3D. NPA comes from PySCF's natural atomic
128
+ orbitals (the NAO/NPA step of NBO, not full NBO); Wiberg indices are
129
+ computed in the NAO basis, as NBO programs report them. NPA charges change
130
+ far less with basis set than Mulliken charges (water's O: −0.92 to −0.96
131
+ across 6-31G…def2-TZVP vs −0.31 to −0.90). Saved with results and batch
132
+ jobs; for MP2/CCSD they come from the HF reference density.
133
+ - **Transition-state guess from a reactant and a product** (M-TS TS.4).
134
+ On the Transition State calc type, pick a *Product* (a saved
135
+ Geometry Opt result with the same atoms, or pasted XYZ): QuantUI aligns it
136
+ to the current molecule, builds an IDPP-interpolated path (7 images by
137
+ default), computes each image's energy, starts the Sella search from the
138
+ highest one and plots the path profile in the PES Scan panel. Warns when
139
+ atoms pass through each other (usually mismatched atom order) or when the
140
+ path has no barrier. `quantui.ts_guess`. Batch jobs still start from one
141
+ geometry.
142
+ - **Help topics** for Frequency (IR, Raman, thermochemistry), UV-Vis
143
+ (TD-DFT), NMR, Reorganization Energy, implicit solvent (PCM), GPU
144
+ acceleration and running on a SLURM cluster. These had no help coverage.
145
+ - The full 3Dmol.js BSD-3-Clause license now ships with the vendored copy
146
+ (`quantui/data/js/3Dmol-LICENSE.txt`).
147
+
148
+ ### Security
149
+
150
+ - **Every Voilà launch now needs a per-run token and listens on 127.0.0.1
151
+ only** (`quantui run app`, the native launchers and the Apptainer app
152
+ runscript), as `quantui view` already did; the JupyterLab launcher no
153
+ longer disables Jupyter's token. Another user on a shared machine could
154
+ otherwise drive your session.
155
+ - **A results folder is treated as data, not page code.** Opening someone
156
+ else's results (Viewer zip, shared folder) could inject HTML/JavaScript
157
+ through cached vibrational animations, saved orbital cubes or symmetry
158
+ labels, and two index files allowed reading files outside the folder.
159
+ Cached animations are now signed per user; file names, script-embedded
160
+ JSON and all result text shown in History, Results and error cards are
161
+ checked or escaped.
162
+ - **Batch job folders are created owner-only (0700)**, and the SLURM
163
+ partition name is validated like account/QOS before it reaches the batch
164
+ script.
165
+
166
+ ### Fixed
167
+ - **NMR chemical shifts were offset by up to 52 ppm (¹³C).** The TMS
168
+ reference table did not match QuantUI's own GIAO shieldings (TMS itself
169
+ came out at δ(¹³C) = −7.7 ppm at B3LYP/6-31G*, −52 ppm at RHF/STO-3G). The
170
+ table is now computed by QuantUI on TMS optimized at each level, so TMS
171
+ gives δ ≈ 0. NMR also refuses open-shell, post-HF and meta-GGA cases up
172
+ front instead of failing with a cryptic error.
173
+ - **wB97X-D now includes its dispersion term.** LibXC's functional is only
174
+ the exchange-correlation part; QuantUI now adds the Chai–Head-Gordon
175
+ atom-pair dispersion to energies, forces, frequencies and exported
176
+ scripts (parameters for H–Xe).
177
+ - **Thermochemistry uses the right symmetry number for slightly distorted
178
+ geometries** (e.g. benzene σ = 12, was 4; G was 2.7 kJ/mol too low). The
179
+ point group is shown in the thermo panel.
180
+ - **Open-shell HOMO–LUMO gap and orbital diagram** use both spins
181
+ (min LUMO − max HOMO) and draw α and β levels; the gap was α-only.
182
+ - **Structure search keeps charge and multiplicity**: ions and radicals
183
+ (sulfate, ammonium, OH⁻, CH₃·, O₂ triplet) no longer load as neutral
184
+ singlets or fail as "Not found". Search answers from the bundled library
185
+ first, offline.
186
+ - **Calculation runs:** one run at a time (a double-click started two);
187
+ settings are read once at Run and frozen while it runs, so changing the
188
+ basis mid-run no longer mixes levels of theory; a seed geometry keeps the
189
+ current charge and multiplicity; a resumed Frequency run never reuses IR
190
+ or Raman displacements from a different geometry; a failed save, a late
191
+ Cancel and a failed pre-optimization are reported instead of looking
192
+ like success.
193
+ - **IRC** reports the true end minimum when Sella's inner loop gives up (the
194
+ stored end point could be the previous path point, giving wrong
195
+ barriers), and mirror-image ends (NH₃ inversion) count as two minima.
196
+ - **PES scans:** angle scans stay between 0° and 180° and start from linear
197
+ geometries; angle/dihedral scans rotate the whole moving group instead of
198
+ one atom.
199
+ - **Frequencies:** an unconverged displaced SCF no longer corrupts IR or
200
+ Raman intensities (they are dropped with a message); the mode-following
201
+ restart from a saddle point moves the stated 0.3 Å.
202
+ - **Batch/SLURM:** cancelled ("CANCELLED by …"), preempted and lost jobs are
203
+ recognised instead of holding a job slot forever; a reused request id no
204
+ longer overwrites a running job; requeued jobs follow the new attempt;
205
+ ingested results keep their structure; `quantui-batch submit --from`
206
+ keeps the source's solvent and refuses an unconverged source; the job
207
+ monitor can no longer leave Run disabled.
208
+ - **Uploads and parsing:** planar 3-D MOL/SDF files keep their geometry;
209
+ charge/multiplicity are taken from a file only when it sets them;
210
+ non-finite coordinates, impossible spin states and truncated XYZ are
211
+ rejected; UTF-8 BOM, UTF-16, Fortran `D` exponents, D/T isotope labels
212
+ and PDB alternate locations are handled.
213
+ - Many smaller fixes from the same audit: History cards, exports following
214
+ the run instead of the last-viewed History folder, theme CSS and Dark
215
+ contrast, 1-based MO numbers everywhere, open-shell TD states no longer
216
+ labelled S1…Sn, GFN-FF pre-optimization charge, C3v orbital labels,
217
+ calibration and estimator fixes, launcher robustness.
218
+
219
+ - **MO symmetry labels no longer depend on the LAPACK build.** On a
220
+ geometry symmetric only to within the detection tolerance, a split
221
+ degenerate pair (e.g. an NH3 e level) could be labelled "a2" on one
222
+ platform and "e" on another, because PySCF's `symmetrize_space` rebuilt
223
+ each irrep from an arbitrary basis. Each near-degenerate cluster of
224
+ orbitals (within 5 mHa) is now rotated onto symmetry-pure combinations
225
+ before labelling, and C3v labels are refused (Cs labels kept) if they
226
+ would contain more a1, a2 or e levels than the AO basis has SALCs of that
227
+ irrep. The 90% symmetry-purity check on orbitals now actually applies.
228
+ - **Results Viewer (pre-release audit, VA.1–VA.12)** — the History + Analysis
229
+ viewer (desktop installer and browser build, neither of which has PySCF):
230
+ - Frequency results show their saved thermochemistry instead of a red
231
+ "No module named 'pyscf'" error; T and P are locked, with a note, when
232
+ nothing can be recomputed. The not-a-minimum warning always shows.
233
+ - The Orbital Isosurface panel draws the saved HOMO and LUMO as before and
234
+ says other orbitals, density and ESP need the full QuantUI, instead of
235
+ offering buttons that failed with a "conda install pyscf" error.
236
+ - Mode symmetry labels are saved with each Frequency result, so History and
237
+ the Viewer show them without PySCF.
238
+ - Switching tabs no longer raises an error; the header says "Viewer"; Help
239
+ has a Viewer "Getting Started" and only topics that apply; the activity
240
+ light (always "Idle") is hidden.
241
+ - Browser build: the editable folder box is hidden (the files live in the
242
+ tab's memory), and Report Issue explains that nothing is kept once the
243
+ tab closes and links to the issue tracker.
244
+ - Narrow windows: the folder bar and History's Load row wrap instead of
245
+ pushing buttons off-screen; 3D viewers no longer overflow their panel;
246
+ the energy-level diagram scrolls sideways instead of being clipped.
247
+ - **UV-Vis excited-state table readable on dark themes** — alternate rows were
248
+ near-white (JupyterLab's table striping) under light text.
249
+ - **Analysis structure viewer filled for NMR, PES Scan and reorganization
250
+ results** opened from History; it stayed blank when the geometry was saved
251
+ only at the top level of `result.json`.
252
+ - **Calibration runs save complete results** — Frequency entries now include
253
+ thermochemistry, the max-force check and the saddle-point retry (one payload
254
+ shared with the app and batch jobs), and Geometry Opt entries keep their
255
+ Mulliken charges and dipole.
256
+ - **Energy-level diagram** — HOMO/LUMO labels sit beside the plot, so a
257
+ gridline at the same energy no longer runs through them.
258
+ - **Viewer demo results** — the Frequency sample is computed at the optimized
259
+ geometry (it was at the input geometry: max force 3.2 eV/Å, so its
260
+ frequencies were not meaningful), and the TD-DFT sample keeps its orbitals.
261
+ - **History cards show the point group for every saved result.** A single
262
+ point reloaded from History lost its *Point group* row (the live card had
263
+ it): the formatter never read the saved `geometry` block.
264
+ - **Smaller Viewer installers** (M-VIEWER VW.8): Windows 338 → 208 MB,
265
+ Linux 247 → 223 MB, macOS 213 → 185 MB. The Windows build no longer
266
+ bundles Intel MKL (NumPy now uses OpenBLAS), and pandoc, which Voilà never
267
+ calls, is left out on every platform.
268
+ - **Pasted XYZ coordinates no longer lose their first atom** when a count
269
+ line is followed directly by the atoms with no title line
270
+ (`3`, `O …`, `H …`, `H …`): water used to load as H₂, with only a log
271
+ warning.
272
+ - **The tutorial notebooks run again.** All five failed: they were written
273
+ for a removed cluster-submission workflow, needed `$USER`, or used
274
+ renamed attributes. They now run in-session in seconds, and every value
275
+ they quote is the value the code prints (e.g. RHF/6-31G water is
276
+ −75.984 Ha, not −76.03; STO-3G lies ~667 kcal/mol above cc-pVDZ, not
277
+ "30–100").
278
+ - Documentation site: the gallery images and the Features → CLI link were
279
+ broken on the published site.
280
+ - GPU messages, a CLI note and an engine error pointed at a "Status tab"
281
+ that no longer exists; they now name the System Settings tab.
282
+ - In-app help corrected throughout to match the current UI (labels,
283
+ Upload File, Compare tab, resume and warm-start details, RHF/UHF
284
+ behaviour, search order).
285
+
286
+ - **`quantui-batch` and `quantui submit` refuse a method QuantUI does not
287
+ support** instead of warning and queueing it. The worker fails any method
288
+ outside the supported list, so `--method HF` (or a typo) used to wait in
289
+ the queue and then fail; it is now refused before `sbatch`, with a hint
290
+ that Hartree-Fock is RHF or UHF. Accepted names are normalised to their
291
+ usual spelling (`cam-b3lyp` becomes `CAM-B3LYP`).
292
+ - **`quantui jobs` no longer shows a cancelled, timed-out or out-of-memory
293
+ job as running.** A killed worker leaves its last `progress.json` behind,
294
+ and any Slurm state other than the queued/running ones read as "running".
295
+ Finished states from `sacct` now win: cancelled, or failed with the fix
296
+ (`--more-time`, `--more-memory`, the log); a job that completed without a
297
+ result is failed.
298
+ - **A SLURM Reorganization Energy job resumes after a timeout or OOM.** The
299
+ batch worker never handed the run its checkpoint, so `quantui-batch rerun`
300
+ redid all two or three geometry optimizations. Each optimization now
301
+ continues from where it stopped, as in the app.
302
+ - The Help topic "Resuming an interrupted calculation" no longer says
303
+ Frequency cannot be resumed, and now lists Reorganization Energy.
304
+
305
+ ### Changed
306
+ - **Plotly figures load plotly.js once per page** from the installed
307
+ package (still offline) instead of embedding ~4.8 MB in every figure and
308
+ slider redraw; in-app figures are now under 200 kB.
309
+ - **Batch jobs match the app:** a geometry optimization or pre-optimization
310
+ is followed by the same required single point (one more SCF per job);
311
+ PySCF's memory follows the SLURM allocation; failures write a full
312
+ traceback to `live.log`; `result.json` records elapsed time and warnings.
313
+ - NMR stick spectra run high → low in δ, as in the literature.
314
+ - Packaging: `py3Dmol` capped below 2.6 (matches the vendored 3Dmol.js);
315
+ `rdkit` and `psutil` declared directly; SPDX licence metadata; provenance
316
+ files shipped in the wheel.
317
+
318
+ - Documentation brought in line with the code: CLI reference (`quantui
319
+ view`, `gpu check --engine`, `submit` requirements and flags,
320
+ `install-launcher` options), SLURM batch guide, Apptainer guide (base
321
+ image, build options; no `.sif` is published on Releases), README and
322
+ docs site (GPU coverage, IRC/Raman/reorganization energy, install from
323
+ PyPI with `quantui run app`), SECURITY.md (supported versions,
324
+ subprocess use), and the contributor and agent guides.
325
+
10
326
  ## [0.11.1] - 2026-11-02
11
327
 
12
328
  ### Changed
@@ -646,7 +962,7 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
646
962
  - **NMR stick plot** with a ¹H/¹³C nucleus toggle, mirroring the existing
647
963
  IR/UV-Vis panels; UV-Vis gains λ min/max axis-bound inputs.
648
964
  - **Click-to-measure atom selection** on the Analysis-tab viewer — click 2, 3,
649
- or 4 atoms to read a bond length, angle, or dihedral, GaussView-style
965
+ or 4 atoms to read a bond length, angle, or dihedral
650
966
  (py3Dmol only for now; the Plotly viewer shows an explanatory message
651
967
  instead of a silent no-op).
652
968
  - **Interactive XYZ input.** An atom-row builder and a cleanup-coordinates
@@ -847,7 +1163,7 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
847
1163
  - **Tunable isosurface resolution** — Coarse/Medium/Fine/Very fine grids,
848
1164
  remembered between launches.
849
1165
  - **Live isosurface controls**: isovalue, opacity and a colour-scheme dropdown
850
- (GaussView orange/blue, Avogadro/Jmol red/blue, journal yellow/blue, and
1166
+ (orange/blue, Avogadro/Jmol red/blue, journal yellow/blue, and
851
1167
  more). All three update the existing viewer without recomputing anything, so
852
1168
  the orientation you rotated into is preserved.
853
1169
  - **The isovalue is explained in chemical terms.** Beside the slider, QuantUI
@@ -1390,7 +1706,9 @@ Initial public scaffolding of the QuantUI package: `quantui` package with
1390
1706
  `calculator.py`, basic notebook launcher, Apptainer container definition,
1391
1707
  MIT license, and project metadata.
1392
1708
 
1393
- [Unreleased]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.11.1...HEAD
1709
+ [Unreleased]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.13.0...HEAD
1710
+ [0.13.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.12.0...v0.13.0
1711
+ [0.12.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.11.1...v0.12.0
1394
1712
  [0.11.1]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.11.0...v0.11.1
1395
1713
  [0.11.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.10.0...v0.11.0
1396
1714
  [0.10.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.9.0...v0.10.0