Skip to content

Commit 8d20627

Browse files
author
JiaceSun
committed
small update
1 parent 1992b1c commit 8d20627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencirchem/static/hea.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def get_circuit(params):
215215
if init_circuit is None:
216216
c = Circuit(n_qubits)
217217
else:
218-
c = Circuit.from_qir(init_circuit.to_qir())
218+
c = Circuit.from_qir(init_circuit.to_qir(), init_circuit.circuit_param)
219219
return c.append(get_ry_circuit(params, n_qubits, n_layers))
220220

221221
return cls.from_integral(int1e, int2e, n_elec, e_core, "parity", get_circuit, init_guess, **kwargs)

0 commit comments

Comments
 (0)