Atelier des rouesLab FR
Objects/Documentation

temoin18.py

Compare schedules after depletion · By powering the prefix matrix I also enclose the original contrast directly, approximately 0.000647299264455 at 64 sites and 0.001331867848599 at 256.

Download ↓
"""Independent forward check at N=64. Optional NumPy. Steps through the original prefix."""
import json
from math import comb
from pathlib import Path
import numpy as np


def forward():
    n=64
    numbers=np.arange(n+1,dtype=np.longdouble)
    one=np.longdouble(1)
    b=one/n**3
    count=int(np.rint(-np.log(np.longdouble(n))/(4*np.log1p(-b))))
    survival=(one-b)**count
    exact=np.zeros(n+1,dtype=np.longdouble)
    exact[n]=1

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.