Z is y0 transposed
This commit is contained in:
parent
01e7aae41e
commit
2a9e482e44
@ -561,7 +561,7 @@ def eigsolve(
|
|||||||
if y0 is None:
|
if y0 is None:
|
||||||
Z = numpy.random.rand(*y_shape) + 1j * numpy.random.rand(*y_shape)
|
Z = numpy.random.rand(*y_shape) + 1j * numpy.random.rand(*y_shape)
|
||||||
else:
|
else:
|
||||||
Z = numpy.array(y0, copy=False)
|
Z = numpy.array(y0, copy=False).T
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
Z *= num_modes / norm(Z)
|
Z *= num_modes / norm(Z)
|
||||||
|
Loading…
Reference in New Issue
Block a user