Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-ndmmz Total loading time: 0 Render date: 2024-06-07T22:11:00.787Z Has data issue: false hasContentIssue false

2 - General features and some simple examples

Published online by Cambridge University Press:  05 June 2012

N. David Mermin
Affiliation:
Cornell University, New York
Get access

Summary

The general computational process

A suitably programmed quantum computer should act on a number x to produce another number f(x) for some specified function f. Appropriately interpreted, with an accuracy that increases with increasing k, we can treat such numbers as non-negative integers less than 2k. Each integer is represented in the quantum computer by the corresponding computational-basis state of k Qbits.

If we specify the numbers x as n-bit integers and the numbers f(x) as m-bit integers, then we shall need at least n + m Qbits: a set of n-Qbits, called the input register, to represent x, and another set of m-Qbits, called the output register, to represent f(x). Qbits being a scarce commodity, you might wonder why we need separate registers for input and output. One important reason is that if f(x) assigns the same value to different values of x, as many interesting functions do, then the computation cannot be inverted if its only effect is to transform the contents of a single register from x to f(x). Having separate registers for input and output is standard practice in the classical theory of reversible computation. Since quantum computers must operate reversibly to perform their magic (except for measurement gates), they are generally designed to operate with both input and output registers. We shall find that this dual-register architecture can also be usefully exploited by a quantum computer in some strikingly nonclassical ways.

Type
Chapter
Information
Quantum Computer Science
An Introduction
, pp. 36 - 62
Publisher: Cambridge University Press
Print publication year: 2007

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×