-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathevolve.hpp
More file actions
53 lines (41 loc) · 2.42 KB
/
Copy pathevolve.hpp
File metadata and controls
53 lines (41 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/** @file
* @author Tyson Jones
*
* @defgroup testutilsevolve Evolve
* @ingroup testutils
* @brief
* Testing utilities which evolve a reference state
* (qvector or qmatrix) under the action of a
* reference operation. These are slow, serial,
* un-optimised, defensively-designed routines.
* @{
*/
#ifndef EVOLVE_HPP
#define EVOLVE_HPP
#include "qvector.hpp"
#include "qmatrix.hpp"
#include <vector>
using std::vector;
void applyReferenceOperator (qvector& state, vector<int> ctrls, vector<int> states, vector<int> targs, qmatrix matrix);
void applyReferenceOperator (qmatrix& state, vector<int> ctrls, vector<int> states, vector<int> targs, qmatrix matrix);
void leftapplyReferenceOperator (qvector& state, vector<int> ctrls, vector<int> states, vector<int> targs, qmatrix matrix);
void leftapplyReferenceOperator (qmatrix& state, vector<int> ctrls, vector<int> states, vector<int> targs, qmatrix matrix);
void rightapplyReferenceOperator(qmatrix& state, vector<int> ctrls, vector<int> states, vector<int> targs, qmatrix matrix);
void applyReferenceOperator (qvector& state, vector<int> ctrls, vector<int> targs, qmatrix matrix);
void applyReferenceOperator (qmatrix& state, vector<int> ctrls, vector<int> targs, qmatrix matrix);
void leftapplyReferenceOperator (qvector& state, vector<int> ctrls, vector<int> targs, qmatrix matrix);
void leftapplyReferenceOperator (qmatrix& state, vector<int> ctrls, vector<int> targs, qmatrix matrix);
void rightapplyReferenceOperator(qmatrix& state, vector<int> ctrls, vector<int> targs, qmatrix matrix);
void applyReferenceOperator (qvector& state, vector<int> targs, qmatrix matrix);
void applyReferenceOperator (qmatrix& state, vector<int> targs, qmatrix matrix);
void leftapplyReferenceOperator (qvector& state, vector<int> targs, qmatrix matrix);
void leftapplyReferenceOperator (qmatrix& state, vector<int> targs, qmatrix matrix);
void rightapplyReferenceOperator(qmatrix& state, vector<int> targs, qmatrix matrix);
void applyReferenceOperator (qvector& state, qmatrix matrix);
void applyReferenceOperator (qmatrix& state, qmatrix matrix);
void leftapplyReferenceOperator (qvector& state, qmatrix matrix);
void leftapplyReferenceOperator (qmatrix& state, qmatrix matrix);
void rightapplyReferenceOperator(qmatrix& state, qmatrix matrix);
void applyReferenceOperator(qmatrix& state, vector<int> targs, vector<qmatrix> matrices);
#endif // EVOLVE_HPP
/** @} (end defgroup) */