Skip to main content

memory_dft パッケージ概要

memory_dft は Direct Schrödinger Evolution (DSE) を中心に、履歴依存の量子ダイナミクスと材料記憶効果を扱うための Python パッケージです。メモリカーネルによる非マルコフ的な時間発展、トポロジーやボルテックス解析、熱・応力場の評価、PySCF との連携などを含む構成になっています。

ディレクトリ構成

  • core/
    • スパース行列エンジン、履歴管理、メモリカーネル、環境演算子、材料破壊解析などの中核機能を提供します。
  • solvers/
    • DSE 時間発展ソルバー、記憶指標計算、熱ホログラフィー進化などを実装します。
  • physics/
    • λ3 安定性評価、渦度解析、RDM (Reduced Density Matrix)、トポロジー指標の計算を担当します。
  • holographic/
    • ホログラフィックな双対解析や測定プロトコル(matplotlib が必要)をまとめます。
  • interfaces/
    • PySCF を用いた DFT 計算との統合インターフェースを提供します。
  • engineering/
    • 熱・機械連成など工学系の追加ソルバー群を収録します。
  • tests/
    • 簡易的なスモークテスト等のテストスイートです。
  • __init__.py
    • 主要クラス・関数を再エクスポートし、トップレベル API を整理します。
  • __main__.py
    • python -m memory_dft での実行エントリです。

主要コンポーネント

Core

  • SparseEngine (core/sparse_engine_unified.py)
    • スパース Hamiltonian の構築・対角化・GPU/CPU 切替などを扱う統一エンジンです。
  • MemoryKernel (core/memory_kernel.py)
    • 履歴依存効果を表現するメモリカーネルの中核実装です。
  • HistoryManager (core/history_manager.py)
    • 時系列の状態履歴とメモリ評価のための管理ユーティリティを提供します。
  • Environment Operators (core/environment_operators.py)
    • 有限温度・応力・トポロジー解析に必要な演算子や熱力学ユーティリティをまとめます。
  • Material Failure (core/material_failure.py)
    • 熱/応力トポロジーの破壊予測と解析ロジックを提供します。

Solvers

  • DSESolver (solvers/dse_solver.py)
    • DSE の時間発展計算を行うソルバーです。
  • MemoryIndicator (solvers/memory_indicators.py)
    • ヒステリシスや記憶指標の解析を行います。
  • ThermalHolographicEvolution (solvers/thermal_holographic.py)
    • 熱ホログラフィーの時間発展・双対性指標の評価を担当します。

Physics

  • Lambda3Calculator (physics/lambda3_bridge.py)
    • λ3 안정性指標の計算や HCSP 検証を行います。
  • VorticityCalculator (physics/vorticity.py)
    • 渦度解析と関連指標の抽出を支援します。
  • RDMCalculator (physics/rdm.py)
    • 2-RDM の計算や Hubbard/Heisenberg 系の RDM 評価を提供します。
  • Topology Engine (physics/topology.py)
    • Berry/Zak 位相や波動関数巻き数などのトポロジー解析を行います。

Interfaces

  • PySCF Interface (interfaces/pyscf_interface.py)
    • PySCF を利用した DFT 計算に DSE メモリ効果を付加するための統合 API です。

オプション依存

  • GPU アクセラレーション: cupy がある場合、スパース演算や DSE ソルバーは GPU を利用します。
  • PySCF 連携: pyscf がインストールされている場合、分子系の DFT 計算を経路計算と組み合わせられます。
  • ホログラフィック解析: matplotlib がある場合、ホログラフィック解析の可視化や測定プロトコルが利用可能です。

参考: 典型的な利用イメージ

from memory_dft import SparseEngine, DSESolver, MemoryKernel

engine = SparseEngine(n_sites=4)
H_K, H_V = engine.build_heisenberg(J=1.0)
psi0 = engine.compute_ground_state(H_K + H_V)[1]

solver = DSESolver(H_K, H_V, gamma_memory=1.2)
result = solver.run(psi0, t_end=1.0, dt=0.1)
print(result.summary())

上記は概要例であり、詳細なパラメータや物理モデルは各モジュールの docstring を参照してください。

Metadata

Release files for lambda3-memory-dft 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lambda3-memory-dft 1.0.2
File Size Uploaded Provenance Actions
lambda3_memory_dft-1.0.2.tar.gz 120.2 kB With provenance Details for lambda3_memory_dft-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lambda3-memory-dft 1.0.2
File Interpreter ABI Platform Actions
lambda3_memory_dft-1.0.2-py3-none-any.whl Python 3 none any Details for lambda3_memory_dft-1.0.2-py3-none-any.whl

Total release size: 254.6 kB

Release files / lambda3_memory_dft-1.0.2.tar.gz

Download URL lambda3_memory_dft-1.0.2.tar.gz
Size 120.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d9295c550db2aef5084a763995a0576ff049396a47c2c7cb5a303d974c7fe99d
BLAKE2b-256 checksum
How to use checksums
2cab15ae498187bfc76aa424947f0d1c17e87302bef742af74bd8a14603f6f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 13, 2026.

Transparency log

Release files / lambda3_memory_dft-1.0.2-py3-none-any.whl

Download URL lambda3_memory_dft-1.0.2-py3-none-any.whl
Size 134.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
415f588e5881e69de1c78633528b43bc48bdf9e0766be029c3ac1e9296e0ee46
BLAKE2b-256 checksum
How to use checksums
1b91e069a63380408cb064054cf6a456f18282944cbe4b65890c8ac3fbd18d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 13, 2026.

Transparency log

Security for lambda3-memory-dft 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lambda3_memory_dft-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page