intel-qs/docs/html/permute_8hpp.html

219 lines
12 KiB
HTML

<!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="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Intel qHiPSTER: qureg/permute.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<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">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Intel qHiPSTER
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><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="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_4ab131b591b993d07872bcc398a0ac1c.html">qureg</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">permute.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="utils_8hpp_source.html">util/utils.hpp</a>&quot;</code><br />
<code>#include &lt;numeric&gt;</code><br />
<code>#include &lt;map&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &quot;<a class="el" href="conversion_8hpp_source.html">util/conversion.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for permute.hpp:</div>
<div class="dyncontent">
<div class="center"><img src="permute_8hpp__incl.png" border="0" usemap="#qureg_2permute_8hpp" alt=""/></div>
<map name="qureg_2permute_8hpp" id="qureg_2permute_8hpp">
<area shape="rect" id="node2" href="utils_8hpp.html" title="util/utils.hpp" alt="" coords="791,80,883,107"/>
<area shape="rect" id="node20" href="conversion_8hpp.html" title="util/conversion.hpp" alt="" coords="1258,80,1389,107"/>
<area shape="rect" id="node3" href="mpi_8hpp.html" title="util/mpi.hpp" alt="" coords="261,155,351,181"/>
<area shape="rect" id="node4" href="openmp__affinity__noomp_8hpp.html" title="openmp_affinity_noomp.hpp" alt="" coords="5,229,191,256"/>
<area shape="rect" id="node5" href="openmp__affinity__v1_8hpp.html" title="openmp_affinity_v1.hpp" alt="" coords="25,304,185,331"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="permute_8hpp__dep__incl.png" border="0" usemap="#qureg_2permute_8hppdep" alt=""/></div>
<map name="qureg_2permute_8hppdep" id="qureg_2permute_8hppdep">
<area shape="rect" id="node2" href="qureg_8hpp.html" title="qureg/qureg.hpp" alt="" coords="1115,80,1229,107"/>
<area shape="rect" id="node3" href="interface__api__memory_8cpp.html" title="interface/interface\l_api_memory.cpp" alt="" coords="119,155,246,196"/>
<area shape="rect" id="node4" href="interface__api__qasm_8cpp.html" title="interface/interface\l_api_qasm.cpp" alt="" coords="270,155,397,196"/>
<area shape="rect" id="node5" href="qhipster__interface__main_8cpp.html" title="interface/qhipster\l_interface_main.cpp" alt="" coords="421,155,560,196"/>
<area shape="rect" id="node6" href="highperfkernels_8hpp.html" title="qureg/highperfkernels.hpp" alt="" coords="736,162,907,189"/>
<area shape="rect" id="node8" href="qureg__apply1qubitgate_8cpp.html" title="Define the QbitRegister methods corresponding to the application of single&#45;qubit gates. " alt="" coords="5,244,219,271"/>
<area shape="rect" id="node9" href="qureg__apply2qubitgate_8cpp.html" title="qureg/qureg_apply2qubitgate.cpp" alt="" coords="243,244,456,271"/>
<area shape="rect" id="node10" href="qureg__applyctrl1qubitgate_8cpp.html" title="qureg/qureg_applyctrl1qubitgate.cpp" alt="" coords="481,244,711,271"/>
<area shape="rect" id="node11" href="qureg__applydiag_8cpp.html" title="qureg/qureg_applydiag.cpp" alt="" coords="931,244,1109,271"/>
<area shape="rect" id="node12" href="qureg__applyswap_8cpp.html" title="qureg/qureg_applyswap.cpp" alt="" coords="1133,244,1317,271"/>
<area shape="rect" id="node13" href="qureg__applytoffoli_8cpp.html" title="qureg/qureg_applytoffoli.cpp" alt="" coords="1342,244,1527,271"/>
<area shape="rect" id="node14" href="qureg__expectval_8cpp.html" title="Define the QbitRegister methods related to expectation values of Pauli strings. " alt="" coords="1083,162,1261,189"/>
<area shape="rect" id="node15" href="qureg__fusion_8cpp.html" title="qureg/qureg_fusion.cpp" alt="" coords="1285,162,1443,189"/>
<area shape="rect" id="node16" href="qureg__init_8cpp.html" title="qureg/qureg_init.cpp" alt="" coords="1467,162,1605,189"/>
<area shape="rect" id="node17" href="qureg__measure_8cpp.html" title="Define the QbitRegister methods related to measurement operations. " alt="" coords="1630,162,1802,189"/>
<area shape="rect" id="node18" href="qureg__permute_8cpp.html" title="qureg/qureg_permute.cpp" alt="" coords="1826,162,1995,189"/>
<area shape="rect" id="node19" href="qureg__utils_8cpp.html" title="Define the QbitRegister methods used as basic operations. " alt="" coords="2020,162,2167,189"/>
<area shape="rect" id="node20" href="benchgates_8cpp.html" title="tests/benchgates.cpp" alt="" coords="2191,162,2337,189"/>
<area shape="rect" id="node21" href="expect__value__test_8cpp.html" title="tests/expect_value\l_test.cpp" alt="" coords="2362,155,2494,196"/>
<area shape="rect" id="node22" href="noisy__circuit__test_8cpp.html" title="tests/noisy_circuit\l_test.cpp" alt="" coords="2519,155,2647,196"/>
<area shape="rect" id="node23" href="qft__test_8cpp.html" title="tests/qft_test.cpp" alt="" coords="2671,162,2795,189"/>
<area shape="rect" id="node24" href="testgates_8cpp.html" title="tests/testgates.cpp" alt="" coords="2819,162,2954,189"/>
<area shape="rect" id="node7" href="highperfkernels_8cpp.html" title="qureg/highperfkernels.cpp" alt="" coords="736,244,907,271"/>
</map>
</div>
</div>
<p><a href="permute_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPermutation.html">Permutation</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab3047a6fb581a0df5536bb1af5c9efa4"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permute_8hpp.html#ab3047a6fb581a0df5536bb1af5c9efa4">perm</a> (std::size_t v, std::size_t *map, std::size_t nqbits)</td></tr>
<tr class="separator:ab3047a6fb581a0df5536bb1af5c9efa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ab3047a6fb581a0df5536bb1af5c9efa4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::size_t perm </td>
<td>(</td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>v</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t *&#160;</td>
<td class="paramname"><em>map</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>nqbits</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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">
<p>Definition at line <a class="el" href="permute_8hpp_source.html#l00024">24</a> of file <a class="el" href="permute_8hpp_source.html">permute.hpp</a>.</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="permute_8hpp_ab3047a6fb581a0df5536bb1af5c9efa4_icgraph.png" border="0" usemap="#permute_8hpp_ab3047a6fb581a0df5536bb1af5c9efa4_icgraph" alt=""/></div>
<map name="permute_8hpp_ab3047a6fb581a0df5536bb1af5c9efa4_icgraph" id="permute_8hpp_ab3047a6fb581a0df5536bb1af5c9efa4_icgraph">
<area shape="rect" id="node2" href="classPermutation.html#aa2f2a076a21a0f79081394146f8df1b1" title="Permutation::prange" alt="" coords="104,29,243,56"/>
</map>
</div>
</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Nov 6 2017 10:53:55 for Intel qHiPSTER by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>