38,789
edits
No edit summary |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
<div class="mw-translate-fuzzy"> | |||
Developed in [https://julialang.org/ Julia] by [https://anyonsys.com/ Anyon Systems], [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] is an open-source quantum computing library to build, simulate and run quantum circuits. A related library called [https://github.com/SnowflurrySDK/SnowflurryPlots.jl/ SnowflurryPlots] shows simulation results in a bar graph. Useful to explore quantum computing, its features are described in the [https://snowflurrysdk.github.io/Snowflurry.jl/dev/index.html documentation] and the [https://github.com/SnowflurrySDK/Snowflurry.jl installation guide is available on the GitHub page]. Like the [[PennyLane/en|PennyLane]] library, Snowflurry can be used to run quantum circuits on the [[MonarQ/en|MonarQ]] quantum computer. | Developed in [https://julialang.org/ Julia] by [https://anyonsys.com/ Anyon Systems], [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] is an open-source quantum computing library to build, simulate and run quantum circuits. A related library called [https://github.com/SnowflurrySDK/SnowflurryPlots.jl/ SnowflurryPlots] shows simulation results in a bar graph. Useful to explore quantum computing, its features are described in the [https://snowflurrysdk.github.io/Snowflurry.jl/dev/index.html documentation] and the [https://github.com/SnowflurrySDK/Snowflurry.jl installation guide is available on the GitHub page]. Like the [[PennyLane/en|PennyLane]] library, Snowflurry can be used to run quantum circuits on the [[MonarQ/en|MonarQ]] quantum computer. | ||
</div> | |||
== Installation == | == Installation == | ||
Line 18: | Line 20: | ||
Quantum logic gates and commands are described in the [https://snowflurrysdk.github.io/Snowflurry.jl/dev/ Snowflurry documentation]. <!--Le simulateur quantique de Snowflurry est appelé avec la commande [https://snowflurrysdk.github.io/Snowflurry.jl/dev/tutorials/basics.html#Circuit-Simulation simulate].--> | Quantum logic gates and commands are described in the [https://snowflurrysdk.github.io/Snowflurry.jl/dev/ Snowflurry documentation]. <!--Le simulateur quantique de Snowflurry est appelé avec la commande [https://snowflurrysdk.github.io/Snowflurry.jl/dev/tutorials/basics.html#Circuit-Simulation simulate].--> | ||
<div class="mw-translate-fuzzy"> | |||
== Use case: Bell states == | == Use case: Bell states == | ||
Bell states are maximally entangled two-qubit states. They are simple examples of two quantum phenomena: superposition and entanglement. The [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] library allows you to construct the first Bell state as follows: | Bell states are maximally entangled two-qubit states. They are simple examples of two quantum phenomena: superposition and entanglement. The [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] library allows you to construct the first Bell state as follows: | ||
Line 27: | Line 30: | ||
julia> push!(circuit,control_x(1,2)); | julia> push!(circuit,control_x(1,2)); | ||
julia> print(circuit) | julia> print(circuit) | ||
</div> | |||
Quantum Circuit Object: | Quantum Circuit Object: | ||
Line 46: | Line 50: | ||
</noinclude> | </noinclude> | ||
<div class="mw-translate-fuzzy"> | |||
The <code>readout</code> operation lets you specify which qubits will be measured. The SnowflurryPlots library and the <code>plot_histogram</code> function allow you to visualize the results. | The <code>readout</code> operation lets you specify which qubits will be measured. The SnowflurryPlots library and the <code>plot_histogram</code> function allow you to visualize the results. | ||
<noinclude> | <noinclude> | ||
Line 55: | Line 60: | ||
</noinclude> | </noinclude> | ||
[[File:Bell Graph.png|thumb|alt=Résultats de 1000 simulations de l'état de Bell.]] | [[File:Bell Graph.png|thumb|alt=Résultats de 1000 simulations de l'état de Bell.]] | ||
</div> |