Error message
- Deprecated function: TYPO3\PharStreamWrapper\Manager::initialize(): Implicitly marking parameter $resolver as nullable is deprecated, the explicit nullable type must be used instead in include_once() (line 19 of includes/file.phar.inc).
- Deprecated function: TYPO3\PharStreamWrapper\Manager::initialize(): Implicitly marking parameter $collection as nullable is deprecated, the explicit nullable type must be used instead in include_once() (line 19 of includes/file.phar.inc).
- Deprecated function: TYPO3\PharStreamWrapper\Manager::__construct(): Implicitly marking parameter $resolver as nullable is deprecated, the explicit nullable type must be used instead in include_once() (line 19 of includes/file.phar.inc).
- Deprecated function: TYPO3\PharStreamWrapper\Manager::__construct(): Implicitly marking parameter $collection as nullable is deprecated, the explicit nullable type must be used instead in include_once() (line 19 of includes/file.phar.inc).
- Deprecated function: UpdateQuery::expression(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: MergeQuery::expression(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: SelectQueryInterface::getArguments(): Implicitly marking parameter $queryPlaceholder as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: SelectQueryInterface::preExecute(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: SelectQueryExtender::getArguments(): Implicitly marking parameter $queryPlaceholder as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: SelectQueryExtender::preExecute(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: SelectQuery::getArguments(): Implicitly marking parameter $queryPlaceholder as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
- Deprecated function: SelectQuery::preExecute(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in require_once() (line 1884 of includes/database/database.inc).
A quantum logic gate is a device which performs a fixed
unitary operation on selected qubits in a fixed period of time. The
gates listed below are common enough to have their own names. The
matrices describing n qubit
gates are written in the computational basis {|x⟩}, where x is a binary string of length n. The diagrams provide schematic
representation of the gates.
Hadamard gate
The Hadamard gate is a common single qubit gate H defined as
Image:Img44.png
The matrix is written in the computational basis {|0⟩,|1⟩} and the diagram on the right
provides a schematic representation of the gate H acting on a qubit in state |x⟩, with x = 0, 1.
Phase gate
The phase shift gate ϕ defined as | 0⟩ ↦ | 0⟩ and | 1⟩ ↦ eiϕ| 1⟩,
or, in matrix notation,
Image:Img59.png
Controlled NOT gate
The controlled-NOT (C-NOT) gate, also known as the XOR or the
measurement gate is one of the most popular two-qubit gate. It flips the
second (target) qubit if the first (control) qubit is | 1⟩ and does nothing if the control qubit is
| 0⟩. The gate is represented by the
unitary matrix
Image:Img76.png
where x, y = 0 or
1 and ⊕ denotes XOR or addition
modulo 2. If we apply the C-NOT to Boolean data in which the target
qubit is |0⟩ and the control is either
|0⟩ or |1⟩ then the effect is to leave the control
unchanged while the target becomes a copy of the control,
i.e.
|x⟩|0⟩ ↦ |x⟩|x⟩ x = 0, 1.
Category:Evolutions
and Operations
Category:Quantum
Computation
Category:Handbook
of Quantum Information
Last modified:
Monday, October 26, 2015 - 17:56