<!-- 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: ComplexMatrix2 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&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">ComplexMatrix2 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 a 2x2 matrix of complex numbers.
<a href="structComplexMatrix2.html#details">More...</a></p>
<p><code>#include <<a class="el" href="QuEST_8h_source.html">QuEST.h</a>></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:a3a2b60a9e00ccef054a6de3b9307c1be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structComplexMatrix2.html#a3a2b60a9e00ccef054a6de3b9307c1be">imag</a> [2][2]</td></tr>
<tr class="separator:a3a2b60a9e00ccef054a6de3b9307c1be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ea98d545b67a190ee6abe936c72076f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structComplexMatrix2.html#a3ea98d545b67a190ee6abe936c72076f">real</a> [2][2]</td></tr>
<tr class="separator:a3ea98d545b67a190ee6abe936c72076f"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a 2x2 matrix of complex numbers. </p>
<dl class="section author"><dt>Author</dt><dd>Balint Koczor </dd></dl>
<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00114">114</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a3a2b60a9e00ccef054a6de3b9307c1be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a2b60a9e00ccef054a6de3b9307c1be">◆ </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> ComplexMatrix2::imag[2][2]</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00117">117</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__common_8c_source.html#l00675">densmatr_mixPauli()</a>, <a class="el" href="QuEST__common_8c_source.html#l00135">getComplexPairAndPhaseFromUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00283">getRotAngleFromUnitaryMatrix()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02207">statevec_controlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02140">statevec_multiControlledUnitaryLocal()</a>, and <a class="el" href="QuEST__cpu_8c_source.html#l01900">statevec_unitaryLocal()</a>.</p>
</div>
</div>
<a id="a3ea98d545b67a190ee6abe936c72076f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ea98d545b67a190ee6abe936c72076f">◆ </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> ComplexMatrix2::real[2][2]</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00116">116</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__common_8c_source.html#l00675">densmatr_mixPauli()</a>, <a class="el" href="QuEST__common_8c_source.html#l00135">getComplexPairAndPhaseFromUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00283">getRotAngleFromUnitaryMatrix()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02207">statevec_controlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02140">statevec_multiControlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01900">statevec_unitaryLocal()</a>, and <a class="el" href="test__decoherence_8cpp_source.html#l00520">TEST_CASE()</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>