<?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:methods</title>
        <description></description>
        <link>https://www.quanty.org/</link>
        <image rdf:resource="https://www.quanty.org/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-04-30T22:05:09+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/chop?rev=1763608845&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/conjugate?rev=1763608845&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/normalize?rev=1763608846&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/print?rev=1763608846&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/randomize?rev=1763608845&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/start?rev=1763608845&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/methods/chop?rev=1763608845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Chop</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/chop?rev=1763608845&amp;do=diff</link>
        <description>Chop
Numerics inside a computer is not exact. Quanty represents numbers by doubles, which can store numbers with about 16 digits accuracy. The fact that you only have 16 digits can lead to number-loss and situations where numbers that should be zero are close to zero but not exactly zero. An example in base 10: If you represent $1/3$$0.3333333333333333$$1-3\times0.3333333333333333 = 0.00000000000000001$$\epsilon$$\epsilon = 2.2 \times 10^{−15}$$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\dagge…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/conjugate?rev=1763608845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Conjugate</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/conjugate?rev=1763608845&amp;do=diff</link>
        <description>Conjugate
For a wavefunction psi, the method psi.Conjugate() will change the wavefunction psi to its complex conjugate.
Example
We can define the following 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.
$$
Its conjugate $\psi^*$ can be calculate with the command psi.Conjugate() and is equal to:
$$
|\psi\rangle = \left(\frac{1}{\sqrt{4}} a^{\da…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/normalize?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>Normalize</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/normalize?rev=1763608846&amp;do=diff</link>
        <description>Normalize
for a wavefunction psi the method Normalize() will change the overall prefactor of the wavefunction such that $\langle \psi | \psi \rangle=1$. 
Example
We can define the following function:
$$
|\psi\rangle = \left(a^{\dagger}_0 a^{\dagger}_1 + a^{\dagger}_0 a^{\dagger}_2 + (1+I) a^{\dagger}_1 a^{\dagger}_2 \right)|0\rangle.
$$
after normalization it becomes
$$
|\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)\fr…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/print?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>Print</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/print?rev=1763608846&amp;do=diff</link>
        <description>Print
For a wavefunction psi, psi.Print() prints the wavefunction psi. For small wavefunctions print(psi) is preferred over psi.Print(). psi.Print() is more memory efficient and therefore useful for large wavefunctions. psi.Print() returns nill and prints the wavefunction to standard output. Options can be specified if you want to print to file methods index</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/randomize?rev=1763608845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Randomize</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/randomize?rev=1763608845&amp;do=diff</link>
        <description>Randomize
for a wavefunction psi the method Randomize() will change all prefactors to random numbers. Real functions stay real, complex stay complex. Randomize does not add determinants to the basis.
Example
We can define the following 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.
$$
Randomization will turn $\psi$$$
|\psi\rangle = \left(\alph…</description>
    </item>
    <item rdf:about="https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/start?rev=1763608845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-20T03:20:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Methods</title>
        <link>https://www.quanty.org/documentation/language_reference/objects/wavefunction/methods/start?rev=1763608845&amp;do=diff</link>
        <description>Methods
Wavefunctions can be large objects. We here define some methods that can change the object without the need to make a copy of the object that includes the changes.
Available methods
methods index</description>
    </item>
</rdf:RDF>
