Raman spectroscopy from response polarizability
The first v2.x response-property prototype adds Raman activities for the existing UFF normal modes. It is deliberately scoped: the polarizability is an uncoupled HF/STO-3G sum-over-states tensor and the Raman intensity is a finite difference along each normal mode. VCD and ROA are separate screening models documented in VCD and ROA.
Status. Implemented and exposed on the Rust, Python, WASM and CLI surfaces. This is a screening prototype, not a calibrated Raman cross-section. See the v2.x roadmap.
Feature.
alpha-raman(included inalpha-v2).
Why a response polarizability
IR intensities need the derivative of the dipole moment along a normal mode. Raman needs the derivative of the polarizability tensor. The two spectra therefore share the normal modes but not the response property.
The first implementation avoids a new coupled-perturbed SCF by using the uncoupled sum-over-states expression
The factor 2 follows from
Raman activity
For each real normal mode, displace the geometry by ±δ along the normalized mass-weighted mode, compute the polarizability at both points, and form
The Placzek activity is
and the depolarization ratio is
Relative activities are meaningful. Absolute cross-sections are not calibrated.
API
use sci_form::raman::RamanConfig;
use sci_form::compute_raman_spectrum;
let water = [
[0.0, 0.0, 0.0],
[0.9572, 0.0, 0.0],
[-0.239987, 0.927297, 0.0],
];
let spectrum = compute_raman_spectrum(
"O",
&[8, 1, 1],
&water,
&RamanConfig::default(),
)?;
for mode in spectrum.modes {
println!("{:.1} cm^-1 activity={:.3}", mode.frequency_cm1, mode.activity);
}Output
| Type | Meaning |
|---|---|
Polarizability | 3×3 tensor in ų, isotropic and anisotropic invariants |
RamanMode | Mode index, frequency cm⁻¹, activity and depolarization |
RamanSpectrum | Modes, input polarizability, step and notes |
Validation
| Gate | Observable | Result |
|---|---|---|
| Tensor symmetry | α_ij = α_ji | < 1e-10 |
| Water polarizability | Isotropic value | positive and finite |
| Water Raman smoke | Real modes and finite activities | passes |
| Invalid step | δ = 0 | rejected |
The water test checks that the response path runs and produces a symmetric tensor. A quantitative benchmark against ORCA/Gaussian Raman intensities is still required before promotion.
Bindings
| Surface | Entry point |
|---|---|
| CLI | sci-form raman <smiles> '<elements>' '<coords>' [--step 0.01] |
| WASM | compute_raman_spectrum(smiles, elements, coords, step) |
| Python | compute_raman_spectrum(smiles, elements, coords, step_angstrom=0.01) |
All three return the same spectrum; Python returns the JSON encoding of RamanSpectrum. step_angstrom must be finite and > 0; malformed coordinates or SMILES raise ValueError in Python and return {"error": "..."} in WASM.
Limitations
- The polarizability is uncoupled HF/STO-3G, not a coupled-perturbed or correlated response.
- The normal modes come from the UFF Hessian, not the same electronic method as the polarizability.
- VCD and ROA use separate screening models documented in VCD and ROA; they do not feed back into this Raman tensor.
- The finite-difference step defaults to 0.01 Å but is configurable; a step convergence study is required for production.
- Absolute Raman cross-sections are not calibrated; only relative activities are meaningful.
- The tensor origin is the coordinate origin. For neutral molecules the polarizability is origin-independent; charged systems need a documented origin convention.
Next steps
- Replace the uncoupled sum-over-states tensor with a coupled-perturbed HF response.
- Use the same electronic method for the Hessian and the polarizability.
- Add VCD and ROA magnetic-dipole response.
- Add a step-size convergence study.
- Benchmark against ORCA/Gaussian for a small molecule set.
- Add a step-size convergence study and a coupled-response benchmark.