量子信息与量子计算

On Aug 13, 2020, AWS announced the General Availability of Amazon Braket. Braket is their fully managed quantum computing service. It is available on an on-demand basis, much like SageMaker. That means the everyday developer and data scientist can tinker around and kick the tires.

2020年8月13日, AWS宣布了Amazon Braket的全面可用性。 Braket是其完全托管的量子计算服务。 它像SageMaker一样按需提供。 这意味着每天的开发人员和数据科学家都可以修补和踢轮胎。

I wanted to take a look at the Braket Console and see how intuitive the experience was. Ease of use and friendly UI is crucial to me. I am a novice in the area of quantum computing, so I have much to learn. The introductory notebooks available make learning the basics easy. The very basics, I should say. The science behind the magic gets quite complicated, but it is interesting.

我想看一下Braket Console,看看这种体验有多直观。 易于使用和友好的用户界面对我至关重要。 我是量子计算领域的新手,因此我要学习很多东西。 可用的入门笔记本使学习基础变得容易。 我应该说非常基本的东西。 魔术背后的科学变得相当复杂,但这很有趣。

成本 (Cost)

My first order of business was to check out the cost. When I played around with some SageMaker projects, my AWS budget alarm kicked off early. I don’t want any $100 surprises, and I’m sure you don’t either. From what I gather, the cost is broken down differently in four areas. The notebooks are based on SageMaker pricing and billed as such. The larger your instance, the more it costs. The AWS Simulator runs at $4.50 an hour. The Quantum devices run at their own per ‘shot’ basis. And finally, you do send the output to S3, so there is a nominal storage fee. I was cautious to check my billing during this process. I knew I was running a tiny sample so that the costs would be low — less than $1.00. In the end, it cost me 23 cents.

我的第一笔生意是检查费用。 当我处理一些SageMaker项目时,我的AWS预算警报很早就开始了。 我不希望有$ 100的惊喜,而且我相信您也不会。 根据我的收集,成本在四个方面进行了不同的细分。 这些笔记本基于SageMaker的定价,并以此计费。 您的实例越大,成本就越高。 AWS模拟器每小时收费4.50美元。 Quantum器件以“发射”为基础独立运行。 最后,您确实将输出发送到S3,因此需要支付少量的存储费。 在此过程中,我非常谨慎地检查帐单。 我知道我正在运行一个很小的样本,因此成本较低-不到1.00美元。 最后,它花了我23美分。

23 cents to run on this geek eye candy? Not bad.

这款极客型眼糖果的价格为23美分? 不错。

准备 (Prep)

All of the information below assumes you have an AWS account set up, including billing. If you are setting up your account for the first time, there are some free tier options, though not for quantum devices.

以下所有信息均假设您已设置AWS账户(包括账单)。 如果您是第一次设置帐户,则有一些免费套餐选项 ,但不适用于量子设备。

Once you have an account, you’ll need to name an S3 bucket for your output. Other than that, you’re ready to go.

拥有帐户后,您需要为输出命名一个S3存储桶。 除此之外,您已经准备好了。

运行示例 (Running the example)

Sometimes jumping into the code is the best way to learn how the hardware works. Hands-on tutorials can be hard to find at this early stage. I started with the AWS blog itself. It has a step-by-step guide with screenprints.

有时,跳入代码是学习硬件工作方式的最佳方法。 在此早期阶段很难找到动手教程。 我从AWS博客本身开始。 它具有有关屏幕截图的分步指南。

https://awsfeed.com/whats-new/aws/amazon-braket-go-hands-on-with-quantum-computing

https://awsfeed.com/whats-new/aws/amazon-braket-go-hands-on-with-quantum-computing

It’s pretty straight forward in regards to running the sample notebooks.

就运行示例笔记本而言,这非常简单。

I only had one small hiccup; I overlooked updating the S3 bucket variable. If you don’t update this value with the S3 bucket of your choosing, you will get this error:

我只有一个小小的打ic。 我忽略了更新S3存储桶变量。 如果不使用您选择的S3存储桶更新此值,则会出现以下错误:

“ValidationException: An error occurred (ValidationException) when calling the CreateQuantumTask operation: Caller doesn’t have access to amazon-braket-<##########> or it doesn’t exist.”

If you want to run a quick test to be sure you have all of your configurations correct, below is a simple single-cell script. Based on the SuperDense example, it covers using a local simulator (that comes with the SDK), the AWS simulator, and the one quantum device (ionQ) that was available in my region at the time of my test.

如果要运行快速测试以确保所有配置正确,下面是一个简单的单单元脚本。 基于SuperDense示例,它涵盖了使用本地模拟器(SDK附带),AWS模拟器以及测试时在我所在地区可用的一个量子设备( ionQ )。

# !pip show amazon-braket-sdk | grep Version# Import Braket librariesfrom braket.circuits import Circuit, Gate, Momentsfrom braket.circuits.instruction import Instructionfrom braket.aws import AwsDeviceimport matplotlib.pyplot as pltimport boto3import timefrom braket.devices import LocalSimulator# Please enter the S3 bucket you created during onboarding in the code below,# or create a new bucket named as ‘amazon-braket-<your account number>’ to run the below code without changes.aws_account_id = boto3.client(“sts”).get_caller_identity()[“Account”]my_bucket = f”amazon-braket-{aws_account_id}” # the name of the bucketmy_prefix = “simulation-output” # the name of the folder in the buckets3_folder = (my_bucket, my_prefix)# Run local simulatordevice = LocalSimulator()bell = Circuit().h(0).cnot(0, 1)print(bell)print(‘local simulator results: ‘ + str(device.run(bell, shots=100).result().measurement_counts))# Run AWS simulatordevice = AwsDevice(“arn:aws:braket:::device/quantum-simulator/amazon/sv1”)bell = Circuit().h(0).cnot(0, 1)print(‘aws simulator results: ‘)get_result(device, bell, s3_folder)

My output:

我的输出:

image by author
图片作者

支架示例笔记本 (Braket Example Notebooks)

Advanced Circuits Algorithms

先进电路算法

  • Grover’s quantum algorithm格罗弗的量子算法
  • Quantum Amplitude Amplification (QAA)量子振幅放大(QAA)
  • Quantum Fourier Transform (QFT)量子傅立叶变换(QFT)
  • Quantum Phase Estimation (QPE)量子相位估计(QPE)

Hybrid Quantum Algorithms

混合量子算法

  • Quantum Approximate Optimization Algorithm (QAOA)量子近似优化算法(QAOA)
  • Transverse Ising Model with Variational Quantum Eigenvalue Solver (VQE)具有变分量子特征值求解器(VQE)的横向Ising模型

Quantum Annealing

量子退火

  • Anatomy of Quantum Annealing with D-WaveD波的量子退火解剖
  • D-Wave Graph Partitioning — Quadratic Unconstrained Binary Optimization (QUBO)D波图分区—二次无约束二进制优化(QUBO)
  • D-Wave Maximum Cut Problem (MaxCut)D波最大切割问题(MaxCut)
  • D-Wave Minimum Vertex Cover ProblemD波最小顶点覆盖问题

Simple Circuits Algorithms +++ start here

简单电路算法+++从这里开始

  • Anatomy of quantum circuits量子电路的解剖
  • Backend Devices — GHZ state Preparation后端设备-GHZ状态准备
  • Backend Devices — Bell state Preparation后端设备-响铃状态准备
  • Superdense Coding超密编码

总体 (Overall)

I was pleased to see such detailed and educational notebooks right within the notebook instance. These are not entry-level concepts, but break down the workflow nicely. It is a good intro to the platform. Above, I have listed the different folders of examples provided. I’d recommend starting with the Simple Circuit Algorithms. The instructions walk you through the building of the circuit. The circuit visualization options aren’t as nice as some other platforms, but I imagine this will improve over time. AWS is known for getting the meat of the product to market then adding in the friendlier features in subsequent releases. The price is right, so give it a try.

我很高兴在笔记本实例中看到如此详细且具有教育意义的笔记本。 这些不是入门级的概念,但可以很好地分解工作流程。 这是该平台的一个很好的介绍。 上面,我列出了提供的示例的不同文件夹。 我建议从简单电路算法开始。 这些说明将引导您完成电路的构建。 电路可视化选项不如其他平台好,但我认为随着时间的推移,这种情况会有所改善。 AWS以将产品推向市场然后在后续版本中添加更友好的功能而闻名。 价格合适,请尝试一下。

与往常一样-记住停止并删除您的笔记本实例。 (As always — remember to stop and delete your notebook instances.)

image by author
图片作者

翻译自: https://towardsdatascience.com/quantum-computing-for-23-cents-917e1f664cea

量子信息与量子计算


http://www.taodudu.cc/news/show-997378.html

相关文章:

  • 失物招领php_新奥尔良圣徒队是否增加了失物招领?
  • 客户细分模型_Avarto金融解决方案的客户细分和监督学习模型
  • 梯度反传_反事实政策梯度解释
  • facebook.com_如何降低电子商务的Facebook CPM
  • 西格尔零点猜想_我从埃里克·西格尔学到的东西
  • 深度学习算法和机器学习算法_啊哈! 4种流行的机器学习算法的片刻
  • 统计信息在数据库中的作用_统计在行业中的作用
  • 怎么评价两组数据是否接近_接近组数据(组间)
  • power bi 中计算_Power BI中的期间比较
  • matplotlib布局_Matplotlib多列,行跨度布局
  • 回归分析_回归
  • 线性回归算法数学原理_线性回归算法-非数学家的高级数学
  • Streamlit —使用数据应用程序更好地测试模型
  • lasso回归和岭回归_如何计划新产品和服务机会的回归
  • 贝叶斯 定理_贝叶斯定理实际上是一个直观的分数
  • 文本数据可视化_如何使用TextHero快速预处理和可视化文本数据
  • 真实感人故事_您的数据可以告诉您真实故事吗?
  • k均值算法 二分k均值算法_使用K均值对加勒比珊瑚礁进行分类
  • 衡量试卷难度信度_我们可以通过数字来衡量语言难度吗?
  • 视图可视化 后台_如何在单视图中可视化复杂的多层主题
  • python边玩边学_边听边学数据科学
  • 边缘计算 ai_在边缘探索AI!
  • 如何建立搜索引擎_如何建立搜寻引擎
  • github代码_GitHub启动代码空间
  • 腾讯哈勃_用Python的黑客统计资料重新审视哈勃定律
  • 如何使用Picterra的地理空间平台分析卫星图像
  • hopper_如何利用卫星收集的遥感数据轻松对蚱hopper中的站点进行建模
  • 华为开源构建工具_为什么我构建了用于大数据测试和质量控制的开源工具
  • 数据科学项目_完整的数据科学组合项目
  • uni-app清理缓存数据_数据清理-从哪里开始?

