Repository navigation
Conversation
TDCISBasis is a new basis record beside HaccBasis, selected with model="tdcis" and target="argon". The response admits optmat_cubic and tdse_native for it, refuses tdse_shadow, and admits an atomic window with either. Helium and SAE records and identities do not change. Refs #968 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The descriptor tags the new basis as tdcis_argon and takes the pinned coupled-channel setup. A source with an atomic window is gated, so the windowed cubic replacement has a gate. The material check follows the target: argon TDCIS needs optmat argon with its Kerr record. Refs #968 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
With an atomic window and optmat_cubic the remainder J - j1 - j3 is gated and made edge-free as the native remainder is; the edge term, the leading taper diagnostic and the rounding bounds use the same remainder. The cubic term that replaces the third order is not gated. Refs #968 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The adapter builds the provider's argon atom on the coupled-channel plan. For the cubic replacement it asks for order three on the reduced route and refuses a basis without the escaped-electron closure; the binding returns the third-order current, padded as the other currents are. The consistency check compares with optmat's species of the target, and the archive takes the haCC serializers. Refs #968 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Refs #968 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
📖 27 files modified
Preview · build overview · solprop · built Dec. 5, 2026, 12:07 p.m. UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
An independent review of the branch found no defect in the source and six gaps; this acts on five of them. - The velocity gauge has no escaped-electron closure, which is known from the declaration: TDSEGasResponse now refuses it with optmat_cubic instead of the adapter refusing it after the model and the consistency check. - The guide and the TDCISBasis docstring state the provider's closure rule (closure sphere at the largest edge strictly below the gauge radius, with at least two elements inside) instead of a 24 bohr requirement that nothing enforced, and say when each refusal happens. - A full plan built before its record showed no closure is closed. - A run test with a nonzero third order: a law with a cubic part gives the final field of the law without it when j3 is reported (2.9e-9 of the cubic's effect), and a different one when it is withheld. - Consistency messages name TDCIS beside haCC. Not changed: the rule id of the gas check stays tdse-helium. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #968. Draft, research status: the route is not qualified, and its design record is
still to be written (see "Assumed, skipped or not run").
What changed
Solprop accepts argon TDCIS (time-dependent configuration interaction singles, the
coupled-channel whole-atom model of the Pyroraptor provider) as a TDSE gas response and
assembles the propagation source from it. Helium haCC and SAE behaviour, identities and
archives are unchanged.
Declaration (
nonlinear/tdse.py)TDCISBasisbesideHaccBasis, exported fromsolprop.nonlinearandsolprop.sol:thresholds,radial_edges,radial_orders,angular_order,scaling_radius,scaling_angle,infinite_order,decay,gauge_radius,cut_energy,max_step_au, keyword-onlysource, andpreset(onlyNoneis admitted:the provider has no argon preset). Its identity uses the kind
tdcis_argon.TDSEGasResponseadmitsmodel="tdcis"withtarget="argon". The cubic policy isoptmat_cubic(the cubic replacement) ortdse_native;tdse_shadowis refused andremainder_scalemust be 1.0. An atomic window is admitted with either policy.whole_atom, covers haCC and TDCIS.Translation (
translate/,capabilities.py)cubic-replacement response as gated.
The rule keeps its identifier
tdse-helium; its reason and species condition now nameargon.
Source assembly (
backends/tdse_source.py)less its first and third orders, with the edge term of the existing windowed route.
Optmat's linear and Kerr terms stay on the whole lattice and are never gated.
Driver (
driver/,output/tdse_archive.py)the third order of the closed total current on the provider's reduced route when the
policy is the cubic replacement, and checks the route the provider reports. A basis
without the escaped-electron closure is refused for the cubic replacement at preparation,
with a message that names the two ways out.
first order.
TDSEExecution(hacc_cache=...)is refused for argon: the setup cache applies to heliumhaCC only.
Documentation: a new "Argon TDCIS" section in
docs/guide/media/tdse.mdwith a runnableexample and the limitations, a note in
docs/dev/dependencies.md, and a changelog fragment.Why
Argon is the first target beyond helium that the provider's coupled-channel route offers,
and the cubic replacement lets a run keep optmat's measured Kerr response while the atom
supplies the higher orders and ionisation. See #968.
How it was verified
All with the fake provider, on macOS:
uv run ruff check --fix .,uv run ruff format .: clean.uv run basedpyright: 0 errors.uv run pytest -n auto tests/nonlinear tests/translate/test_tdse_*.py tests/backends/test_tdse_*.py tests/driver/test_tdse_*.py tests/output/test_tdse_archive.py tests/test_capability_queries.py tests/test_layers.py: 2058 passed, 1 skipped (theinstalled-provider test). The new and touched modules were run again on the final tree:
472 passed.
tests/test_guide_snippets.py -k tdse: passed.uv run poe docs: build succeeded.poe docstrings,codespell,poe changelog-check: no failures.New test modules:
tests/nonlinear/test_tdse_tdcis_spec.py,tests/translate/test_tdse_tdcis_descriptor.py,tests/backends/test_tdse_tdcis_source.py,tests/driver/test_tdse_tdcis_binding.py,tests/driver/test_tdse_tdcis_run.py.Assumed, skipped or not run
the closed total current is assumed from its development branch and is exercised here only
through the fake. The route needs a Pyroraptor build that offers it; the released
interface does not. There is no installed-provider argon test yet.
uv run poe check), the slow lane and the coverage lane were not run.Coverage of the new statements and branches was checked by inspection, not measured.
backend.
open in Argon TDCIS as a TDSE gas response #968; this pull request should not merge as a supported route before that is
settled.
production scale, singlet TDCIS without spin-orbit coupling, and a closure sphere that
must lie outside the 3p orbital (a gauge radius of at least 24 bohr with 4-bohr
elements). The low-field consistency check is expected to warn: TDCIS overestimates
argon's polarisability by about 17%.
Touches #964 (the shared haCC response plan): both concern how haCC plans are built in the
driver; neither depends on the other.
🤖 Generated with Claude Code