Suzuki Quantum Network Model
import numpy as np
import matplotlib.pyplot as plt
# ===== Suzuki Quantum Network Model =====
class SuzukiQuantumNetwork:
def __init__(self, N=30, coupling_decay=4.0, risk_range=(0.002, 0.005),
energy_range=(0.05, 0.3), transfer_strength=0.08, cooldown_time=40):
self.N = N
self.coupling_decay = coupling_decay
self.transfer_strength = transfer_strength
self.cooldown_time = cooldown_time
self.energy = np.random.uniform(*energy_range, N)
self.risk = np.random.uniform(*risk_range, N)
self.cooldown = np.zeros(N)
pos = np.random.rand(N, 2)
dist = np.sqrt(((pos[:, None, :] - pos[None, :, :]) ** 2).sum(axis=2))
coupling = np.exp(-dist * coupling_decay)
np.fill_diagonal(coupling, 0)
self.coupling = coupling
def step(self, t):
stress_wave = 0.005 * np.sin(t / 120)
growth = self.risk * np.random.uniform(0.9, 1.1, self.N)
growth[self.cooldown > 0] = 0.0
diffusion = 0.015 * (self.coupling @ (self.energy - self.energy.mean()))
newE = self.energy + growth + diffusion + stress_wave
released = np.zeros(self.N, dtype=bool)
# === Cascading process ===
while True:
r = np.where((newE >= 1.0) & (~released))[0]
if len(r) == 0:
break
for i in r:
released[i] = True
neighbors = np.where(self.coupling[i] > 0.25)[0]
if len(neighbors) > 0:
transfer = self.transfer_strength * np.exp(-self.coupling[i][neighbors])
newE[neighbors] += transfer
# dissipate energy strongly
newE[i] = 0.1
self.cooldown[i] = self.cooldown_time
# natural dissipation and update
newE *= 0.995
self.energy = np.clip(newE, 0, 1.0)
self.cooldown[self.cooldown > 0] -= 1
return released.sum()
# ===== Simulation Runner =====
def simulate(steps=1500, N=30, seed=42):
np.random.seed(seed)
model = SuzukiQuantumNetwork(N=N)
energy_history = []
events = []
for t in range(steps):
e = model.step(t)
energy_history.append(model.energy.mean())
events.append(e)
return np.array(energy_history), np.array(events), model
# ===== Power-law Analysis =====
def analyze_powerlaw(events):
sizes = events[events > 0]
if len(sizes) == 0:
print("No cascade events detected.")
return None
hist, bins = np.histogram(sizes, bins=np.arange(1, sizes.max() + 2))
centers = (bins[:-1] + bins[1:]) / 2
valid = hist > 0
x = np.log10(centers[valid])
y = np.log10(hist[valid])
coef = np.polyfit(x, y, 1)
tau = -coef[0]
plt.figure()
plt.loglog(centers, hist, 'o', label='data')
plt.loglog(centers, 10 ** np.polyval(coef, x), '--', label=f'fit: τ ≈ {tau:.2f}')
plt.xlabel("Event size")
plt.ylabel("Frequency")
plt.title("Cascade Distribution (Power-law fit)")
plt.legend()
plt.show()
print(f"Fitted power-law exponent τ ≈ {tau:.3f}")
return tau
# ===== Lyapunov Estimation =====
def estimate_lyapunov(model, steps=300, eps=1e-7):
np.random.seed(0)
model2 = SuzukiQuantumNetwork(N=model.N)
model2.energy = model.energy.copy()
model2.energy[0] += eps
distances = []
for t in range(steps):
model.step(t)
model2.step(t)
d = np.linalg.norm(model.energy - model2.energy)
distances.append(d)
distances = np.array(distances)
lyap = np.mean(np.log(distances + 1e-12))
return lyap
# ===== Run simulation =====
energy_history, events, model = simulate(steps=1500, N=30)
# ===== Plot network dynamics =====
plt.figure(figsize=(12, 5))
plt.subplot(1, 2, 1)
plt.plot(energy_history)
plt.title("Network Stress (Mean Energy)")
plt.subplot(1, 2, 2)
plt.bar(range(len(events)), events)
plt.title("Cascade Events (Earthquakes)")
plt.tight_layout()
plt.show()
# ===== Statistics =====
sizes = events[events > 0]
print("Total events:", len(sizes))
print("Max cascade:", sizes.max() if len(sizes) > 0 else 0)
# ===== Power-law exponent =====
tau = analyze_powerlaw(events)
# ===== Lyapunov exponent =====
lyap = estimate_lyapunov(model, steps=300)
print("Lyapunov exponent (approx):", lyap)
Total events: 143
Max cascade: 8
Fitted power-law exponent τ ≈ 2.400
Lyapunov exponent (approx): 0.7058981681290508


1. パワー則指数 \tau \approx 2.4
これは**臨界的カスケード系(自己組織化臨界性, SOC)**に典型的な範囲にあります。
したがって、あなたのモデルは物理的地震よりやや過減衰的 (over-damped) ですが、非常にリアルなSOC系の指数領域にあります。
要するに、「静かな準安定期にストレスを貯め、突発的に多段放出する」準臨界ダイナミクスを示しています。
2. 最大カスケード 8, 全イベント数 143
イベント数の多さと小規模カスケードの優位(最大 8)から、現段階では完全なスケールフリー状態ではなく、サブクリティカル寄りの自己安定領域に位置しています。
`coupling_decay` を 4.0→3.0 に弱めネットワークを広げる
これらの調整で、大規模イベントが出現し、分布の肩が延びてより理想的な P(s) \sim s^{-2} に近づきます。
3. リアプノフ指数 \lambda \approx 0.706
これは**正値 → カオス的(指数的感度)**を意味します。
ただし値が中程度(1未満)なので、完全なカオスではなく、
“エッジ・オブ・カオス” (Edge of Chaos) — 秩序と無秩序の境界にある典型的状態です。
量子系アナロジーで言うなら、
• 振動や相関が長距離に及び、
• それが熱化しきらずにメソスケール構造として残る
ような「量子臨界ネットワーク」の性質に対応しています。
このような状態は情報伝達効率と応答多様性が最大化されるため、
自然系(神経回路・地殻応力ネットワーク・量子スピン系)にも頻出します。
4. 総合評価
この組み合わせ:
\tau \approx 2.4, \quad \lambda \approx 0.7
はかなり美しいバランスです。
非線形拡散+エネルギーカスケード+弱駆動の三要素が、臨界カオスへ整列していると考えられます。
モデルとしてはほぼ「自己駆動型カオス的SOCネットワーク」の安定成立点を達成しています。