量子信息与量子计算_量子计算为23美分。相关推荐

  1. 量子计算与量子信息之Grover算法的量子电路实现

    量子计算与量子信息之Grover算法的量子电路实现 文章目录 量子计算与量子信息之Grover算法的量子电路实现 一.简介 二.电路的逻辑示意图 即使你并没有完全掌握量子计算的基本内容,仍然可以看懂这 ...

  2. 活跃用户数怎么计算_留存率计算

    数据源:来自猴子老师的留存率分析教程 链家面试题:如何分析留存率?​mp.weixin.qq.com [面试题] 手机中的相机是深受大家喜爱的应用之一,下图是某手机厂商数据库中的用户行为信息表中部分数 ...

  3. 楼板的弹性计算和塑形计算_双向板计算的弹性算法和塑性算法

    2011年01月17日 13:23:34 2楼 以下是TSSD计算过程 LB-1矩形板计算 一.构件编号: LB-1 二.示意图 三.依据规范 <建筑结构荷载规范> GB50009-200 ...

  4. 主梁弹性模量计算_弹性模量计算

    (KN) (KN) 1 150 3 mm 2 2 150 3 (mm) 3 150 3 组值 (3) 弹性模量试验前轴心抗压强度试验 弹性模量试验前轴心抗 压强度fcp(MPa) 初始荷载F 0 = ...

  5. 含根式的定积分计算_定积分计算详细步骤

    首先分析积分区间是否关于原点对称,其次考虑被积函数是否具有周期性,再次考察被积函数是否可以转换为"反对幂指三"五类基本函数中两个类型函数的乘积,或者是否包含有正整数n参数,或者包含 ...

  6. th themlefy 计算_航程计算的数学模型

    2001 年 1 月 数学的实践与认识 M A TH EM A T I CS I N PRA CT I CE AND TH EO R Y V o l 1 31 N o 1 1 Jan . 2001 A ...

  7. 旋流式沉砂池计算_沉砂池计算

    3.4 旋流式沉砂池设计计算 3.4.1 设计参数 1 .设计参数的确定满足一下规范 GB50014-2006 6.4.4 旋流沉砂池的设计,应符合下列要求: 1 最高时流量的停留时间不应小于 30s ...

  8. 选择physx处理器 gpu 计算 matlab 计算_边缘计算服务器,迎接边缘计算

    随着5G时代的来临,实时.智能.安全.隐私这四大趋势催生了边缘计算与端智能的崛起.5G通信的超低时延与高可靠要求,使得边缘计算成为必然选择. 据IDC预测,到2020年将有超过500亿的终端与设备联网 ...

  9. 主梁弹性模量计算_简支梁计算示例.doc

    简支梁计算示例 1.一座五梁式装配钢筋砼简支梁桥的主梁和横隔梁截面如下图1.图2所示,主梁长19.96m,计算跨径19.5m,主梁翼缘板刚性连接.的弹性模量,跨中截面惯性矩,跨中单位长度质量,试计算5 ...

最新文章

  1. 解决element 照片墙上传时回显问题
  2. python怎么写csv文件_python怎么写csv文件
  3. 有线同步--ASP007
  4. python之itemgetter函数:对字典列表进行多键排序
  5. 十大排序算法之插入排序
  6. 【VS开发】【C++语言】reshuffle的容器实现算法random_shuffle()的使用
  7. AD-查找符合指定条件的用户Get-User
  8. java的jsp要下载吗_jsp、java下载附件
  9. 就业技术书文件表格_429页标准指南,教你如何管理工程监理文件资料,丰富图表一看就会...
  10. 【147天】尚学堂高淇Java300集视频精华笔记(108-109)
  11. 飞鸽传书不能用?这里列出所有解决方法!
  12. android 系统应用在运行时被卸载
  13. 【带权并查集经典例题】银河英雄传说【同POJ 1988 cube stacking】
  14. Opencv之疲劳检测
  15. 微积分:如何理解多元函数可微和全微分?
  16. 语音识别软件_语音识别 软件_日语语音识别软件 - 云+社区 - 腾讯云
  17. Linux系统备份及迁移到新硬盘
  18. FLANN C++ 使用
  19. 字节跳动,正在动摇腾讯的根基
  20. 诈骗又出新套路,微信借钱语音确认仍被骗

热门文章

  1. python 的笔记
  2. #191 sea(动态规划)
  3. 8597 石子划分问题 dpdp,只考虑第一次即可
  4. POJ2104 (平方分割)二分查找理解。
  5. openstack服务编排
  6. 主成分分析(PCA)原理详解 2016/12/17 · IT技术 · 主成分分析, 数学 分享到: 21 原文出处: 中科春哥 一、PCA简介 1. 相关背景 主成分分析(Principa
  7. 机器学习12推荐系统
  8. 您的网卡配置暂不支持1000M宽带说明
  9. Android源码解析--SwipeMenuListView仿QQ聊天左滑
  10. PostgreSQL学习手册(二) 模式(Schema)