-
Notifications
You must be signed in to change notification settings - Fork 2
/
class_cls_state_reflection_gate.html
369 lines (353 loc) · 27.7 KB
/
class_cls_state_reflection_gate.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- For Mobile Devices -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<title>Qulacs: ClsStateReflectionGate Class Reference</title>
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="doxy-boot.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Custom input to switch branches -->
<script>
function switchBranchAction() {
var branch = document.getElementById("branch_input").value;
var form = this;
window.location.href = window.location.hostname + '/en/' + branch;
}
</script>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<a href="index.html" class="navbar-brand">Qulacs </a>
</div>
</div>
</nav>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div class="content" id="content">
<div class="container">
<div class="row">
<div class="col-sm-12 panel " style="padding-bottom: 15px;">
<div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="class_cls_state_reflection_gate-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ClsStateReflectionGate Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="gate__reflect_8hpp_source.html">gate_reflect.hpp</a>></code></p>
<div class="dynheader">
Inheritance diagram for ClsStateReflectionGate:</div>
<div class="dyncontent">
<div class="center">
<img src="class_cls_state_reflection_gate.png" usemap="#ClsStateReflectionGate_map" alt=""/>
<map id="ClsStateReflectionGate_map" name="ClsStateReflectionGate_map">
<area href="class_quantum_gate_base.html" alt="QuantumGateBase" shape="rect" coords="0,0,140,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2a709cd841dc60450140f4b36f9e5bd4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cls_state_reflection_gate.html#a2a709cd841dc60450140f4b36f9e5bd4">ClsStateReflectionGate</a> (const <a class="el" href="class_quantum_state_base.html">QuantumStateBase</a> *_reflection_state)</td></tr>
<tr class="separator:a2a709cd841dc60450140f4b36f9e5bd4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb4b7d803945431dd4cbdb6dcd36b7d3"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cls_state_reflection_gate.html#afb4b7d803945431dd4cbdb6dcd36b7d3">~ClsStateReflectionGate</a> ()</td></tr>
<tr class="separator:afb4b7d803945431dd4cbdb6dcd36b7d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a357c594213d8ae9e7c50306c676a83d5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cls_state_reflection_gate.html#a357c594213d8ae9e7c50306c676a83d5">update_quantum_state</a> (<a class="el" href="class_quantum_state_base.html">QuantumStateBase</a> *state) override</td></tr>
<tr class="separator:a357c594213d8ae9e7c50306c676a83d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81f90425748639e26615e95d150e6ddc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cls_state_reflection_gate.html#a81f90425748639e26615e95d150e6ddc">copy</a> () const override</td></tr>
<tr class="separator:a81f90425748639e26615e95d150e6ddc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a633c24fb08928d5a299953384271ddb7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cls_state_reflection_gate.html#a633c24fb08928d5a299953384271ddb7">set_matrix</a> (<a class="el" href="type_8hpp.html#a7735902f9834765a562309c40bffbdf2">ComplexMatrix</a> &) const override</td></tr>
<tr class="separator:a633c24fb08928d5a299953384271ddb7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_class_quantum_gate_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_quantum_gate_base')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a></td></tr>
<tr class="memitem:af4aecefb2ff022329e9be6206cba9e43 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#af4aecefb2ff022329e9be6206cba9e43">~QuantumGateBase</a> ()</td></tr>
<tr class="separator:af4aecefb2ff022329e9be6206cba9e43 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aacc96d630c52912884d59cb2eabad675 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">std::vector< UINT > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#aacc96d630c52912884d59cb2eabad675">get_target_index_list</a> () const</td></tr>
<tr class="separator:aacc96d630c52912884d59cb2eabad675 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee80e6c1f946b2d9f55e9cb3d7dfcd72 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">std::vector< UINT > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#aee80e6c1f946b2d9f55e9cb3d7dfcd72">get_control_index_list</a> () const</td></tr>
<tr class="separator:aee80e6c1f946b2d9f55e9cb3d7dfcd72 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75de0dcbf9a1977c7e1916c036ad6c9a inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a75de0dcbf9a1977c7e1916c036ad6c9a">is_commute</a> (const <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a> *gate) const</td></tr>
<tr class="separator:a75de0dcbf9a1977c7e1916c036ad6c9a inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a58dc8644cfd90c3481a210f3d9764f83 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a58dc8644cfd90c3481a210f3d9764f83">is_Pauli</a> () const</td></tr>
<tr class="separator:a58dc8644cfd90c3481a210f3d9764f83 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af069dd802086a04e94e2bdad8c11cf86 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#af069dd802086a04e94e2bdad8c11cf86">is_Clifford</a> () const</td></tr>
<tr class="separator:af069dd802086a04e94e2bdad8c11cf86 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad46d2ff2cc3992ce1462f4bd55dd3a81 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#ad46d2ff2cc3992ce1462f4bd55dd3a81">is_Gaussian</a> () const</td></tr>
<tr class="separator:ad46d2ff2cc3992ce1462f4bd55dd3a81 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1353f844edaf5cdb398a818e55ff3518 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a1353f844edaf5cdb398a818e55ff3518">is_parametric</a> () const</td></tr>
<tr class="separator:a1353f844edaf5cdb398a818e55ff3518 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6d0beb4eb57f83e8ca604dd8e9bc1aa inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#ac6d0beb4eb57f83e8ca604dd8e9bc1aa">is_diagonal</a> () const</td></tr>
<tr class="separator:ac6d0beb4eb57f83e8ca604dd8e9bc1aa inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24038a6628cc26f282f2b70e90cdc5b4 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">UINT </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a24038a6628cc26f282f2b70e90cdc5b4">get_property_value</a> () const</td></tr>
<tr class="separator:a24038a6628cc26f282f2b70e90cdc5b4 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10c86006bf3ad43ae91859056b4d6486 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a10c86006bf3ad43ae91859056b4d6486">commute_Pauli_at</a> (UINT qubit_index, UINT pauli_type) const</td></tr>
<tr class="separator:a10c86006bf3ad43ae91859056b4d6486 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e009118ceb580decd29e802e51055c4 inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a6e009118ceb580decd29e802e51055c4">get_name</a> () const</td></tr>
<tr class="separator:a6e009118ceb580decd29e802e51055c4 inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a193efa5ac000bb015a0479554f3d103d inherit pub_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a193efa5ac000bb015a0479554f3d103d">to_string</a> () const</td></tr>
<tr class="separator:a193efa5ac000bb015a0479554f3d103d inherit pub_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_class_quantum_gate_base"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_quantum_gate_base')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a></td></tr>
<tr class="memitem:a838ad50f8d6c4492ec2d8c418604b4fb inherit pub_attribs_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="class_target_qubit_info.html">TargetQubitInfo</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a838ad50f8d6c4492ec2d8c418604b4fb">target_qubit_list</a></td></tr>
<tr class="separator:a838ad50f8d6c4492ec2d8c418604b4fb inherit pub_attribs_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ee3056afb6564fde0ceaad3691270f2 inherit pub_attribs_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="class_control_qubit_info.html">ControlQubitInfo</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a0ee3056afb6564fde0ceaad3691270f2">control_qubit_list</a></td></tr>
<tr class="separator:a0ee3056afb6564fde0ceaad3691270f2 inherit pub_attribs_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_class_quantum_gate_base"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_quantum_gate_base')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a></td></tr>
<tr class="memitem:a432d4966cebb122ee728479e599a0cd0 inherit pro_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a432d4966cebb122ee728479e599a0cd0">QuantumGateBase</a> ()</td></tr>
<tr class="separator:a432d4966cebb122ee728479e599a0cd0 inherit pro_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ba81a00992851a24b2478036e83733f inherit pro_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a4ba81a00992851a24b2478036e83733f">QuantumGateBase</a> (const <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a> &obj)</td></tr>
<tr class="separator:a4ba81a00992851a24b2478036e83733f inherit pro_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1eba8ba6375e7076fa9e3c9b7802a493 inherit pro_methods_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a1eba8ba6375e7076fa9e3c9b7802a493">operator=</a> (const <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a> &rhs)=delete</td></tr>
<tr class="separator:a1eba8ba6375e7076fa9e3c9b7802a493 inherit pro_methods_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_class_quantum_gate_base"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_quantum_gate_base')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a></td></tr>
<tr class="memitem:a2ae7a2bad9592e52ac6d2ba6954537ab inherit pro_attribs_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="class_target_qubit_info.html">TargetQubitInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a2ae7a2bad9592e52ac6d2ba6954537ab">_target_qubit_list</a></td></tr>
<tr class="separator:a2ae7a2bad9592e52ac6d2ba6954537ab inherit pro_attribs_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a90067b3dda8f3a2746998f2592f98bee inherit pro_attribs_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="class_control_qubit_info.html">ControlQubitInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a90067b3dda8f3a2746998f2592f98bee">_control_qubit_list</a></td></tr>
<tr class="separator:a90067b3dda8f3a2746998f2592f98bee inherit pro_attribs_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a683c2ec6139eadf6ca52913d50afab4d inherit pro_attribs_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">UINT </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#a683c2ec6139eadf6ca52913d50afab4d">_gate_property</a> =0</td></tr>
<tr class="separator:a683c2ec6139eadf6ca52913d50afab4d inherit pro_attribs_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acaa8ca1cac1feea3e9eec36b0a019748 inherit pro_attribs_class_quantum_gate_base"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quantum_gate_base.html#acaa8ca1cac1feea3e9eec36b0a019748">_name</a> ="Generic gate"</td></tr>
<tr class="separator:acaa8ca1cac1feea3e9eec36b0a019748 inherit pro_attribs_class_quantum_gate_base"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>量子状態を、別の量子状態に対して反射するゲートのクラス </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a2a709cd841dc60450140f4b36f9e5bd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a709cd841dc60450140f4b36f9e5bd4">◆ </a></span>ClsStateReflectionGate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ClsStateReflectionGate::ClsStateReflectionGate </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_quantum_state_base.html">QuantumStateBase</a> * </td>
<td class="paramname"><em>_reflection_state</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afb4b7d803945431dd4cbdb6dcd36b7d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb4b7d803945431dd4cbdb6dcd36b7d3">◆ </a></span>~ClsStateReflectionGate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual ClsStateReflectionGate::~ClsStateReflectionGate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a81f90425748639e26615e95d150e6ddc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81f90425748639e26615e95d150e6ddc">◆ </a></span>copy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="class_quantum_gate_base.html">QuantumGateBase</a>* ClsStateReflectionGate::copy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>自身のディープコピーを生成する</p>
<dl class="section return"><dt>Returns</dt><dd>自身のディープコピー </dd></dl>
<p>Implements <a class="el" href="class_quantum_gate_base.html#a5af599d13f1ed0001d088cde01e0b274">QuantumGateBase</a>.</p>
</div>
</div>
<a id="a633c24fb08928d5a299953384271ddb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a633c24fb08928d5a299953384271ddb7">◆ </a></span>set_matrix()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void ClsStateReflectionGate::set_matrix </td>
<td>(</td>
<td class="paramtype"><a class="el" href="type_8hpp.html#a7735902f9834765a562309c40bffbdf2">ComplexMatrix</a> & </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>自身のゲート行列をセットする</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">matrix</td><td>行列をセットする変数の参照 </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="class_quantum_gate_base.html#af2e07a9ea2a8bf5f4c405838d9deb6fe">QuantumGateBase</a>.</p>
</div>
</div>
<a id="a357c594213d8ae9e7c50306c676a83d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a357c594213d8ae9e7c50306c676a83d5">◆ </a></span>update_quantum_state()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void ClsStateReflectionGate::update_quantum_state </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_quantum_state_base.html">QuantumStateBase</a> * </td>
<td class="paramname"><em>state</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>量子状態を更新する</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>更新する量子状態 </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="class_quantum_gate_base.html#acb5d75397ef1ed4ce1236b821c451d22">QuantumGateBase</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/Users/yibe/repos/qulacs/qulacs/src/cppsim/<a class="el" href="gate__reflect_8hpp_source.html">gate_reflect.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
<hr class="footer"/><address class="footer">
<div class="container">
Supported by <a href="http://www.qunasys.com">
<img class="footer" width="100px" src="images/logo-c-h.png" alt="doxygen"/>
</a></div>
</address>
</body>
</html>