Commit 76630503 authored by Dániel Varjas's avatar Dániel Varjas

remove real=True flag in hamiltonian_from_family

parent 281711dc
Pipeline #23507 passed with stage
in 2 minutes and 43 seconds
......@@ -285,7 +285,7 @@ def hamiltonian_from_family(family, coeffs=None, nsimplify=True, tosympy=True):
if coeffs is None:
coeffs = list(sympy.symbols('c0:%d'%len(family), real=True))
coeffs = list(sympy.symbols('c0:%d'%len(family)))
assert len(coeffs) == len(family), 'Length of family and coeffs do not match.'
# The order of multiplication is important here, so that __mul__ of 'term'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment