<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Installation</id>
	<title>Installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Installation"/>
	<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=Installation&amp;action=history"/>
	<updated>2026-04-18T10:36:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://qetlab.com/wiki/index.php?title=Installation&amp;diff=930&amp;oldid=prev</id>
		<title>Rmmateri: /* Step 3: Download and install CVX */</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=Installation&amp;diff=930&amp;oldid=prev"/>
		<updated>2018-07-20T11:20:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Step 3: Download and install CVX&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:20, 20 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot; &gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Step 3: Download and install CVX===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Step 3: Download and install CVX===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:CVX_needed.png|thumb|right|360px|Part of the documentation of the &amp;lt;tt&amp;gt;[[NPAHierarchy]]&amp;lt;/tt&amp;gt; function, showing that this function requires CVX to work.]]While this step is not necessary if you only care about some of QETLAB's most basic functions, it is needed to unlock many of the advanced features of QETLAB. [http://cvxr.com/cvx/ CVX] is a free convex optimization toolbox for MATLAB that is ''heavily'' integrated with QETLAB. Many of QETLAB's advanced functions rely on CVX (if a QETLAB function requires CVX, it will say so at the top-right corner of its [[List_of_functions|documentation page]]), and in general CVX is just handy to have around.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:CVX_needed.png|thumb|right|360px|Part of the documentation of the &amp;lt;tt&amp;gt;[[NPAHierarchy]]&amp;lt;/tt&amp;gt; function, showing that this function requires CVX to work.]]While this step is not necessary if you only care about some of QETLAB's most basic functions, it is needed to unlock many of the advanced features of QETLAB. [http://cvxr.com/cvx/ CVX] is a free convex optimization toolbox for MATLAB that is ''heavily'' integrated with QETLAB. Many of QETLAB's advanced functions rely on CVX (if a QETLAB function requires CVX, it will say so at the top-right corner of its [[List_of_functions|documentation page]]), and in general CVX is just handy to have around.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IMPORTANT NOTE! Currently CVX 2.1 is the stable version and is compatible with QETLAB. USE CVX 3.0b AT YOUR OWN RISK! &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To download and install CVX, follow the '''[http://cvxr.com/cvx/download/ instructions on the CVX website]'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To download and install CVX, follow the '''[http://cvxr.com/cvx/download/ instructions on the CVX website]'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rmmateri</name></author>
	</entry>
	<entry>
		<id>https://qetlab.com/wiki/index.php?title=Installation&amp;diff=725&amp;oldid=prev</id>
		<title>Nathaniel: Created page with &quot;__NOTOC__This page will guide you through '''downloading and installing''' QETLAB. This process should be quick and easy (taking roughly 5 minutes). First try following the in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=Installation&amp;diff=725&amp;oldid=prev"/>
		<updated>2015-01-14T18:08:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__This page will guide you through &amp;#039;&amp;#039;&amp;#039;downloading and installing&amp;#039;&amp;#039;&amp;#039; QETLAB. This process should be quick and easy (taking roughly 5 minutes). First try following the in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__This page will guide you through '''downloading and installing''' QETLAB. This process should be quick and easy (taking roughly 5 minutes). First try following the instructions in the following box. If you do not have any trouble following these instructions and getting everything working, then great! If you need more detailed instructions, continue reading below.&lt;br /&gt;
{{DownloadBox}}&lt;br /&gt;
&lt;br /&gt;
==More detailed instructions==&lt;br /&gt;
Here we will expand on the three steps that we outlined above, in case you have any trouble completing any of them.&lt;br /&gt;
&lt;br /&gt;
===Step 1: Download QETLAB===&lt;br /&gt;
This step is easy enough. Simply download one of the following two files, depending on which operating system you are using.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Windows/Mac&lt;br /&gt;
! Linux&lt;br /&gt;
|-&lt;br /&gt;
| [{{DownloadLink}}.zip QETLAB v{{CurrentVersion}}] (.zip archive)&lt;br /&gt;
| [{{DownloadLink}}.tar.gz QETLAB v{{CurrentVersion}}] (.tar.gz archive)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Step 2: Unzip the file in your MATLAB scripts directory===&lt;br /&gt;
First, extract the .zip or .tar.gz archive (every modern operating system has built-in tools for extracting archives like this) &amp;amp;ndash; this will create a directory called &amp;quot;&amp;lt;tt&amp;gt;QETLAB-{{CurrentVersion}}&amp;lt;/tt&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* If you know where your MATLAB scripts directory is and you are comfortable adding scripts to MATLAB's path, then do so with QETLAB (and its subfolders).&lt;br /&gt;
&lt;br /&gt;
* Otherwise, move the &amp;quot;&amp;lt;tt&amp;gt;QETLAB-{{CurrentVersion}}&amp;lt;/tt&amp;gt;&amp;quot; directory to wherever you want it on your computer (for the sake of these instructions, let's suppose that the directory is now located at &amp;lt;tt&amp;gt;C:\Users\Nathaniel\MyFiles\QETLAB-{{CurrentVersion}}&amp;lt;/tt&amp;gt;). Then, within MATLAB, type the following (replacing the path &amp;lt;tt&amp;gt;C:\Users...&amp;lt;/tt&amp;gt; with whatever the path is on your own computer):&lt;br /&gt;
: &amp;lt;tt&amp;gt;addpath(genpath('C:\Users\Nathaniel\MyFiles\QETLAB-{{CurrentVersion}}'))&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now be able to use some of basic functions of QETLAB. For example, you could try running the following two lines of code, which generate a random density matrix and then check whether or not it has positive partial transpose:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; rho = RandomDensityMatrix(9);&lt;br /&gt;
&amp;gt;&amp;gt; IsPPT(rho)&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
     0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Step 3: Download and install CVX===&lt;br /&gt;
[[File:CVX_needed.png|thumb|right|360px|Part of the documentation of the &amp;lt;tt&amp;gt;[[NPAHierarchy]]&amp;lt;/tt&amp;gt; function, showing that this function requires CVX to work.]]While this step is not necessary if you only care about some of QETLAB's most basic functions, it is needed to unlock many of the advanced features of QETLAB. [http://cvxr.com/cvx/ CVX] is a free convex optimization toolbox for MATLAB that is ''heavily'' integrated with QETLAB. Many of QETLAB's advanced functions rely on CVX (if a QETLAB function requires CVX, it will say so at the top-right corner of its [[List_of_functions|documentation page]]), and in general CVX is just handy to have around.&lt;br /&gt;
&lt;br /&gt;
To download and install CVX, follow the '''[http://cvxr.com/cvx/download/ instructions on the CVX website]'''.&lt;/div&gt;</summary>
		<author><name>Nathaniel</name></author>
	</entry>
</feed>