Commit 03a86034 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

add class AI to circular matrix generation

parent baadbaeb
......@@ -67,6 +67,9 @@ def make_some_circular_s(n, seed, sym='A'):
if sym == 'A':
h = make_gaussian_h(2*n, seed, 'A')
s = np.exp(2j * np.pi * rand.rand()) * np.mat(la.eigh(h)[1])
if sym == 'AI':
sa = make_some_circular_s(n, seed, sym='A').to_matrix()
s = sa.T * sa
elif sym == 'D':
h = make_gaussian_h(2*n, seed, 'AI')
s = np.mat(la.eigh(h)[1])
......
Supports Markdown
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