Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
量子计算机编程:从入门到实践
by
Eric R. Johnston
,
Nicholas Harrigan
,
Mercedes Gimeno-Segovia
July 2021
Beginner to intermediate
274 pages
7h 10m
Chinese
Posts & Telecom Press
Content preview from
量子计算机编程:从入门到实践
34
|
第
3
章
3.2
绘制多量子比特寄存器
我们已经知道如何以圆形表示法用
2
N
个圆来表示
N
个量子比特的情况,但是如何画出多
量子比特电路呢?根据多量子比特的圆形表示法,在长度为
N
的比特串中,每个量子比特
占据一个位置。因此,根据其二进制值来标记每个量子比特就很方便了。
以第
2
章中的随机字节为例。仿照将
8
个传统比特称为
1
字节(
byte
)的叫法,我们将
8
个量子比特称为
1
量子字节(
qubyte
)。此前,我们只是简单地将
8
个量子比特标记为量子
比特
1
、量子比特
2
等。图
3-4
展示了正确标记每个量子比特的电路图。
1
量子字节
图
3-4
:标记量子字节中的量子比特
量子比特的命名
图
3-4
使用诸如
0x1
和
0x2
这样的十六进制数来标记量子比特值。这是用于
十六进制数的标准表示法,我们将在整本书中使用它来表示特定的量子比
特,甚至在量子比特数量很多的情况下也会这样做。
3.3
多量子比特寄存器中的单量子比特运算
既然能够画出多个量子比特的电路图,并用圆形表示法来表示它们,那就开始使用它们
吧!若对多量子比特寄存器应用
NOT
、
HAD
、
PHASE
等单量子比特指令,会如何呢?与单量
子比特运算的唯一区别是,多量子比特运算所用的
算子对
(
operator pair
)专用于该运算所
对应的量子比特。
多个量子比特
|
35
要识别出一个量子比特的算子对 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
JAVASCRIPT之美|聽頂尖程式設計師闡述他們的思維
Anton Kovalyov
Go程序设计语言
艾伦A. A.多诺万, 布莱恩W. 柯尼汉
C++语言导学(原书第2版)
本贾尼 斯特劳斯特鲁普
监控运维实践:原则与策略
Mike Julian
Publisher Resources
ISBN: 9787115566355