Skip to content

Commit

Permalink
Fixing spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Pisal <[email protected]>
  • Loading branch information
sacpis committed Jan 26, 2025
1 parent 263935a commit fbfa91a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions runtime/cudaq/evolution.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Evolution {
const std::vector<std::map<std::string, std::complex<double>>>
&schedule_parameters);

/// Evolves a single quantum state under a given hamiltonian.
/// Evolves a single quantum state under a given `hamiltonian`.
static evolve_result
evolve_single(const operator_sum &hamiltonian,
const std::map<int, int> &dimensions,
Expand All @@ -64,7 +64,7 @@ class Evolution {
std::shared_ptr<BaseIntegrator<state>> integrator = nullptr,
std::optional<int> shots_count = std::nullopt);

/// Evolves a single or multiple quantum states under a given hamiltonian.
/// Evolves a single or multiple quantum states under a given `hamiltonian`.
/// Run only for dynamics target else throw error
static std::vector<evolve_result>
evolve(const operator_sum &hamiltonian, const std::map<int, int> &dimensions,
Expand Down
8 changes: 4 additions & 4 deletions runtime/cudaq/operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,12 +473,12 @@ class rydberg_hamiltonian : public operator_sum {

/// @brief Constructor.
/// @param atom_sites List of 2D coordinates for trap sites.
/// @param amplitude Time-dependant driving amplitude, Omega(t).
/// @param phase Time-dependant driving phase, phi(t).
/// @param delta_global Time-dependant driving detuning, Delta_global(t).
/// @param amplitude Time-dependent driving amplitude, Omega(t).
/// @param phase Time-dependent driving phase, phi(t).
/// @param delta_global Time-dependent driving detuning, Delta_global(t).
/// @param atom_filling Optional. Marks occupied trap sites (1) and empty
/// sites (0). Defaults to all sites occupied.
/// @param delta_local Optional. A tuple of Delta_local(t) and site dependant
/// @param delta_local Optional. A tuple of Delta_local(t) and site dependent
/// local detuning factors.
rydberg_hamiltonian(
const std::vector<Coordinate> &atom_sites,
Expand Down

0 comments on commit fbfa91a

Please sign in to comment.