Skip to main content

Direct Schrödinger Evolution (DSE) - First-Principles History-Dependent Quantum Dynamics

Project description

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 を参照してください。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lambda3_memory_dft-1.0.2.tar.gz (120.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lambda3_memory_dft-1.0.2-py3-none-any.whl (134.4 kB view details)

Uploaded Python 3

File details

Details for the file lambda3_memory_dft-1.0.2.tar.gz.

File metadata

  • Download URL: lambda3_memory_dft-1.0.2.tar.gz
  • Upload date:
  • Size: 120.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lambda3_memory_dft-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d9295c550db2aef5084a763995a0576ff049396a47c2c7cb5a303d974c7fe99d
MD5 bf55153adfb5f63f6b7ebc6c7b740e86
BLAKE2b-256 2cab15ae498187bfc76aa424947f0d1c17e87302bef742af74bd8a14603f6f7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambda3_memory_dft-1.0.2.tar.gz:

Publisher: publish.yml on miosync-masa/lambda3-memory-dft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lambda3_memory_dft-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for lambda3_memory_dft-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 415f588e5881e69de1c78633528b43bc48bdf9e0766be029c3ac1e9296e0ee46
MD5 706ebd397568c8ae7f40fd6fe9604768
BLAKE2b-256 1b91e069a63380408cb064054cf6a456f18282944cbe4b65890c8ac3fbd18d65

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambda3_memory_dft-1.0.2-py3-none-any.whl:

Publisher: publish.yml on miosync-masa/lambda3-memory-dft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page