Commit 2af02b8
authored
fix typo in calling operator pool with uccsd in doc (#366)
Replace
uccsd_ops = solvers.get_operator_pool(
"uccsd",
num_orbitals=molecule.n_orbitals,
num_electrons=molecule.n_electrons
)
with
uccsd_ops = solvers.get_operator_pool(
"uccsd",
num_qubits = 2 * molecule.n_orbitals,
num_electrons = molecule.n_electrons
)
Also added:
geometry = [('H', (0., 0., 0.)), ('H', (0., 0., .7474))]
molecule = solvers.create_molecule(geometry, 'sto-3g', 0, 0, casci=True)
To clarify molecule.n_orbitals and molecule.n_electrons
---------
Signed-off-by: marwafar <[email protected]>1 parent 3079c21 commit 2af02b8
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
521 | 524 | | |
522 | 525 | | |
523 | 526 | | |
| |||
526 | 529 | | |
527 | 530 | | |
528 | 531 | | |
529 | | - | |
530 | | - | |
| 532 | + | |
| 533 | + | |
531 | 534 | | |
532 | 535 | | |
533 | 536 | | |
| |||
0 commit comments