quest-rs 0.2.8

Safe Rust wrapper around the Quantum Exact Simulation Toolkit (QuEST)
<!-- 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.17"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>QuEST: Complex Struct Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="style.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand"><img alt="Logo" src="logo.png"/></a>
                    <a class="navbar-brand"><b>QuEST</b> v3.1.0<br>The Quantum Exact Simulation Toolkit</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.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">Complex Struct Reference<div class="ingroups"><a class="el" href="group__type.html">Data structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents one complex number.  
 <a href="structComplex.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="QuEST_8h_source.html">QuEST.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a84f5439aad0ef495efdd3b4c1c02d27e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structComplex.html#a84f5439aad0ef495efdd3b4c1c02d27e">imag</a></td></tr>
<tr class="separator:a84f5439aad0ef495efdd3b4c1c02d27e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5b2e2eca02131fc74b289a83636cbe3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structComplex.html#ab5b2e2eca02131fc74b289a83636cbe3">real</a></td></tr>
<tr class="separator:ab5b2e2eca02131fc74b289a83636cbe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents one complex number. </p>
<dl class="section author"><dt>Author</dt><dd>Ania Brown </dd></dl>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00103">103</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a84f5439aad0ef495efdd3b4c1c02d27e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84f5439aad0ef495efdd3b4c1c02d27e">&#9670;&nbsp;</a></span>imag</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> Complex::imag</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00106">106</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST_8c_source.html#l00697">getAmp()</a>, <a class="el" href="QuEST__common_8c_source.html#l00135">getComplexPairAndPhaseFromUnitary()</a>, <a class="el" href="QuEST__common_8c_source.html#l00113">getComplexPairFromRotation()</a>, <a class="el" href="QuEST__common_8c_source.html#l00084">getConjugateScalar()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00258">getRotAngle()</a>, <a class="el" href="QuEST__common_8c_source.html#l00123">getZYZRotAnglesFromComplexPair()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00158">isComplexPairUnitary()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00150">isComplexUnit()</a>, <a class="el" href="QuEST__common_8c_source.html#l00376">statevec_calcFidelity()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00035">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01070">statevec_calcInnerProductLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01969">statevec_compactUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00667">statevec_compactUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01656">statevec_compactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02285">statevec_controlledCompactUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00730">statevec_controlledCompactUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02069">statevec_controlledCompactUnitaryLocal()</a>, <a class="el" href="QuEST__common_8c_source.html#l00333">statevec_controlledRotateAroundAxisConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02347">statevec_controlledUnitaryDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02413">statevec_multiControlledUnitaryDistributed()</a>, <a class="el" href="QuEST__common_8c_source.html#l00410">statevec_multiRotatePauli()</a>, <a class="el" href="QuEST__common_8c_source.html#l00257">statevec_pauliZ()</a>, <a class="el" href="QuEST__common_8c_source.html#l00250">statevec_phaseShift()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02940">statevec_phaseShiftByTerm()</a>, <a class="el" href="QuEST__common_8c_source.html#l00317">statevec_rotateAroundAxisConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03579">statevec_setWeightedQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02818">statevec_setWeightedQuregKernel()</a>, <a class="el" href="QuEST__common_8c_source.html#l00264">statevec_sGate()</a>, <a class="el" href="QuEST__common_8c_source.html#l00278">statevec_sGateConj()</a>, <a class="el" href="QuEST__common_8c_source.html#l00271">statevec_tGate()</a>, <a class="el" href="QuEST__common_8c_source.html#l00285">statevec_tGateConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02024">statevec_unitaryDistributed()</a>, <a class="el" href="test__calculations_8cpp_source.html#l00641">TEST_CASE()</a>, and <a class="el" href="utilities_8cpp_source.html#l00853">toQMatrix()</a>.</p>

</div>
</div>
<a id="ab5b2e2eca02131fc74b289a83636cbe3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5b2e2eca02131fc74b289a83636cbe3">&#9670;&nbsp;</a></span>real</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> Complex::real</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00105">105</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST_8c_source.html#l00697">getAmp()</a>, <a class="el" href="QuEST__common_8c_source.html#l00135">getComplexPairAndPhaseFromUnitary()</a>, <a class="el" href="QuEST__common_8c_source.html#l00113">getComplexPairFromRotation()</a>, <a class="el" href="QuEST__common_8c_source.html#l00084">getConjugateScalar()</a>, <a class="el" href="QuEST_8c_source.html#l00707">getDensityAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00258">getRotAngle()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00283">getRotAngleFromUnitaryMatrix()</a>, <a class="el" href="QuEST__common_8c_source.html#l00123">getZYZRotAnglesFromComplexPair()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00158">isComplexPairUnitary()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00150">isComplexUnit()</a>, <a class="el" href="QuEST__common_8c_source.html#l00493">statevec_applyPauliSum()</a>, <a class="el" href="QuEST__common_8c_source.html#l00464">statevec_calcExpecPauliProd()</a>, <a class="el" href="QuEST__common_8c_source.html#l00376">statevec_calcFidelity()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00035">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01070">statevec_calcInnerProductLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01969">statevec_compactUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00667">statevec_compactUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01656">statevec_compactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02285">statevec_controlledCompactUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00730">statevec_controlledCompactUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02069">statevec_controlledCompactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02347">statevec_controlledUnitaryDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02413">statevec_multiControlledUnitaryDistributed()</a>, <a class="el" href="QuEST__common_8c_source.html#l00410">statevec_multiRotatePauli()</a>, <a class="el" href="QuEST__common_8c_source.html#l00257">statevec_pauliZ()</a>, <a class="el" href="QuEST__common_8c_source.html#l00250">statevec_phaseShift()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02940">statevec_phaseShiftByTerm()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03579">statevec_setWeightedQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02818">statevec_setWeightedQuregKernel()</a>, <a class="el" href="QuEST__common_8c_source.html#l00264">statevec_sGate()</a>, <a class="el" href="QuEST__common_8c_source.html#l00278">statevec_sGateConj()</a>, <a class="el" href="QuEST__common_8c_source.html#l00271">statevec_tGate()</a>, <a class="el" href="QuEST__common_8c_source.html#l00285">statevec_tGateConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02024">statevec_unitaryDistributed()</a>, <a class="el" href="test__calculations_8cpp_source.html#l00641">TEST_CASE()</a>, and <a class="el" href="utilities_8cpp_source.html#l00853">toQMatrix()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="QuEST_8h_source.html">QuEST.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
</body>
        <script type="text/javascript" src="boot.js"></script>
</html>