Translations:Snowflurry/2/en: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Installation == | == Installation == | ||
The quantum computer simulator with [https://github.com/SnowflurrySDK/Snowflurry.jl Snowflurry] is accessible on all of our clusters. The [https://julialang.org/Julia] programming language must be loaded before accessing Snowflurry. | The quantum computer simulator with [https://github.com/SnowflurrySDK/Snowflurry.jl Snowflurry] is accessible on all of our clusters. The [https://julialang.org/ Julia] programming language must be loaded before accessing Snowflurry. | ||
<includeonly> <div class="floatright"> [[File:Question.png|40px|link=https://explainshell.com/explain?cmd={{urlencode:{{{1}}} }}]] </div> <div class="command">{{#tag:syntaxhighlight|{{{prompt|[username@narval ~]$}}} {{{1}}}{{{result|}}}|lang={{{lang|bash}}}}}</div></includeonly><noinclude> | <includeonly> <div class="floatright"> [[File:Question.png|40px|link=https://explainshell.com/explain?cmd={{urlencode:{{{1}}} }}]] </div> <div class="command">{{#tag:syntaxhighlight|{{{prompt|[username@narval ~]$}}} {{{1}}}{{{result|}}}|lang={{{lang|bash}}}}}</div></includeonly><noinclude> | ||
{{Command|module load julia | {{Command|module load julia |
Revision as of 20:48, 30 September 2024
Installation
The quantum computer simulator with Snowflurry is accessible on all of our clusters. The Julia programming language must be loaded before accessing Snowflurry.
[name@server ~]$ module load julia
The Julia programming interface is then called and the Snowflurry quantum library is loaded (about 5-10 minutes) with the commands
[name@server ~]$ julia
julia> import Pkg
julia> Pkg.add(url="https://github.com/SnowflurrySDK/Snowflurry.jl", rev="main")
julia> Pkg.add(url="https://github.com/SnowflurrySDK/SnowflurryPlots.jl", rev="main")
julia> using Snowflurry
Quantum logic gates and commands are described in the Snowflurry documentation.