Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
Signed-off-by: Alex McCaskey <[email protected]>
  • Loading branch information
amccaskey committed Nov 27, 2024
1 parent efdcf51 commit fae6992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinx/examples/solvers/cpp/adapt_h2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int main() {
auto h = molecule.hamiltonian;

// Create the operator pool
auto opPool = cudaq::solvers::get_operator_pool(
std::vector<cudaq::spin_op> opPool = cudaq::solvers::get_operator_pool(
"spin_complement_gsd", {{"num-orbitals", h.num_qubits() / 2}});

// Run ADAPT
Expand Down

0 comments on commit fae6992

Please sign in to comment.