diff --git a/docs/oeps/index.md b/docs/oeps/index.md index e828b0ad..28f42f96 100644 --- a/docs/oeps/index.md +++ b/docs/oeps/index.md @@ -30,6 +30,7 @@ Proposals that are active, in draft, accepted, in progress or deferred. | [0](oep-0000-process.md) | Purpose and process | Active | Process | | [7](oep-0007-strong-field-dissociation.md) | Strong-field dissociation of small molecules: the products a pulse leaves | Draft | Feature | | [8](oep-0008-bound-two-photon-response.md) | The bound two-photon resonances of the noble gases for propagation | Draft | Feature | +| [9](oep-0009-quadratic-crystals.md) | Second-order crystals: frames, the d tensor and one identity per crystal | Draft | Feature | ## Archived @@ -52,6 +53,7 @@ Proposals that are final, rejected, withdrawn or superseded: see the oep-0000-process oep-0007-strong-field-dissociation oep-0008-bound-two-photon-response +oep-0009-quadratic-crystals template archive/index ``` diff --git a/docs/oeps/oep-0009-quadratic-crystals.md b/docs/oeps/oep-0009-quadratic-crystals.md new file mode 100644 index 00000000..43cd3aad --- /dev/null +++ b/docs/oeps/oep-0009-quadratic-crystals.md @@ -0,0 +1,979 @@ +# OEP 9 — Second-order crystals: frames, the d tensor and one identity per crystal + +| | | +|---|---| +| **OEP** | 9 | +| **Title** | Second-order crystals: frames, the d tensor and one identity per crystal | +| **Author** | Chris Brahms | +| **Drafting agent** | Opus 5.5 (2026-12-01) | +| **Status** | Draft | +| **Review status** | In review | +| **Reviewers** | Opus 5.5 (AI); Fable 5.2 (AI) | +| **Type** | Feature | +| **Created** | 2026-12-01 | +| **Resolution** | — | +| **Requires** | [OEP 1](archive/oep-0001-propagation-interface.md): model identity, digests, overrides and the declared public surface | +| **Supersedes** | — | +| **Superseded-by** | — | +| **Implementation** | — | +| **Manual pages** | — | + +## Part I — Proposal + +### 1. Abstract + +optmat curates the two principal indices of BBO as two unrelated models with two +digests, and nothing of second-order optics: no point group, no frame, no quadratic +tensor. solprop's SEP 8 propagates χ⁽²⁾ fields in uniaxial and biaxial crystals and +needs, from one call, a crystal's principal-axis permittivity models, its frame, a +constant conservative quadratic tensor in SI, and one identity that covers them all. +This OEP proposes: +- a **crystal record** that bundles the per-axis linear models with a signed frame; +- a new family of curated values, **second-order coefficients**, stored as their + sources print them, with the source's own frame and convention; +- a **quadratic tensor model** built from named independent coefficients and the + point group, in which a symmetry-forbidden zero, an unavailable coefficient and a + deliberately neglected one are three distinct states; +- the **Kleinman-symmetric tensor** as a separate, named model derived from the data, + with its departure from the data reported; +- a **crystal bundle** with one digest. + +BBO is the first crystal and LBO the second. Success is judged by the checks of +section 8: the stored tensor is invariant under its point group, the unit and +convention factors are tested on worked examples, BBO keeps its pinned 800 nm type I +angle, and LBO reproduces measured noncritical phase-matching temperatures within +their uncertainty once its thermo-optic data are curated. + +### 2. Motivation and scope + +**The use case.** SEP 8 (solprop's +[issue #118](https://github.com/LupoLab/solprop/issues/118)) is being narrowed to a +core: χ⁽²⁾ propagation in uniaxial and biaxial crystals with a constant +(dispersionless) tensor. In that core the user supplies the tensor and the frame. The +aim of this OEP is that optmat supplies curated defaults, so that solprop builds a BBO +or LBO crystal from optmat alone and records one material in a run. SEP 8 §4.11 states +the full data contract; this OEP delivers the subset its core needs and leaves room +for the rest. + +**In scope:** +- the crystal record, its frames and its bundle identity, for any noncentrosymmetric + point group whose residual freedom (4.3) the record fixes. The freedoms of $3m$ and + $mm2$ are worked out here; others are worked out when a crystal needs them; +- a convention for labelling the axes of a biaxial crystal; +- the vocabulary for second-order coefficients and for coefficients measured relative + to a reference crystal or component; +- the constant quadratic tensor model, its three entry states and its Kleinman + derivation; +- BBO's frame and tensor, and LBO's frame, tensor and the thermo-optic data its + noncritical phase-matching check needs. + +**Not in scope, but not precluded:** +- frequency-dependent (Miller-type) d, and d(T): the stored coefficients keep their + measurement wavelengths and temperatures, so a later model can use them; +- KTP, LiNbO₃ and other crystals: the machinery is general, their data are not + curated here; +- index at an angle, eigenmodes, phase matching, walk-off and effective coefficients: + solprop derives these. optmat does not publish an index-at-angle function as data. + Measured phase-matching angles and temperatures are **validators**; +- monoclinic and triclinic crystals, whose dielectric axes rotate with frequency: the + frame below is fixed and is refused for them; +- BBO's temperature dependence: Phase 3 brings the thermo-optic model form LBO needs, + and BBO's dn/dT (Eimerl 1987; Kato et al. 2010) can follow as an ordinary addition; +- intrinsic χ⁽³⁾ of crystals, absorption, thermal expansion and damage (SEP 8 §4.11 + lists them). + +### 3. Context + +**What optmat has (as of `19aadc4`, optmat 0.10.0):** +- BBO's two rays, `tamosauskas_2018/sellmeier_o` and `sellmeier_e`, 188–5201 nm, read + as relative to room air at an assumed 20 °C and made absolute (TC-1095). They are two + per-axis models with separate digests ({doc}`../crystals`). +- `data/materials.toml` gives each crystal its `optics` and `axes`. Biaxial crystals + already use two different axis namings: KGW `n_p, n_m, n_g`, and KTP and Ga₂O₃ + `x, y, z`. No convention fixes their order or signs. LBO is not registered. Ga₂O₃'s + registry entry notes that $\beta$-Ga₂O₃ is monoclinic, which the fixed frame proposed + here would refuse (section 2). KGW's crystal system is recorded neither in the + registry nor in any source in the library, so only KTP is a known precedent for the + orthorhombic case. +- OEP 1 gave every model an identity with a digest + ({doc}`identity <../identity>`). The silica nonlinear bundle + (`optmat.solid.bundle`) is the precedent for one identity covering several models. +- `nonlinear_susceptibility` is a third-order quantity; nothing in the vocabulary is + second order. + +**Issues.** +- optmat [#28](https://github.com/LupoLab/optmat/issues/28), *Second-order nonlinear + optics of crystals*: this OEP covers its indices, the d tensor and the conventions. + It does not cover the third-order response or Miller dispersion, so #28 stays open + when this OEP is final, with those two items. +- solprop [#118](https://github.com/LupoLab/solprop/issues/118) (SEP 8) consumes the + result. +- solprop [#293](https://github.com/LupoLab/solprop/issues/293): which of optmat's + crystals solprop admits as built-in materials. +- solprop [#277](https://github.com/LupoLab/solprop/issues/277): spectral-domain + responses that SEP 8 leaves open; Miller-type d would bear on it. + +### 4. Theory + +#### 4.1 The convention + +In SI, with $E$ in V/m and $P$ in C/m², + +$$ +P_i^{(2)} = \epsilon_0 \sum_{jk} \chi^{(2)}_{ijk} E_j E_k, +\qquad d_{ijk} = \tfrac12 \chi^{(2)}_{ijk}, +$$ + +so $\chi^{(2)}$ and $d$ are in m/V (Boyd, Eqs. 1.5.22–1.5.23, p. 61, who calls the +factor ½ a historical convention). For SHG, $d_{ijk}$ is symmetric in $jk$ (Boyd, +p. 62). For sum- and difference-frequency mixing, intrinsic permutation symmetry +exchanges $j$ and $k$ only together with their frequencies. The constant model of this +OEP assumes the same $jk$-symmetric tensor for every process, which is part of its +dispersionless approximation. The tensor is contracted to $d_{il}$ with $l = 1, \dots, 6$ for $jk = xx, yy, zz, (yz, zy), (xz, zx), (xy, yx)$ +(Boyd, Eqs. 1.5.24–1.5.25, p. 62). This is SEP 8 §4.1's canonical order. A published +value in pm/V is multiplied by $10^{-12}$ once, at the loader. The factor of two from +$d$ to $\chi^{(2)}$ is applied in one place, the tensor model. A separate factor of two +from the two orderings of distinct input fields belongs to the propagation code and is +not optmat's. + +Each source states which of $d$ and $\chi^{(2)}$ it prints, and in which units. Where +it does not say, the record says so, and the reading is a register entry. It is never +guessed silently. + +#### 4.2 Three frames + +A second-order crystal needs three right-handed Cartesian frames, kept apart: + +1. **The dielectric frame** $(x, y, z)$: the principal axes of the permittivity, in + which a propagation code works. For a uniaxial crystal, $z$ is the optic axis, and + the degenerate $x$ and $y$ are defined as the setting's $X$ and $Y$. +2. **The symmetry setting** $(X, Y, Z)$ of the point group: its principal or polar axis + along $Z$, its mirrors and two-fold axes in fixed positions (4.3). A tensor's named + coefficients ($d_{22}$, $d_{31}$, ...) belong to this frame. Most of the literature's + labels belong here too, though not always (4.5). +3. **The crystallographic axes** $a, b, c$ of the unit cell, which are not Cartesian + for a trigonal or hexagonal cell. + +With $R$ the matrix whose columns are the setting's unit vectors in the dielectric +frame, + +$$ +d^{\text{diel}}_{ijk} = R_{ia} R_{jb} R_{kc}\, d^{\text{set}}_{abc}. +$$ + +All three indices rotate (SEP 8 §4.1). For orthorhombic and higher symmetry, $R$ is a +signed permutation with $\det R = +1$. Ordering the dielectric axes by index does not +fix their signs, and it need not put the polar axis along $z$ (4.5). + +#### 4.3 Point groups and the forbidden entries + +A tensor is invariant under its point group $G$ when +$d_{ijk} = R_{ia}R_{jb}R_{kc}\,d_{abc}$ for every $R \in G$. The invariant tensors form a +linear subspace. Its projector is the group average of $R\otimes R\otimes R$, acting on +the 18 contracted entries. An entry that the projector maps to zero for every input is +**forbidden by symmetry**. + +The **directions** of the setting's axes are fixed once, for every group: +- the principal axis is $Z$; +- the mirror of $3m$, $4mm$, $6mm$ and $\bar 6m2$ is normal to $X$; +- the mirrors of $mm2$ are normal to $X$ and to $Y$; +- the two-fold axis normal to $Z$ of $32$, $422$, $\bar 42m$ and $622$ lies along $X$; +- the two-fold axes of $222$, and those of $23$, lie along $X$, $Y$ and $Z$; +- the $\bar 4$ axes of $\bar 43m$ lie along $X$, $Y$ and $Z$; +- the two-fold axis or the mirror normal of the monoclinic groups $2$ and $m$ is $Y$. + These groups are listed for the tensor only: their crystals are refused by the frame + (section 2). + +In this setting the $3m$ tensor has $d_{22}$ allowed and $d_{11}$ forbidden, with +$d_{16} = d_{21} = -d_{22}$, $d_{24} = d_{15}$ and $d_{32} = d_{31}$, which is SEP 8 +§4.11's pattern. Boyd's general tables (Table 1.5.2 and Fig. 1.5.3, pp. 70–71) give the +patterns and the numbers of independent components: four for $3m$, five for $mm2$, two +for $\bar 42m$ and one for $\bar 43m$. Boyd's $3m$ matrix on p. 68 is already +Kleinman-reduced ($d_{31}$ where $d_{15}$ and $d_{24}$ stand), so it is not the pattern +cited here. $\bar 6m2$ with its mirror normal to $X$ allows $d_{22}$, $d_{21}$ and +$d_{16}$ only. + +**Senses, and what a sign means.** The directions above leave the senses of the axes +open, and a sign depends on them. +- In $3m$ the mirror makes $+X$ and $-X$ equivalent. +- A rotation by π about $Z$ keeps the setting and reverses $Y$. It reverses $d_{22}$ + and leaves $d_{31}$, $d_{33}$ and $d_{15}$ unchanged. +- A rotation by π about $Y$ keeps the setting and reverses $Z$. It reverses $d_{31}$, + $d_{33}$ and $d_{15}$ and leaves $d_{22}$ unchanged. +- So in $3m$ the sign of $d_{22}$ follows the sense of $+Y$, and the common sign of the + other three follows the sense of the polar $+Z$. The **relative sign of $d_{31}$ and + $d_{22}$ has a meaning only once both senses are tied to physical directions** of the + crystal. The signs within $\{d_{31}, d_{33}, d_{15}\}$ are fixed by the setting alone. +- In $mm2$ a rotation by π about $X$ reverses $Z$ and every coefficient together, so all + the relative signs are properties of the crystal, and only their common sign follows + $+Z$. + +**The residual freedom in general.** The proper rotations that map the group onto +itself (its normaliser in SO(3)), taken modulo the group, keep the setting and can change +the coefficients. They are what a record must fix: +- $3m$: the rotations by π about $Z$ and about $Y$ (their product, π about $X$, reverses + every coefficient). +- $mm2$: the rotation by π about $X$, and the rotation by 90° about $Z$, which exchanges + the two mirrors and so which axis is $X$. +- $\bar 42m$ (KDP, the usual reference crystal): the rotation by 90° about $Z$, which + keeps the group and reverses $d_{14}$, $d_{25}$ and $d_{36}$. +- Groups with a single axis and no mirror or two-fold axis normal to it ($3$, $4$, + $\bar 4$, $6$, $\bar 6$): any rotation about $Z$, so $X$ itself must be tied to a + stated direction. + +Each crystal record fixes every generator of its group's residual freedom, in one of two +ways: +- **by a physical property**, with its source. The piezoelectric standards do this + [18, 19], and Banks et al. (p. 107) cite them for the optical setting of $3m$. + - Both put $Z$ along $c$ and $X$ along an $a$ axis, the $a$ axes being normal to a + mirror ([18] §1.8, pp. 1383–1384; [19] §3.2.5, p. 16): the setting of this OEP. + - Both fix the senses of $3m$ by **piezoelectric** coefficients: $+Z$ so that the + piezoelectric $d_{33}$ is positive, $+Y$ so that the piezoelectric $d_{22}$ is + positive, $+X$ completing a right-handed frame ([18] §1.16, p. 1387, and Fig. 9, + tourmaline, p. 1384; [19] Table 5, p. 18). A positive piezoelectric $d_{33}$ means + that release of compression along $Z$ makes the $+Z$ face positive ([19] §3.5, + pp. 21–22). + - These are the piezoelectric strain coefficients (C/N), not the optical + coefficients of this OEP, which share their labels. No source in hand relates the + sign of any optical coefficient of BBO to its piezoelectric senses, so under this + convention every optical sign of BBO is `unknown`. + + A sign is `measured` only if its source tied its sample to the same property; +- **by a coefficient's sign** (`convention`). For $3m$ the recommendation is $d_{22} > 0$ + for $+Y$ and $d_{31} > 0$ for $+Z$. Every prediction for a crystal described in that + frame is then the same whichever way the senses run in a real boule. The physical + question that remains, which of two inequivalent cuts a real crystal is, belongs to + whoever marks the crystal, not to the data. + +Phase 1's sense test runs over these generators. + +A tensor is therefore **defined by its independent coefficients**: one named component +per dimension of the invariant subspace (for $3m$: $d_{22}, d_{31}, d_{33}, d_{15}$). +The other entries follow by symmetry. The named components must determine the tensor +uniquely; naming a forbidden component, or two tied ones ($d_{22}$ and $d_{21}$), is +refused. + +#### 4.4 Kleinman symmetry and the conservative model + +Intrinsic permutation symmetry exchanges the two input index–frequency pairs. Exchanging +an output index with an input index at unchanged frequencies is a further +approximation, Kleinman symmetry. For a real, dispersionless response it is required +for the response to be **conservative**: the polarisation then derives from a cubic +potential and no net energy is exchanged with the medium over a pulse (SEP 8 §4.1; +Armstrong et al. 1962; Boyd, Eqs. 1.5.21 and 1.5.26, pp. 61–62). Measured coefficients +need not obey it. For BBO, Shoji et al. give $d_{15}/d_{22} = 0.012$ and +$d_{31}/d_{22} = 0.018$ (p. 3), which Kleinman symmetry would make equal. The ratios +carry no stated uncertainty and correspond to 0.03 and 0.04 pm/V, so they suggest a +departure but do not establish one. + +The conservative model is therefore **derived**, named, and never the stored data: +- the data tensor keeps the measured departures; +- the derived tensor is fully index-symmetric; +- the difference between them is reported per entry, not hidden. + +The rule that joins unequal entries is a model decision (Q3). Two candidates differ: +- the **permutation mean** averages $d_{ijk}$ over the six permutations of $ijk$. For + $3m$ it gives $d_{15} = d_{31} = (2d_{15} + d_{31})/3$, since $d_{15}$ appears twice + in the full tensor ($d_{xxz}$ and $d_{xzx}$) for once that $d_{31}$ does; +- the **pairwise mean** gives $(d_{15} + d_{31})/2$. + +#### 4.5 What the sources in hand say about frames and signs + +These readings were made for this draft in the group library. Refs. 4, 5 and 17 were +first read from their PDFs and re-checked against the library's copies on 2026-12-01. +Page numbers are the journals'. Each reading is registered when its record is +curated. + +**BBO** ($\beta$-BaB₂O₄, space group R3c, point group $3m$): +- **Eimerl et al. 1987** (p. 3, Fig. 1) put $Z$ along the trigonal axis. + - p. 7: they write that in R3c, "using the convention that the mirror plane is the + two-axis", the allowed coefficients are $d_{11}, d_{31}, d_{33}, d_{15}$. That + places the mirror normal to $y$. + - Fig. 25's caption calls $x$ the normal to the mirror plane, contradicting p. 7. + - They measure relative to KDP's $d_{36}$, impose Kleinman symmetry, and give no sign. +- **Shoji et al. 1999** and **Bache et al. 2013**, like Boyd, use $d_{22}$ with the mirror + normal to $X$. + - Bache (pp. 6–7) notes a persistent confusion in which the mirror was taken parallel + to $X$ instead of perpendicular. + - Nikogosyan 1991 (p. 361) is a review. + - He lists Eimerl's paper (his ref. 2) among works using a "non-traditional" + relation of the crystallographic and crystallophysical axes, which he writes + $(Z \parallel c, m \parallel X)$. Their formulas convert to his by exchanging + $d_{11}$ with $d_{22}$ and $\cos 3\phi$ with $\sin 3\phi$. + - His own Eqs. 7–8 are those of $3m$ "with $d_{11} = 0$", in $d_{22}$. In $3m$ that + puts the mirror normal to $X$, as in this OEP's setting (4.3). + - Eimerl's $d_{11}$ is therefore the $d_{22}$ of this OEP's setting, up to a frame + convention and a sign. Curating it needs a signed map from Eimerl's labels. +- **Shoji et al. 1999** measured $d_{22}$ absolutely, with a ±5 % accuracy: + - 2.6 pm/V at 0.532 µm, 2.3 pm/V at 0.852 µm, 2.2 pm/V at 1.064 µm and 1.9 pm/V at + 1.313 µm (Table 2, p. 4; p. 3); + - $d_{33}$, $d_{31}$ and $d_{15}$ only as ratios to $d_{22}$, at 1.064 µm (p. 3); + - magnitudes only ("absolute magnitudes", p. 4), with no temperature stated. +- **The $d_{\text{eff}}$ form.** Klein (Eq. 1, p. 164), Shoji (Table 2), Bache (Eqs. 3–6, + after Banks et al. 2002) and Nikogosyan (Eq. 7, with $d_{15}$ for $d_{31}$ under + Kleinman symmetry) all write type I as + $d_{31}\sin\theta - d_{22}\cos\theta\sin 3\phi$, with $\theta$ from $Z$ and $\phi$ + from $X$. This follows from the setting of 4.3: + - take $\hat k = (\sin\theta\cos\phi, \sin\theta\sin\phi, \cos\theta)$, + $\hat o = (\sin\phi, -\cos\phi, 0)$ and + $\hat e = (\cos\theta\cos\phi, \cos\theta\sin\phi, -\sin\theta)$; + - the $3m$ tensor gives + $P \propto (d_{22}\sin 2\phi,\ d_{22}\cos 2\phi,\ d_{31})$ for $E \parallel \hat o$; + - so $\hat e \cdot P = d_{22}\cos\theta\,(\sin 2\phi\cos\phi + \cos 2\phi\sin\phi) + - d_{31}\sin\theta = -(d_{31}\sin\theta - d_{22}\cos\theta\sin 3\phi)$. + + The overall sign follows the sense of $\hat e$ and does not matter. The sources' + labels therefore name the same components as this setting. The form is unchanged by + either reversal of 4.3, though, so agreeing with it **cannot fix a sign**. +- **Signs.** By 4.3, the relative sign of $d_{31}$ and $d_{22}$ is meaningful only + against stated senses of $+Y$ and $+Z$. Klein et al. 2003 is the one published + measurement in hand that addresses it. Banks et al. (p. 109) also cite unpublished + experiments (a personal communication) indicating $d_{22}/d_{31} < 0$, with the same + question of senses. All four of their measurements are SHG of 1.064 µm, + continuous-wave, with absolute conversion efficiency analysed for focused Gaussian + beams (pp. 164–166). + - $d_{\text{eff}}^{II} = 1.50 \pm 0.07$ pm/V in the $XZ$ plane gives + $|d_{22}| = 2.11 \pm 0.1$ pm/V. + - Type I in the $XZ$ plane, $0.10 \pm 0.02$ pm/V, gives $|d_{31}| = 0.26 \pm 0.05$ + pm/V. + - Type I in the $YZ$ plane they measure as $1.76 \pm 0.08$ pm/V. Their values + predict 2.04 pm/V for equal signs and 1.84 pm/V for opposite signs, hence opposite + signs (p. 166; conclusions, p. 169). + - At a fixed $\theta$ in the $YZ$ plane there are two inequivalent cuts, + $\phi = 90°$ and $\phi = 270°$, whose $d_{\text{eff}}$ differ by the sign of the + $d_{22}$ term. pp. 164–166 do not say how the senses of $+Y$ and $+Z$ of their + samples were fixed. Their result therefore says which of the two cuts their $YZ$ + sample was, in their own axes. It fixes no relative sign against stated senses. +- **How firm the sign is.** This reading is this draft's own, not the paper's. + - The inference rests on comparing absolute calibrations of different samples and + geometries at the 5–10 % level: the $d_{22}$ term alone, 1.94 pm/V, already exceeds + the measured 1.76 pm/V. + - Their $d_{31}$ is also about seven times Shoji's: a ratio $d_{31}/d_{22}$ of 0.12, + against Shoji's 0.018. An azimuth error of about 1° in the $XZ$ type I sample would + add a $d_{22}$ term of the size of their whole $d_{31}$ signal. The paper does not + discuss this. + - Shoji's $d_{22}$ (2.2 pm/V at 1.064 µm) predicts Klein's type II value well: + $2.2\cos^2 32.56° = 1.56$ pm/V against $1.50 \pm 0.07$. It predicts their $YZ$ + type I value poorly: 2.01 pm/V for opposite signs and 2.04 for equal signs, against + $1.76 \pm 0.08$, about 13 % low. + - No sign of $d_{31}$ relative to $d_{22}$ is therefore established against senses + tied to the crystal. Under the coefficient convention of 4.3 it needs none: both + signs are `convention`. + - The signs that are physical in $3m$, those of $d_{33}$ and $d_{15}$ relative to + $d_{31}$, are measured by no source found. A literature search on 2026-12-01 + (OpenAlex, citation lists, 30 papers read; 28 added to the library, not yet + curated) found: + - **No measurement.** $d_{33}$ enters no phase-matched BBO process. Chen et al. + 1985 [20] (p. 239) did not measure it, stating that it does not contribute to + the effective coefficient; the "$d_{33} \approx 0$" later attributed to them + means "not measured". Their $d_{15} = (0.070 \pm 50\%)|d_{11}|$ (Eq. 6, p. 240) + and $d_{11} = \pm 4.10\,d_{36}$(KDP) (p. 240) carry no sense convention, which is + why Roberts [21] (Table VI, p. 2069) and Lin et al. read opposite signs of + $d_{31}$ relative to $d_{22}$ from the same paper. Eckardt et al. [22] + (pp. 927–928) did not determine even that sign. Nakatani et al. [23] (p. 1289) + state the relative sign of $d_{13}$ and $d_{33}$ was unknown. Ney et al. [24] + measured signed electro-optic $r_{13}$ and $r_{33}$ (p. 1163) but related them to + no $d$. + - **Calculations split.** The same sign as $d_{31}$: Willand & Albrecht 1986 + (doi:10.1016/0030-4018(86)90146-x), Duan et al. 1999 (doi:10.1103/PhysRevB.59.369), + Lin et al. 1999 and 2001 (doi:10.1103/PhysRevB.60.13380, + doi:10.1088/0953-8984/13/23/201), Cheng et al. 2026 + (doi:10.1063/5.0336892). The opposite sign: Li 2021 and 2023 + (doi:10.1016/j.commatsci.2020.110185, doi:10.1016/j.commatsci.2023.112529), Yang + et al. 2023 from a measured electron density (doi:10.1002/adom.202301897), Cheng + et al. 2020 (doi:10.1021/acsami.9b20023) and 2026 (doi:10.1103/cm5x-7ry8). The + papers show the sign is fragile: $d_{33}$ is 1–10 % of $d_{31}$, changes sevenfold + with $k$-point sampling (Lin 1999), changes sign when Ba is cut out (Lin 2001), + and comes from near-cancelling O terms (Yang 2023). These readings are from the + PDFs, to be re-checked in the library when curated. + - $d_{15}$ takes $d_{31}$'s sign in the conservative model, where Kleinman symmetry + ties them. In the data tensor its sign is `chosen` to match. + - $d_{33}$ therefore carries a `chosen` sign, which makes the tensor `provisional` + (Q2). The proposal is the same sign as $d_{31}$; the choice is stated, not + evidenced. It changes no phase-matched process. It does matter for $eee$ + interactions, whose $d_{\text{eff}} = d_{22}\cos^3\theta\sin 3\phi + + 3d_{31}\sin\theta\cos^2\theta + d_{33}\sin^3\theta$ (Banks et al. [17], + Table 5, p. 106): where the $d_{22}$ term vanishes ($\phi = 0$) the sign decides + the result. With Shoji's values at $\theta = 60°$ it is 0.052 pm/V for equal + signs and 0.000 for opposite signs (this draft's arithmetic). Phase-mismatched and + cascaded $eee$ terms in a full-tensor propagation (SEP 8) are affected likewise. + - Banks et al. (p. 110) fitted $d_{33} = 1.7$ pm/V to the azimuthal dependence of + type II third-harmonic generation. They state it "can range from 1 to 5 pm/V" + with small errors in $d_{15}$ and the azimuth origin, and that Shoji's values, + $d_{33} = 0.04$ pm/V included, give a nearly identical fit. Their fit therefore + constrains neither the magnitude nor the sign of $d_{33}$. + +**LBO** (LiB₃O₅, orthorhombic, point group $mm2$): +- **Velsko et al. 1991** (p. 1) state that the two-fold axis coincides with $c$, which + is the optic normal along $n_y$, where $n_x < n_y < n_z$ (Table I, p. 3). + - **The polar axis is the dielectric $y$, not $z$.** + - Their tensor is labelled $d_{32}, d_{15}, d_{33}$ (Table VIIIb, p. 8): labels of a + $z$-polar setting, so the labels and the dielectric frame differ. + - They report that the literature assigns $a$ to $x$ (Chen et al. 1989; Lin et al. + 1990) or to $z$ (Wu et al.), without stating their own choice. + - Their coefficients are magnitudes relative to KDP, with $|d_{36}| = 0.39$ pm/V + assumed (p. 6). The fringe structure is consistent with opposite signs of $d_{32}$ + and $d_{15}$ (p. 8). + - Their dn/dT (Table IV, Eqs. 2a–c) is linear over 20–65 °C. +- **Riedel et al. 2014** (p. 12) point to Kato 1994 for LBO's thermo-optic relation + (293–383 K) and to Eimerl 1987 for BBO's (293–353 K). + +This is the case 4.2 is built for. A z-polar setting with $X, Y, Z$ along the +dielectric $z, x, y$ (or another signed choice; Q5) carries Velsko's labels into the +frame solprop uses. + +#### 4.6 Coefficients measured relative to a reference + +Two kinds of relative measurement occur: +- **against another crystal**: LBO relative to KDP's $d_{36}$ (Velsko, Lin), BBO + relative to KDP (Eimerl); +- **against another component** of the same crystal: Shoji's $d_{33}/d_{22}$. + +Each is stored **as its source prints it** (data rule 2): +- **A ratio**, where the source prints a ratio (Shoji's $d_{33}/d_{22}$), is a + `second_order_coefficient_ratio`. +- **An absolute value**, where the source prints one already scaled by an assumed + reference value, is a `second_order_coefficient` whose parameters name the reference + and the value assumed. + - Eimerl's $d_{11} = 1.6 \pm 0.4$ pm/V (p. 10) and Velsko's coefficients (pp. 6–7) both + assume KDP's $d_{36} = 0.39$ pm/V. + +An absolute value in the tensor configuration then follows from the printed value +rescaled by a curated reference value, or from a printed ratio times one. It is never +pre-multiplied by a remembered value. A KDP reference therefore needs its own source +record, and the 0.39 pm/V the sources assume is their choice, not a curated measurement +(Q7). + +### 5. Primary sources and data + +| Ref. | Source | In hand | Use | +|---|---|---|---| +| [1] | Eimerl et al. 1987 | Library (not yet curated) | BBO structure and axes; dn/dT (Table IV, 20–80 °C); d relative to KDP, a check | +| [2] | Shoji et al. 1999 | Library (not yet curated) | BBO $d_{22}$ absolute at four wavelengths; $d_{31}, d_{33}, d_{15}$ as ratios at 1.064 µm. **The BBO default** | +| [3] | Bache et al. 2013 | Library (not yet curated) | BBO frame convention and the trail to sign measurements; not a source of values | +| [4] | Klein et al. 2003, *Opt. Mater.* **22**, 163 (not yet curated) | Library | BBO $d_{22}$ and $d_{31}$ magnitudes, absolute at 1.064 µm; the only published sign evidence, inconclusive against stated senses (4.5); held-out $d_{\text{eff}}$ validators | +| [5] | Nikogosyan 1991, *Appl. Phys. A* **52**, 359 (not yet curated; a review, not a data source) | Library | The two BBO axis conventions and their conversion, a lead only | +| [16] | Kato, Umemura and Mikami 2010, doi:10.1117/12.841913 (not yet curated) | Library | BBO Sellmeier and thermo-optic formulas, with temperature-dependent phase-matching angles; BBO's temperature dependence, outside this OEP's phases (section 2) | +| [17] | Banks et al. 2002, *J. Opt. Soc. Am. B* **19**, 102 (not yet curated) | Library | Second-order $d_{\text{eff}}$ for the uniaxial classes under Kleinman symmetry (Tables 2–5, pp. 105–106; Tables 6–10 are third-order), the source Bache cites; the IRE/IEEE $3m$ setting (p. 107); a check on the setting, not a source of values | +| [18] | IRE, Standards on Piezoelectric Crystals, 1949 | PDF (not in the library) | The $3m$ setting, and its senses by positive piezoelectric $d_{33}$ and $d_{22}$ (§1.8, §1.16, Fig. 9) | +| [19] | ANSI/IEEE Std 176-1987, withdrawn | PDF (not in the library) | The same rules restated (§3.2.5, Table 5, §3.5) | +| [20] | Chen et al. 1985, *Sci. Sin. Ser. B* **28**, 235 (not yet curated) | Library (no DOI) | The original BBO coefficients: $d_{15}/d_{11}$ and the magnitude of $d_{11}$, without a sense convention; $d_{33}$ not measured | +| [21] | Roberts 1992 (not yet curated) | Library | Frame conventions; BBO in the IEEE frame with $d_{31}$ the same sign as $d_{22}$ (Table VI), read from [20] | +| [22] | Eckardt et al. 1990 (not yet curated) | Library | Magnitude of $d_{22}$, 2.2 pm/V; the sign of $d_{31}$ relative to $d_{22}$ not determined | +| [23] | Nakatani et al. 1988 (not yet curated) | Library | BBO electro-optic magnitudes; relative sign of $d_{13}$ and $d_{33}$ stated unknown | +| [24] | Ney et al. 2000 (not yet curated) | Library | Signed electro-optic $r_{13}$, $r_{33}$; no link to $d$ | +| [6] | Velsko et al. 1991 | Library (not yet curated) | LBO axes, indices, dn/dT, d relative to KDP; a check | +| [7] | Chen et al. 1989, doi:10.1364/JOSAB.6.000616 (not yet curated) | Library | LBO axes and original characterisation | +| [8] | Lin et al. 1990, doi:10.1063/1.345765 (not yet curated) | Library | LBO Maker fringes relative to KDP, relative signs | +| [9] | Kato 1994, doi:10.1109/3.362711 (not yet curated) | Library | LBO Sellmeier for 90° phase matching, 293–383 K | +| [10] | Kato, Grechin and Umemura 2018, doi:10.1088/1555-6611/aac9df (not yet curated) | Library | LBO thermo-optic dispersion, paired with [9] | +| [11] | Alford and Smith 2001, doi:10.1364/JOSAB.18.000524 (not yet curated) | Library | BBO and LBO d against wavelength: a check on the constant model's reference choice, and the basis of later Miller scaling | +| [12] | Tamošauskas et al. 2018 | Curated | BBO's rays (TC-1095) | +| [13] | Riedel et al. 2014 | Library (not yet curated) | Pointer to thermo-optic sources, not a source of values | +| [14] | Boyd 2020 | Library (not yet curated) | Convention, contraction, Kleinman symmetry, $3m$ pattern | +| [15] | Armstrong et al. 1962 | Library (not yet curated) | Permutation symmetry and energy exchange | +| — | A primary absolute measurement of KDP's $d_{36}$ | **To identify** | The reference for every coefficient relative to KDP (Q7) | + +The DOIs of [4], [5], [7]–[11] and [17] were checked against Crossref on 2026-12-01 +(title and authors match). The papers are in the group library; their content is checked +there when each is curated. + +**Vocabulary.** A new family, `second_order` (directory `data/values/second_order/`), +with two quantities: + +- **`second_order_coefficient`**: one contracted component as the source prints it. + - Units: pm/V, m/V, or esu with its conversion stated. + - Abscissa: `wavelength`, the fundamental of an SHG measurement, or `none` with the + interaction's wavelengths as parameters. + - Required parameters: + - `component`, in the source's own labels (`d22`); + - where the printed value was scaled by an assumed reference, `reference_material`, + `reference_component` and `reference_value` (as printed); + - `frame`, the id of one of the record's source frames (below); + - `convention`, `d` or `chi2`; + - `process`, one of `shg`, `sfg`, `dfg` or `opa`; + - `sign`, one of `measured`, `convention` or `unknown`, relative to the senses the + source frame states (4.3). +- **`second_order_coefficient_ratio`**: one component over a reference. + - Abscissa: `wavelength`, as above (Shoji's ratios are at 1.064 µm), or `none`. + - Required parameters: `component`, `frame`, `process`, `reference_material`, + `reference_component`, `reference_frame` and `sign`. + - `reference_wavelength` is required where the reference was measured at another + wavelength. + - The reference may be the same material (Shoji's ratios) or another (KDP). + +The dataset validator today checks `process` against the third-order `PROCESSES` and +`convention` against the third-order `CONVENTIONS` whenever a quantity requires them +(`optmat.datasets`). The vocabulary gains `SECOND_ORDER_PROCESSES` and +`SECOND_ORDER_CONVENTIONS`, and the validator picks the set by the quantity's family. +The third-order sets stay as they are. + +**Source frames.** A source record that prints second-order coefficients declares each +frame it uses, as a `[[frames]]` table. Each table holds: +- the source's own axis labels; +- the page that defines them; +- the signed map of its axes onto optmat's symmetry setting of that point group, with + its register entry; +- how the source fixes the senses of its axes against the crystal, or that it does not. + +Where the source does not define its frame, that is recorded, and the map is a register +decision. + +**The crystal record**, `data/solid/crystals/.toml`, one per crystal, holds: +- the point group, which also goes into `materials.toml`, as part of what a material is; +- the frame: the setting–dielectric map, the crystallographic map (or, for a + non-orthogonal cell, a note with its source), and, for a biaxial crystal, the index + order that labels its axes, with the wavelength and temperature where it holds; +- the linear model of each dielectric axis, by name; +- for each independent coefficient, one of: + - **value**, the dataset or datasets it comes from and the rule that turns them into + one number (a wavelength, a ratio times a reference); + - **neglected**, with its reason and register entry; + - **unavailable**, with its register entry; +- for each value, its **sign status** against the record's senses: + - `measured`; + - `convention`: the sense is defined by this coefficient's sign; + - `chosen`: a sign adopted without a measurement, with its register entry; + - `unknown`: such a coefficient cannot enter the tensor until a sign is chosen; +- how each generator of the residual freedom is fixed (4.3); +- the name of the Kleinman rule. + +**Statuses.** These follow OEP 1: +- The tensors are `quadratic_tensor` identities and the bundle a `crystal_bundle`. +- A tensor is `validated` only when every value has a `measured` or `convention` sign + and a stated uncertainty. +- Otherwise it is `provisional`, with a reason naming each `chosen` sign or missing + uncertainty and its register entry. Shoji's ratios state none, so Phase 2's BBO + tensor will be `provisional`. +- The bundle takes the least trusted status of its parts. +- A bundle with no usable tensor (Phase 1's BBO) is `provisional`, its reason saying + that no quadratic tensor is curated. Its tensor accessors raise. + +**Validators.** These are held out of everything above: +- BBO, regression only: the pinned type I SHG angle of 800 nm, 29.23° + (`tests/solid/test_crystals.py`). It is not independent, since Tamošauskas et al.'s + nominal cut was itself computed (TC-1095). +- BBO's tensor (Phase 2): Klein et al.'s absolute $d_{\text{eff}}$ values at 1.064 µm, + held out of the Shoji-based default. These are type II 1.50 ± 0.07 pm/V, type I in + $XZ$ 0.10 ± 0.02 pm/V and type I in $YZ$ 1.76 ± 0.08 pm/V. + - Two disagreements are expected and registered: + - in $YZ$, about 13 % (4.5); + - in $XZ$, where Shoji's $d_{31}$ predicts $0.04 \sin 22.88° \approx 0.016$ pm/V, + about a sixth of Klein's. + - Klein's $d_{22}$ and $d_{31}$ are derived from these same $d_{\text{eff}}$ values, + so the two are never counted as independent. If the default takes Klein's $d_{31}$ + (Q2), the $XZ$ value is no longer held out. +- LBO: the measured noncritical phase-matching temperatures of [9] and [10], when in + hand. Velsko's Table III gives only computed room-temperature wavelengths, not + measurements. +- The relative magnitudes of the tensor's coefficients against the independent + relative measurements. Eimerl's internal bounds ($|d_{31}/d_{11}| < 0.05$ in his + labels) need no reference crystal (Phase 2). Comparisons through KDP ([1], [6], [8]) + wait for the curated reference (Phase 3). + +**Uncertainty.** +- Each coefficient carries its source's stated uncertainty and level. Where a ratio has + no stated uncertainty (Shoji's), that is recorded, not invented. +- The derived conservative tensor states its departure from the data as part of its + uncertainty. +- The constant model's reference wavelength is a stated choice. Shoji's $d_{22}$ falls + by about 25 % from 0.532 to 1.313 µm, which bounds what a constant model can claim + over that range. + +### 6. Proposed interface + +```text +from optmat.solid.crystal import crystal_bundle + +bbo = crystal_bundle("BBO") +bbo.identity # one digest over frame, axis models and tensors +bbo.frame.point_group # "3m" +bbo.frame.setting_to_dielectric # 3x3 signed rotation R (4.2) +bbo.frame.axis_names # ("o", "o", "e"): the model of each dielectric axis +bbo.frame.crystallographic # signed map to a, b, c, or the note for a hexagonal cell +bbo.frame.senses # how each generator of the residual freedom is fixed (4.3) +bbo.axis_models # (Model, Model, Model), dielectric x, y, z +bbo.principal_permittivity(lam) # (..., 3), dielectric x, y, z, at bbo.temperature +bbo.temperature # K: the temperature the axis models are evaluated at +bbo.at_temperature(T) # the bundle with every axis model at T (K); raises where + # a model has no temperature dependence (BBO today) +bbo.validity # the joint wavelength intervals (m) and temperature + # interval (K); for BBO today the single point 293.15 K + +bbo.data # QuadraticTensor: the data, unsymmetrised, setting frame +bbo.data.states # 3x6: forbidden | value | neglected | unavailable +bbo.data.coefficients # each with value, uncertainty, sign status, wavelengths, + # T, method, source +bbo.conservative # QuadraticTensor: Kleinman-derived, named rule +bbo.departure # data.d - conservative.d, m/V +bbo.dielectric_d("conservative") # 3x6, m/V, in the dielectric frame ("data" too) +bbo.dielectric_chi2("conservative") # 2 d, full 3x3x3, m/V, dielectric frame +``` + +- **Errors.** `d`, `chi2` and the dielectric accessors raise `DataError` while any + coefficient they depend on is unavailable or of unknown sign. The states and the frame are still readable, so a code can report what + is missing. +- **Overrides** follow OEP 1: + - `QuadraticTensor.with_parameters(coefficients=...)` gives a `user` tensor; + - `CrystalBundle.with_parameters(axis_models=..., data=...)` gives a `user` + bundle whose identity records the change and the curated digest in `base`. A + replaced model or tensor is recorded in `modified` by its own digest. The silica + bundle declares no inputs, so this is new; + - `CrystalBundle.from_parts(frame, axis_models, data, rule)` builds a bundle for a + crystal optmat does not curate, checked the same way. This is the route for SEP 8's + core, in which the user supplies the tensor and the frame. +- **Refused:** + - mixing the axis models of another material, or a tensor of another point group; + - a left-handed frame; + - a tensor whose named coefficients do not determine it; + - monoclinic and triclinic crystals. +- **The existing interface is unchanged.** `default_model("BBO", "o")` still gives the + ordinary ray. + +### 7. Implementation strategies + +**Where it belongs.** It goes in `optmat.solid`: +- `point_groups`, the groups and their projectors; +- `quadratic`, the coefficient and the tensor model; +- `crystal`, the frame and the bundle. + +Only the vocabulary and the material's point group go into the core. The point-group +machinery moves to the core only when a second medium needs it (AGENTS.md, *A new +medium*). + +**What Phase 1 must show under the gate.** An exploratory prototype of these modules was +written while drafting. It is not evidence for this proposal; Phase 1 rebuilds the +modules and must show the following: +- the invariant projector reproduces the forbidden patterns and the counts of + independent components; +- naming independent coefficients determines the tensor; +- the three states and the forbidden zero stay distinct, and `d` refuses an + unavailable coefficient; +- the Kleinman derivation is fully symmetric and reports its departure; +- an $mm2$ tensor rotated into a frame whose polar axis is $y$ stays invariant under + the rotated group; +- a bundle's digest changes when any part changes; +- each reversal of 4.3 reverses exactly the coefficients it names. + +**Options for storing the tensor:** +- **(A) The full 3×6 array in the dielectric frame**, as SEP 8's contract first + suggests. It is simple to consume. But it stores tied entries twice, cannot tell a + forbidden zero from a neglected one without a parallel mask, and puts the + literature's labels through a frame change before anyone can check them. +- **(B) Named independent coefficients in the symmetry setting, plus the frame map.** + This is recommended. The data stay in the labels the papers use, symmetry is + enforced by construction, and the three states are per coefficient. The bundle + still delivers (A) in the dielectric frame. +- **(C) A full $d_{ijk}$ tensor from a fit to all measured effective coefficients.** + Deferred. It belongs with Miller-type dispersion, when there are enough data to fit. + +**Options for the biaxial axis convention:** +- **(A) Dielectric axes labelled by index order**, $n_x < n_y < n_z$ at a stated + wavelength and temperature, with the setting map and its signs recorded per crystal. + This is recommended. It is what Velsko et al. use for LBO and what a propagation code + needs: a stable dielectric labelling, independent of the tensor's labels. +- **(B) Dielectric axes labelled to match the tensor's setting** (the polar axis is $z$). + Rejected: then $n_x < n_y < n_z$ fails for LBO, and the labels change with the + material's symmetry instead of its optics. +- **Registry axis names.** The registry keeps its existing axis names (KGW's + `n_p, n_m, n_g`; KTP's `x, y, z`). The frame's `axis_names` maps them onto the + dielectric $x, y, z$, so neither needs renaming. For LBO, `x, y, z` is recommended. + +**Temperature.** `FormulaModel.at_temperature` exists only for the +`n2_sellmeier_temperature` form, which gives $n(\lambda, T)$ jointly. Kato's LBO +relations, and Eimerl's and Kato's for BBO, give a Sellmeier at one temperature and a +separate $dn/dT(\lambda[, T])$. SEP 8 §4.11 asks for such a fit to be integrated from its +declared temperature. +- **(A) A thermo-optic model form** holds a base dispersion model at its temperature + $T_0$ and a thermo-optic relation. It gives + $n(\lambda, T) = n(\lambda, T_0) + \int_{T_0}^{T} (dn/dT)\,dT'$, and its qualified + temperature interval is that of the relation. It needs its own source records and its + own `EVALUATION_VERSION`. This is recommended, in Phase 3 for LBO. +- **(B) Only joint $n(\lambda, T)$ formulas.** Rejected: the sources LBO needs do not + give one. + +Until (A) exists, a bundle's `temperature` is its models' stated temperature, and +`at_temperature` raises for any other. + +**Data format.** These are new: +- the family and its two quantities; +- `[[frames]]` in source records; +- the crystal record. + +The loader converts pm/V to m/V once, and checks that every source frame named by a +dataset is declared. + +**Cost.** Negligible: 18-dimensional linear algebra once per tensor, cached. + +**Dependencies.** None new. + +### 8. Verification and validation + +| Check | Quantity | Tolerance and why | +|---|---|---| +| Point-group invariance | Stored and derived tensors under every element of the declared group, in the setting and, rotated, in the dielectric frame | Rounding only (1e-12 relative), as the operations are exact signed permutations or rotations by multiples of 60° | +| Forbidden entries | Every entry the projector forbids is exactly zero, and its state is `forbidden` | Exact | +| Projector | Idempotent; the counts of independent components for every listed group agree with Boyd's tables (Table 1.5.2 and Fig. 1.5.3, pp. 70–71) | Exact counts | +| Senses | Each sense reversal of 4.3 maps the setting onto itself and reverses exactly the coefficients 4.3 names | Exact | +| Units | A coefficient printed in pm/V reaches the model × 1e-12 | Exact | +| d versus χ⁽²⁾ | Worked example: a field along $Y$ in $3m$ gives $P_Y = 2\epsilon_0 d_{22}E^2$ | Rounding | +| Kleinman | The derived tensor is invariant under all six permutations of $ijk$, and the reported departure equals data minus derived | Rounding | +| Source frames | Each source's coefficients mapped into the setting reproduce the source's own $d_{\text{eff}}$ expressions at sampled angles, used as printed: Eimerl Eqs. 17–18, p. 11; Shoji's type I and II expressions in Table 2, with their $\theta + \rho$ | Rounding; a failure means a wrong map | +| BBO linear | The 800 nm type I angle stays 29.226° (`tests/solid/test_crystals.py`); a regression pin, not an independent check | As pinned now | +| BBO tensor | The coefficients transcribed from Shoji's Table 2 and text; the ratios against Eimerl's internal bounds, which need no reference crystal | Transcription exact; agreement judged against the stated uncertainties, any disagreement registered | +| BBO $d_{\text{eff}}$ | Klein et al.'s three absolute $d_{\text{eff}}$ values at 1.064 µm, from the default tensor | Against their stated uncertainty; the expected $YZ$ type I disagreement (about 13 %, 4.5) registered, not tuned away | +| LBO NCPM | The measured noncritical phase-matching temperatures of [9] and [10], computed from the curated indices and thermo-optic relation | Within the papers' stated uncertainty. Where none is stated, a tolerance set from the scatter of independent measurements and registered before the comparison is run | +| Identity | The bundle digest changes when any part's digest changes, and is stable across processes (OEP 1) | Exact | + +solprop's qualification is affected only in that it gains curated defaults. Its own +checks of phase matching and conversion, against independent references, stay its +own. + +### 9. Documentation + +- A new manual page, *Second-order crystals*. It covers the convention, the three frames + with a figure of BBO's setting, the states, the Kleinman model and its departure, + and how to build a bundle from user-supplied parts. +- `crystals.md` gains the point group and links to the new page. +- *The curated data* (`docs/data.md`) gains the family, its quantities and the + `[[frames]]` table. +- *Using optmat from a propagation code* gains the bundle. +- A gallery example: BBO's tensor in the dielectric frame, with its states, and the + Kleinman departure. + +### 10. Compatibility and impact + +- **No recommended value changes.** BBO's ray models and their digests are unchanged. + The bundle is new and has its own digest. +- **New public names:** `optmat.solid.crystal`, `optmat.solid.quadratic`, + `optmat.solid.point_groups`, and two vocabulary quantities. `tests/data/public_api.json` + is regenerated. +- **`materials.toml` gains `point_group`** for crystals with second-order data. Other + crystals may gain it as they are reviewed. +- **solprop:** SEP 8 adapts its material contract to the bundle (Q8). +- No stored fits change, and no register entries are superseded. + +### 11. Alternatives considered + +- **Store only the Kleinman tensor.** Rejected: it would discard measured departures + (Shoji's $d_{15} \ne d_{31}$) and make the propagator's approximation + indistinguishable from data, which SEP 8 §4.1 forbids. +- **Hold signs as signed values without a sign status.** Rejected: an unmeasured sign + would look measured. +- **Take tensors from a review or a supplier table.** Rejected by the data rules. + Reviews, Nikogosyan's included, are leads to primary sources only. +- **Leave the frame to solprop.** Rejected: the frame is a property of the data's + provenance. Each source's labels must be mapped where the source is read. + +### 12. Phases + +**Phase 1 — Framework and BBO's frame.** +- **Deliverables:** + - the vocabulary, `[[frames]]` and the crystal record format; + - `point_groups`, `quadratic` and `crystal`, under the gate; + - `point_group` in `materials.toml` for BBO; + - BBO's setting from Shoji, Bache, Klein and Boyd, and how its senses are fixed, with + their register decisions (Q1, Q2); + - `crystal_bundle("BBO")` with its two ray models and every coefficient + `unavailable` (status `provisional`); + - `from_parts` for user-supplied tensors; + - the manual page. +- **Register:** BBO's setting and senses. +- **Verifies:** + - invariance, forbidden entries and the generators of each listed group's residual + freedom; + - units, and d versus χ⁽²⁾; + - identity, and the refusal of `at_temperature` for BBO's models; + - the pinned BBO angle. + +**Phase 2 — BBO's tensor.** +- **Deliverables:** + - source records for Shoji 1999, mapping its frame, with $d_{22}$ at four wavelengths + and the three ratios; + - Eimerl 1987's d as a check, with the reading of its mirror plane; + - Klein et al. 2003: its $d_{22}$ and $d_{31}$, its sign evidence, and its + $d_{\text{eff}}$ values as validators; + - the data and conservative tensors; + - the reference wavelength of the constant model (Q4) and the Kleinman rule (Q3). +- **Register:** each transcription, the frame maps, the sign status of each + coefficient, and the reference-wavelength and Kleinman decisions. +- **Verifies:** + - the $d_{\text{eff}}$ reproduction of each source's expressions; + - Eimerl's internal bounds; + - Klein's held-out $d_{\text{eff}}$ values. + +**Phase 3 — LBO.** +- **Deliverables:** + - LBO registered; + - its three axis models and thermo-optic relation (Kato 1994 with Kato et al. 2018), + with the thermo-optic model form of section 7 (option A); + - its frame from Velsko, Chen and Lin (Q5); + - a curated KDP $d_{36}$ reference (Q7); + - Lin's and Velsko's ratios; + - the data and conservative tensors. +- **Register:** the frame map with its signs, the KDP reference, each ratio, and the + noncritical-matching comparison. +- **Verifies:** the noncritical phase-matching temperatures. + +Miller-type dispersion, d(T) and further crystals are later OEPs or recipes. + +### 13. Open questions + +- **Q1. BBO's setting** (Phase 1). The proposal is that the mirror is normal to $X$, so + $d_{22}$ is allowed (Boyd, Table 1.5.2; Shoji; Bache; Klein; Nikogosyan's traditional + frame; the piezoelectric standards [18, 19], as Banks et al. note, p. 107). The + sources' $d_{\text{eff}}$ form follows from it (4.5). Eimerl's $d_{11}$, whose p. 7 + places the mirror normal to $y$, is then mapped into it in Phase 2, as Nikogosyan's + conversion does. +- **Q2. The senses and the signs** (convention in Phase 1, signs in Phase 2). + - **Decided (2026-12-01, the author):** BBO's senses are fixed by its coefficients, + $d_{22} > 0$ and $d_{31} > 0$ (4.3), both signs `convention`. The piezoelectric + standards [18, 19] were the alternative: under them every optical sign of BBO would + be `unknown` until a source ties a sample's optical signs to its piezoelectric + senses. + - No source in hand ties its samples' senses to the crystal, so no relative sign of + $d_{31}$ and $d_{22}$ is measured (4.5). Klein's result says which of the two + inequivalent $YZ$ cuts their sample was. Its $|d_{31}|$ is about seven times + Shoji's, and its $YZ$ value is about 13 % below Shoji's prediction. + - **Decided (2026-12-01, the author):** the physical signs of $d_{33}$ and $d_{15}$ + relative to $d_{31}$, unmeasured in any source found (4.5), are `chosen`, and the + tensor is `provisional`. A later measurement replaces the choice. The proposed + choice is equal to $d_{31}$'s sign for both (open for review; for $d_{15}$ it is + what Kleinman symmetry gives). + - Which $|d_{31}|$ is the default, Shoji's or Klein's? A different $d_{31}$ moves the + type I $d_{\text{eff}}$ by about 6 % at 800 nm SHG: with $d_{22}$ = 2.2 pm/V and + opposite signs, 1.90 against 1.79 pm/V. +- **Q3. The Kleinman rule** (Phase 2). Options: + - the permutation mean, $(2d_{15} + d_{31})/3$ in $3m$; + - the pairwise mean, $(d_{15} + d_{31})/2$; + - a weighted mean by stated uncertainty, which is undefined for Shoji's ratios, which + state none; + - a preferred measured coefficient. + + Which should be the default, and should the bundle offer more than one? +- **Q4. The constant model's reference wavelength** (Phase 2). Shoji's $d_{22}$ is 2.6 pm/V at + 0.532 µm and 1.9 pm/V at 1.313 µm. The three ratios are at 1.064 µm only. The + proposal is 1.064 µm, stated on the model, until Miller scaling is curated + (Alford and Smith 2001). +- **Q5. LBO's setting map** (Phase 3). The polar axis is the dielectric $y$ (Velsko p. 1). The + assignment of $a$ and $b$ to $x$ and $z$ differs between Chen and Lin on one side and + Wu on the other (as Velsko reports). In $mm2$ the relative signs are properties of the + crystal (4.3), and Velsko's fringes suggest opposite signs of $d_{32}$ and $d_{15}$. + The common sign follows $+Z$, whose sense must be sourced as for BBO. The signs must + come from Chen 1989 and Lin 1990 once in hand. +- **Q6. Index order for a biaxial crystal** (Phase 3). Does $n_x < n_y < n_z$ hold for LBO across + its whole qualified wavelength and temperature range? If it does not, the labelling + is fixed at one stated point and kept elsewhere. +- **Q7. KDP's $d_{36}$** (Phase 3). Eimerl and Velsko assume 0.39 pm/V. A primary absolute + measurement is to be identified and curated as its own source, with its wavelength + and convention, before any relative coefficient is made absolute. +- **Q8. The handoff to solprop** (before acceptance). SEP 8's core takes a user tensor + and frame. Should solprop consume `CrystalBundle` directly, or only its arrays and its + digest? The answer shapes the public names Phase 1 fixes, so it is agreed with SEP 8's + author before this OEP is accepted. +- **Q9. Uncurated citations and statements from memory** (before acceptance). Resolved + on 2026-12-01 (OEP 0 §7): + - the DOIs of refs. 4, 5 and 17 resolved; + - refs. 4, 5, 16 and 17 checked against the library's copies, with Nikogosyan's frame + re-read on the page; + - the statement that KGW is monoclinic removed, no source being in hand; + - the piezoelectric standards [18, 19] read: they fix the $3m$ setting and its senses + (4.3). + +### 14. References + +1. Eimerl et al., *Journal of Applied Physics* **62**, 1968 (1987). + doi:10.1063/1.339536 +2. Shoji et al., *J. Opt. Soc. Am. B* **16**, 620 (1999). + doi:10.1364/josab.16.000620 +3. Bache et al., *Opt. Mater. Express* **3**, 357 (2013). + doi:10.1364/ome.3.000357 +4. R. S. Klein, G. E. Kugel, A. Maillard, A. Sifi and K. Polgar, *Opt. Mater.* **22**, + 163 (2003). doi:10.1016/S0925-3467(02)00360-9. Not yet curated. +5. D. N. Nikogosyan, *Appl. Phys. A* **52**, 359 (1991). doi:10.1007/BF00323647. A + review; not yet curated. +6. Velsko et al., *IEEE J. Quantum Electron.* **27**, 2182 (1991). + doi:10.1109/3.135177 +7. Chen et al., *J. Opt. Soc. Am. B* **6**, 616 (1989). doi:10.1364/JOSAB.6.000616. + Not yet curated. +8. Lin et al., *J. Appl. Phys.* **67**, 634 (1990). doi:10.1063/1.345765. Not yet + curated. +9. K. Kato, *IEEE J. Quantum Electron.* **30**, 2950 (1994). doi:10.1109/3.362711. Not + yet curated. +10. K. Kato, S. G. Grechin and N. Umemura, *Laser Phys.* **28**, 095403 (2018). + doi:10.1088/1555-6611/aac9df. Not yet curated. +11. W. J. Alford and A. V. Smith, *J. Opt. Soc. Am. B* **18**, 524 (2001). + doi:10.1364/JOSAB.18.000524. Not yet curated. +12. Tamošauskas et al., *Opt. Mater. Express* **8**, 1410 (2018). + doi:10.1364/ome.8.001410. Curated (`tamosauskas_2018`). +13. Riedel et al., *Opt. Express* **22**, 17607 (2014). doi:10.1364/oe.22.017607 +14. Boyd, *Nonlinear Optics*, Elsevier (2020). doi:10.1016/c2015-0-05510-1 +15. Armstrong et al., *Phys. Rev.* **127**, 1918 (1962). + doi:10.1103/physrev.127.1918 +16. K. Kato, N. Umemura and T. Mikami, Proc. SPIE **7582**, 75821L (2010). + doi:10.1117/12.841913 (as printed on its first page). Not yet curated. +17. P. S. Banks, M. D. Feit and M. D. Perry, *J. Opt. Soc. Am. B* **19**, 102 (2002). + doi:10.1364/JOSAB.19.000102. Not yet curated. +18. "Standards on Piezoelectric Crystals, 1949", *Proc. IRE* **37**, 1378 (1949). + doi:10.1109/JRPROC.1949.229975. Read from the PDF; not in the library. +19. "IEEE Standard on Piezoelectricity", ANSI/IEEE Std 176-1987 (IEEE, 1988), + withdrawn. doi:10.1109/IEEESTD.1988.79638. Read from the PDF; not in the library. +20. C. Chen, B. Wu, A. Jiang and G. You, *Sci. Sin. Ser. B* **28**, 235 (1985). No DOI. + Read from the scan; in the library, not yet curated. +21. D. A. Roberts, *IEEE J. Quantum Electron.* **28**, 2057 (1992). + doi:10.1109/3.159516. In the library, not yet curated. +22. R. C. Eckardt, H. Masuda, Y. X. Fan and R. L. Byer, *IEEE J. Quantum Electron.* + **26**, 922 (1990). doi:10.1109/3.55534. In the library, not yet curated. +23. H. Nakatani, W. R. Bosenberg, L. K. Cheng and C. L. Tang, *Appl. Phys. Lett.* + **52**, 1288 (1988). doi:10.1063/1.99680. In the library, not yet curated. +24. P. Ney, A. Maillard, M. D. Fontana and K. Polgár, *J. Opt. Soc. Am. B* **17**, 1158 + (2000). doi:10.1364/JOSAB.17.001158. In the library, not yet curated. + +## Part II — Implementation record + +## Part III — History + +- 2026-12-01: Drafted. Tracking issue [#51](https://github.com/LupoLab/optmat/issues/51). +- 2026-12-01: Klein et al. 2003, Nikogosyan 1991, Banks et al. 2002 and Kato et al. 2010 + read from their PDFs; BBO sign evidence and Q1–Q2 revised. +- 2026-12-01: Reviewed by Opus 5.5 (AI). Revised accordingly: + - the setting now fixes the senses of polar axes, and the relative sign of $d_{31}$ + and $d_{22}$ in $3m$ is shown to depend on both senses, so Klein's evidence no + longer establishes it; + - second-order process and convention sets, kept apart from the third-order ones; + - temperature and joint validity in the interface; + - sign statuses, including `chosen`, and the status rule; + - the $d_{\text{eff}}$ form derived, no longer resting on the unmerged prototype; + - every open question assigned to a phase or to acceptance; + - Klein's $d_{\text{eff}}$ values made held-out validators; + - the Kleinman rules defined precisely; + - Boyd's general tables cited; + - the complete list of settings; + - `measured` renamed `data`. +- 2026-12-01: Reviewed by Fable 5.2 (AI). Revised accordingly: + - the residual freedom of a point group is defined generally, including $\bar 42m$'s + 90° rotation and the single-axis groups; + - senses may be fixed by coefficient signs, and the recommendation for BBO is + $d_{22} > 0$, $d_{31} > 0$, which moves the open sign question to $d_{33}$ and $d_{15}$; + - a thermo-optic model form is proposed for Phase 3, and BBO's temperature + dependence is put outside the phases; + - values scaled by an assumed reference are stored as printed, with the assumed + value; + - the status rule now makes a tensor without stated uncertainties, or a bundle + without a tensor, `provisional`; + - Klein's validators are complete, and their dependence is stated; + - Phase 2 no longer depends on Phase 3's KDP reference; + - uncurated library references are marked; + - minor wording and interface fixes. +- 2026-12-01: The DOIs of refs. 4, 5, 7–11 and 17 checked against Crossref. Refs. 4, 5, + 16 and 17 re-read in the library. Banks et al.'s second-order tables corrected to + Tables 2–5; the IRE/IEEE standards they cite added for the $3m$ setting; their + unconstraining $d_{33}$ fit and the unpublished sign report noted; Nikogosyan's frame + confirmed on the page; the KGW statement removed. +- 2026-12-01: The piezoelectric standards [18, 19] read from their PDFs. They fix the + $3m$ setting and its senses by positive piezoelectric $d_{33}$ and $d_{22}$; 4.3, Q1, + Q2 and Q9 updated, and Q9 resolved. +- 2026-12-01: Q2 decided by the author: senses by coefficient signs. A literature search + for the sign of $d_{33}$ and $d_{15}$ relative to $d_{31}$ found no measurement and a + split among calculations (4.5, refs. 20–24); the author decided on `chosen` signs, + with the same sign as $d_{31}$ proposed. diff --git a/docs/roadmap.md b/docs/roadmap.md index b94b483c..49456bfe 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -71,3 +71,15 @@ The {doc}`OEP index ` lists every proposal and its current status. polarisation, electron accounting, plasma coupling and propagation energy balance (TC-1057). The internal atomic fixtures test material coefficients and conventions. Tracked in [#36](https://github.com/LupoLab/optmat/issues/36). +- [OEP 9 — Second-order crystals: frames, the d tensor and one identity per + crystal](oeps/oep-0009-quadratic-crystals.md) (Draft; In review). A crystal record + that bundles the per-axis linear models with a signed frame (dielectric axes, + point-group setting and crystallographic axes kept apart), a new `second_order` + family that stores coefficients as their sources print them, a constant quadratic + tensor in which a forbidden zero, a neglected and an unavailable coefficient are + distinct, and the Kleinman tensor as a derived model with its departure reported. + BBO first (Shoji et al.'s coefficients; the relative sign of its coefficients is not + yet established against physically stated axis senses), LBO + second, with its noncritical phase-matching temperatures as the validator. For + solprop's SEP 8. Relates to [#28](https://github.com/LupoLab/optmat/issues/28). + Tracked in [#51](https://github.com/LupoLab/optmat/issues/51).