<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.quanty.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.quanty.org/feed.php">
        <title>Quanty - documentation:language_reference:objects:wavefunction:properties</title>
        <description></description>
        <link>https://www.quanty.org/</link>
        <image rdf:resource="https://www.quanty.org/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-04-29T06:50:24+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/complex?rev=1763608846&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/det?rev=1763608847&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/n?rev=1763608847&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/name?rev=1763608847&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nb?rev=1763608847&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nbitskey?rev=1763608846&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nf?rev=1763608848&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/start?rev=1763608848&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.quanty.org/_media/wiki/dokuwiki.svg">
        <title>Quanty</title>
        <link>https://www.quanty.org/</link>
        <url>https://www.quanty.org/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/complex?rev=1763608846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Complex</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/complex?rev=1763608846&amp;do=diff</link>
        <description>Complex
boolean, read onlyFor a wavefunction psi, psi.Complex returns a boolean (true or false) stating if the wavefunction contains complex numbers or not.
Example
We can define the functions
$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_2 + (1+I)\frac{1}{\sqrt{4}} a^{\dagger}_1 a^{\dagger}_2 \right)|0\rangle,
$$
and 
$$
|\psi\rangle = \left(\frac{1}{\sqrt{2}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{2}} a^{\dagger}_0 a…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/det?rev=1763608847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Det(i)</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/det?rev=1763608847&amp;do=diff</link>
        <description>Det(i)
wavefunction, read onlytakes one argument: i - unsigned integerfor a wavefunction psi psi.Det(i) returns determinant i of psi as a new wavefunction. psi.Det(i) is read only and can not be used to change the value of a determinant.
Example
We can define the function:$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_2 + (1+I)\frac{1}{\sqrt{4}} a^{\dagger}_1 a^{\dagger}_2 \right)|0\rangle.
$$properties index</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/n?rev=1763608847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>N</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/n?rev=1763608847&amp;do=diff</link>
        <description>N
unsigned integer, read onlyreturns the number of determinants saved within the wavefunction.
Example
We can define the function:
$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_2 + (1+I)\frac{1}{\sqrt{4}} a^{\dagger}_1 a^{\dagger}_2 \right)|0\rangle,
$$
which has three determinants and psi.N thus is equal to three.
Input


NF=3
NB=0
psi = NewWavefunction(NF, NB, {{&quot;110&quot;,sqrt(1/4)},{&quot;101&quot;,sqrt(1/4)},{&quot;011&quot;,(1+I)*sqrt(1/4)}})
…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/name?rev=1763608847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Name</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/name?rev=1763608847&amp;do=diff</link>
        <description>Name
string, read and write.A string representing the name of the wavefunction. The name of the wavefunction is printed during print statements and error messages. Note that the name of the wavefunction is not the same as the variable name that stores the wavefunction.$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_2 + (1+I)\frac{1}{\sqrt{4}} a^{\dagger}_1 a^{\dagger}_2 \right)|0\rangle,
$$properties index</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nb?rev=1763608847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NB</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nb?rev=1763608847&amp;do=diff</link>
        <description>NB
unsigned integer, read and writeCurrent version does not suport bosons, i.e. NB must always be 0.An integer representing the number of Bosons in the basis. For wavefunction psi, index 0 to psi.NF-1 refers to Fermions, index psi.NF to psi.NF+O.NB-1$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_2 + (1+I)\frac{1}{\sqrt{4}} a^{\dagger}_1 a^{\dagger}_2 \right)|0\rangle,
$$properties index</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nbitskey?rev=1763608846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NBitsKey</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nbitskey?rev=1763608846&amp;do=diff</link>
        <description>NBitsKey
unsigned integer, read and writeInteger representing the size of the Hash key (size = 2NBitsKey). Wavefunctions are stored in a sparse format. In order to quickly find determinants within the function we use has functions and lookup tables. The size of the lookup table is currently static. This will change in future versions, but for the moment one needs to control this size manually. The larger the key the more memory is needed. If the key is smaller than the total number of determinan…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nf?rev=1763608848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NF</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/nf?rev=1763608848&amp;do=diff</link>
        <description>NF
unsigned integer, read and writeAn integer representing the number of Fermionic modes in the basis. For wavefunction psi, index 0 to psi.NF-1 refers to Fermions, index psi.NF to psi.NF+psi.NB-1 refers to Bosons. Changing this number changes the operator. If the new number of Fermions is smaller than the old number all modes referring to Fermions larger than $$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_1 + \frac{1}{\sqrt{4}} a^{\dagger}_0 a^{\dagger}_2 + (1+I)\frac{1}{\…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/start?rev=1763608848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Properties</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/properties/start?rev=1763608848&amp;do=diff</link>
        <description>Properties
Wavefunctions have several properties, all can be read, some can be set. Note that setting a property to some value might invoke methods that make large changes to the object. For example changing the number of bits in the hash key will rewrite the full key lookup table.properties index</description>
    </item>
</rdf:RDF>
