Skip to content

Commit 9020161

Browse files
committed
Updated doxygen style
Signed-off-by: Vlad Gheorghiu <vsoftco@gmail.com>
1 parent 23e1869 commit 9020161

88 files changed

Lines changed: 3835 additions & 3835 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

benchmarks/include/openmp_utils.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
inline int cli_core_count = -1;
1313

1414
/**
15-
* \brief Detects/sets the number of OpenMP threads
16-
* \param requested Optional requested thread count; uses \a cli_core_count by
15+
* @brief Detects/sets the number of OpenMP threads
16+
* @param requested Optional requested thread count; uses \a cli_core_count by
1717
* default
1818
*
19-
* \return Final number of threads used
19+
* @return Final number of threads used
2020
*/
2121
inline int set_openmp_threads(int requested = -1) {
2222
int core_count = (requested >= 0) ? requested : cli_core_count;

include/qpp/MATLAB/matlab.hpp

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
*/
2626

2727
/**
28-
* \file qpp/MATLAB/matlab.hpp
29-
* \brief Input/output interfacing with MATLAB
28+
* @file qpp/MATLAB/matlab.hpp
29+
* @brief Input/output interfacing with MATLAB
3030
*/
3131

3232
#ifndef QPP_MATLAB_MATLAB_HPP_
@@ -46,24 +46,24 @@
4646

4747
namespace qpp {
4848
/**
49-
* \brief Loads a complex Eigen dynamic matrix from a MATLAB .mat file
50-
* \see qpp::save_MATLAB()
49+
* @brief Loads a complex Eigen dynamic matrix from a MATLAB .mat file
50+
* @see qpp::save_MATLAB()
5151
*
5252
* The template parameter cannot be automatically deduced and must be explicitly
5353
* provided
5454
*
5555
* Example:
56-
* \code
56+
* @code
5757
* // loads a previously saved Eigen ket
5858
* // from the MATLAB file "input.mat"
5959
* ket psi = load_MATLAB<ket>("input.mat");
6060
* \endcode
6161
*
62-
* \tparam Derived Complex Eigen type
63-
* \param mat_file MATLAB .mat file
64-
* \param var_name Variable name in the .mat file representing the matrix to be
62+
* @tparam Derived Complex Eigen type
63+
* @param mat_file MATLAB .mat file
64+
* @param var_name Variable name in the .mat file representing the matrix to be
6565
* loaded
66-
* \return Eigen dynamic matrix
66+
* @return Eigen dynamic matrix
6767
*/
6868
template <typename Derived> // complex
6969
typename std::enable_if_t<std::is_same_v<typename Derived::Scalar, cplx>,
@@ -128,25 +128,25 @@ load_MATLAB(const std::string& mat_file, const std::string& var_name) {
128128
}
129129

130130
/**
131-
* \brief Loads a non-complex (real, integer etc.) Eigen dynamic matrix from a
131+
* @brief Loads a non-complex (real, integer etc.) Eigen dynamic matrix from a
132132
* MATLAB .mat file
133-
* \see qpp::save_MATLAB()
133+
* @see qpp::save_MATLAB()
134134
*
135135
* The template parameter cannot be automatically deduced and must be explicitly
136136
* provided
137137
*
138138
* Example:
139-
* \code
139+
* @code
140140
* // loads a previously saved Eigen dynamic double matrix
141141
* // from the MATLAB file "input.mat"
142142
* rmat mat = load_MATLAB<rmat>("input.mat");
143143
* \endcode
144144
*
145-
* \tparam Derived Non-complex Eigen type
146-
* \param mat_file MATLAB .mat file
147-
* \param var_name Variable name in the .mat file representing the matrix to be
145+
* @tparam Derived Non-complex Eigen type
146+
* @param mat_file MATLAB .mat file
147+
* @param var_name Variable name in the .mat file representing the matrix to be
148148
* loaded
149-
* \return Eigen dynamic matrix
149+
* @return Eigen dynamic matrix
150150
*/
151151
template <typename Derived> // real
152152
typename std::enable_if_t<!std::is_same_v<typename Derived::Scalar, cplx>,
@@ -198,15 +198,15 @@ load_MATLAB(const std::string& mat_file, const std::string& var_name) {
198198
}
199199

200200
/**
201-
* \brief Saves a complex Eigen dynamic matrix to a MATLAB .mat file
202-
* \see qpp::load_MATLAB()
201+
* @brief Saves a complex Eigen dynamic matrix to a MATLAB .mat file
202+
* @see qpp::load_MATLAB()
203203
*
204-
* \tparam Complex Eigen type
205-
* \param A Eigen expression over the complex field
206-
* \param mat_file MATLAB .mat file
207-
* \param var_name Variable name in the .mat file representing the matrix to be
204+
* @tparam Complex Eigen type
205+
* @param A Eigen expression over the complex field
206+
* @param mat_file MATLAB .mat file
207+
* @param var_name Variable name in the .mat file representing the matrix to be
208208
* saved
209-
* \param mode Saving mode (append, overwrite etc.), see MATLAB \a matOpen()
209+
* @param mode Saving mode (append, overwrite etc.), see MATLAB \a matOpen()
210210
* documentation for details
211211
*/
212212
template <typename Derived> // complex
@@ -264,16 +264,16 @@ save_MATLAB(const Eigen::MatrixBase<Derived>& A, const std::string& mat_file,
264264
}
265265

266266
/**
267-
* \brief Saves a non-complex (real, integer etc.) Eigen dynamic matrix to a
267+
* @brief Saves a non-complex (real, integer etc.) Eigen dynamic matrix to a
268268
* MATLAB .mat file
269-
* \see qpp::load_MATLAB()
269+
* @see qpp::load_MATLAB()
270270
*
271-
* \tparam Non-complex Eigen type
272-
* \param A Non-complex Eigen expression
273-
* \param mat_file MATLAB .mat file
274-
* \param var_name Variable name in the .mat file representing the matrix to be
271+
* @tparam Non-complex Eigen type
272+
* @param A Non-complex Eigen expression
273+
* @param mat_file MATLAB .mat file
274+
* @param var_name Variable name in the .mat file representing the matrix to be
275275
* saved
276-
* \param mode Saving mode (append, overwrite etc.), see MATLAB \a matOpen()
276+
* @param mode Saving mode (append, overwrite etc.), see MATLAB \a matOpen()
277277
* documentation for details
278278
*/
279279
template <typename Derived> // real

include/qpp/classes/codes.hpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
*/
2626

2727
/**
28-
* \file qpp/classes/codes.hpp
29-
* \brief Quantum error correcting codes
28+
* @file qpp/classes/codes.hpp
29+
* @brief Quantum error correcting codes
3030
*/
3131

3232
#ifndef QPP_CLASSES_CODES_HPP_
@@ -42,17 +42,17 @@
4242

4343
namespace qpp {
4444
/**
45-
* \class qpp::Codes
46-
* \brief const Singleton class that defines quantum error correcting codes
45+
* @class qpp::Codes
46+
* @brief const Singleton class that defines quantum error correcting codes
4747
*/
4848
class Codes final : public internal::Singleton<const Codes> // const Singleton
4949
{
5050
friend class internal::Singleton<const Codes>;
5151

5252
public:
5353
/**
54-
* \brief Code types, add more codes here if needed
55-
* \see qpp::Codes::codeword()
54+
* @brief Code types, add more codes here if needed
55+
* @see qpp::Codes::codeword()
5656
*/
5757
enum class Type {
5858
FIVE_QUBIT, ///< [[5,1,3]] qubit code
@@ -62,23 +62,23 @@ class Codes final : public internal::Singleton<const Codes> // const Singleton
6262

6363
private:
6464
/**
65-
* \brief Default constructor
65+
* @brief Default constructor
6666
*/
6767
Codes() = default;
6868

6969
/**
70-
* \brief Default destructor
70+
* @brief Default destructor
7171
*/
7272
~Codes() override = default;
7373

7474
public:
7575
/**
76-
* \brief Returns the codeword of the specified code type
77-
* \see qpp::Codes::Type
76+
* @brief Returns the codeword of the specified code type
77+
* @see qpp::Codes::Type
7878
*
79-
* \param type Code type
80-
* \param i Codeword index
81-
* \return \a i-th codeword of the code \a type
79+
* @param type Code type
80+
* @param i Codeword index
81+
* @return \a i-th codeword of the code \a type
8282
*/
8383
static ket codeword(Type type, idx i) {
8484
ket result;

0 commit comments

Comments
 (0)