# The Wolfram Quantum Framework: a fast introduction

**URL:** <https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972>\
**Category:** Staff Picks\
**Tags:** physics, wolfram-add-ons, graphics-and-visualization, packages-and-paclets, staff-pick, quantum-computing\
**Created:** [November 1, 2022, 5:35am UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972 "2022-11-01T05:35:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammadb](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mohammadb/32/14729_2.png) [@mohammadb](https://community.wolfram.com/u/mohammadb)\
**Post date:** [November 1, 2022, 5:35am UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972/1 "2022-11-01T05:35:20Z")

</div>

![HeroImage.png](https://global.discourse-cdn.com/wolfram/original/2X/d/db411f97bea0669cf646fd451a06ce5fe427ab68.png)

◔

[DOWNLOAD-DESKTOP-NOTEBOOK.nb](https://community.wolfram.com/uploads/short-url/4PaF8o8YsG80uzZvcG8s3voPoyi.nb) (1.12 MB)

---

<div class="post-metadata">

**Author:** ![wolframcommunity](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/wolframcommunity/32/8335_2.png) [@wolframcommunity](https://community.wolfram.com/u/wolframcommunity)\
**Post date:** [November 1, 2022, 4:10pm UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972/2 "2022-11-01T16:10:49Z")

</div>

![news-congrads-kkluyshnik-02-04-19.jpg](https://global.discourse-cdn.com/wolfram/original/3X/6/a/6a310c2d0904616faf4e6e148260c9f29ab9f4eb.jpeg) – you have earned _ **Featured Contributor Badge** _ ![2015-11-02_10-07-11.png](https://global.discourse-cdn.com/wolfram/original/3X/5/0/50e59c9ead62f729e7130d3ea1482555a75602b6.png)  
Your exceptional post has been selected for our editorial column _ **Staff Picks** _ [http://wolfr.am/StaffPicks](http://wolfr.am/StaffPicks) and [Your Profile](http://community.wolfram.com/web/mohammadb) is now distinguished by a _ **Featured Contributor Badge** _ and is displayed on the [Featured Contributor Board](https://community.wolfram.com/people). Thank you!

---

<div class="post-metadata">

**Author:** ![21636034](https://avatars.discourse-cdn.com/v4/letter/2/7993a0/32.png) [@21636034](https://community.wolfram.com/u/21636034)\
**Post date:** [November 10, 2022, 6:46pm UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972/3 "2022-11-10T18:46:52Z")

</div>

Great work! Is there any example circuit for variational quantum algorithm or variational quantum eigensolver?

---

<div class="post-metadata">

**Author:** ![gladishdean](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/gladishdean/32/11589_2.png) [@gladishdean](https://community.wolfram.com/u/gladishdean)\
**Post date:** [November 13, 2022, 2:23am UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972/4 "2022-11-13T02:23:59Z")

</div>

ListPlot[QuantumMeasurementOperator[{1,2,3,4}][QuantumState[{“RandomPure”,4}]][“Probabilities”],  
MeshFunctions-\>{Log[-Log[1 - #2]]&},Mesh-\>{3},MeshStyle → {Directive[PointSize[Medium]]},Joined → True]

![QuantumMeasurementOperator.png](https://global.discourse-cdn.com/wolfram/original/1X/0bc31189059ccdfbb5118cf732120c19f525f0ac.png)

 ![3748QuantumMeasurementOperator.png](https://global.discourse-cdn.com/wolfram/original/3X/c/c/cc7205bf5ffce0c1e1ddf9722405ed43e20608f7.png)

Phenomenal overview. That is a good question; it depends on how you define example circuit; anyhow there are example circuits for Variational Quantum Algorithms or Variational Quantum Eigensolvers.

---

<div class="post-metadata">

**Author:** ![mohammadb](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mohammadb/32/14729_2.png) [@mohammadb](https://community.wolfram.com/u/mohammadb)\
**Post date:** [November 13, 2022, 6:52am UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972/5 "2022-11-13T06:52:11Z")

</div>

Note you can send queries to a QPU directly from a Wolfram notebook. See below examples

[AWS.nb](https://community.wolfram.com/uploads/short-url/8SbHwqTp2y5CAKklOxiuAhcShSb.nb) (2.32 MB)  
[IBMQ \_OP\_1\_CP\_.nb](https://community.wolfram.com/uploads/short-url/zzzvz11C9oJ30mHzgGrs5tV1xOk.nb) (80.8 KB)  
[QiskitIBMQ \_OP\_1\_CP\_.nb](https://community.wolfram.com/uploads/short-url/fiCvSceKdkC8iROIfy3yOXmJRSM.nb) (741 KB)

---

<div class="post-metadata">

**Author:** ![gladishdean](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/gladishdean/32/11589_2.png) [@gladishdean](https://community.wolfram.com/u/gladishdean)\
**Post date:** [November 15, 2022, 12:05am UTC](https://community.wolfram.com/t/the-wolfram-quantum-framework-a-fast-introduction/20972/6 "2022-11-15T00:05:01Z")

</div>

Mads you’ve got the guided tutorial gift it’s like _The Future of Basic Research_, `ServiceConnect` that begins with Amazon Web Services Connection Authentication mode! `aws = ServiceConnect["AWS"];` is it Automatic or Manual?

```
Dataset @ 
 Normal @ <|{0, 0, 1} -> 23, {1, 0, 1} -> 10, {1, 1, 1} -> 
    23, {0, 0, 0} -> 20, {1, 1, 0} -> 12, {0, 1, 0} -> 2, {1, 0, 0} ->
     8, {0, 1, 1} -> 2|>

```

Welcome to the Simulator device type, `ServiceObject` Manual.

```
devices["Devices", Select[#DeviceType == "SIMULATOR" &]]

```

 ![awsdevicessimulator.png](https://global.discourse-cdn.com/wolfram/original/2X/f/f102ccb327fc6659d56ecf06697bdcfab2eec965.png)
