Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Thornton <wsttiger@gmail.com>
  • Loading branch information
wsttiger committed Dec 16, 2024
1 parent f048bc7 commit 55bfbc8
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 342 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* *
* This source code and the accompanying materials are made available under *
* the terms of the Apache License 2.0 which accompanies this distribution. *
* *
* *
* This file was translated and modified from bravyi_kitaev.py *
* which was adapted from https://doi.org/10.1063/1.4768229 *
* Original work Copyright OpenFermion *
Expand Down Expand Up @@ -32,7 +32,8 @@
namespace cudaq::solvers {

/// @brief Helper function used by the Bravyi-Kitaev transformation.
cudaq::spin_op seeley_richard_love(std::size_t i, std::size_t j, std::complex<double> coef, int n_qubits);
cudaq::spin_op seeley_richard_love(std::size_t i, std::size_t j,
std::complex<double> coef, int n_qubits);

/// @brief Map fermionic operators to spin operators via the
/// Bravyi-Kitaev transformation.
Expand Down
Loading

0 comments on commit 55bfbc8

Please sign in to comment.