Scheduled maintenance on Monday 2019-06-24 between 10:00-11:00 CEST

Commit 9d759b73 authored by Lukas Platz's avatar Lukas Platz

cleanup

parent 70fa71cb
Pipeline #50661 failed with stages
in 3 minutes and 40 seconds
......@@ -132,7 +132,6 @@ def MultiDimCorrelatedField(target, amplitudes, za, zq, name='xi'):
n_subdoms = len(tgt)
hsp = DomainTuple.make([tt.get_default_codomain() for tt in tgt])
print("hsp:", hsp)
psp = [aa.target[0] for aa in amplitudes]
# Assemble PowerDistributor stack
......@@ -141,8 +140,6 @@ def MultiDimCorrelatedField(target, amplitudes, za, zq, name='xi'):
pd = pd @ PowerDistributor(pd.domain, psp[i], i)
pd = pd @ PowerDistributor(pd.domain, psp[-1], n_subdoms - 1)
print("pd.domain:", pd.domain)
# Spread amplitudes into their respective constant dimensions
# and calculate their outer product
a_i = []
......@@ -157,9 +154,6 @@ def MultiDimCorrelatedField(target, amplitudes, za, zq, name='xi'):
spr = spr @ ContractionOperator(spr.domain, 0).adjoint
if j > i:
spr = spr @ ContractionOperator(spr.domain, 1).adjoint
print("spreader:", spr)
print("amp.target:", amplitudes[i].target)
print("spreader.domain:", spr.domain)
a_i.append(spr @ amplitudes[i])
# Calculate global spectrum amplitude as the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment