﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://scholarlywiki.org/index.php?action=history&amp;feed=atom&amp;title=Physics%3AQuantum_Gates_and_circuits</id>
	<title>Physics:Quantum Gates and circuits - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://scholarlywiki.org/index.php?action=history&amp;feed=atom&amp;title=Physics%3AQuantum_Gates_and_circuits"/>
	<link rel="alternate" type="text/html" href="https://scholarlywiki.org/index.php?title=Physics:Quantum_Gates_and_circuits&amp;action=history"/>
	<updated>2026-05-14T04:56:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://scholarlywiki.org/index.php?title=Physics:Quantum_Gates_and_circuits&amp;diff=604&amp;oldid=prev</id>
		<title>imported&gt;WikiHarold: Repair Quantum Collection B backlink template</title>
		<link rel="alternate" type="text/html" href="https://scholarlywiki.org/index.php?title=Physics:Quantum_Gates_and_circuits&amp;diff=604&amp;oldid=prev"/>
		<updated>2026-05-08T19:54:42Z</updated>

		<summary type="html">&lt;p&gt;Repair Quantum Collection B backlink template&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:54, 8 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;WikiHarold</name></author>
	</entry>
	<entry>
		<id>https://scholarlywiki.org/index.php?title=Physics:Quantum_Gates_and_circuits&amp;diff=113&amp;oldid=prev</id>
		<title>imported&gt;WikiHarold: Repair Quantum Collection B backlink template</title>
		<link rel="alternate" type="text/html" href="https://scholarlywiki.org/index.php?title=Physics:Quantum_Gates_and_circuits&amp;diff=113&amp;oldid=prev"/>
		<updated>2026-05-08T19:54:42Z</updated>

		<summary type="html">&lt;p&gt;Repair Quantum Collection B backlink template&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Quantum book backlink|Quantum information and computing}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Quantum gates&amp;#039;&amp;#039;&amp;#039; are the fundamental operations that act on qubits. They are the building blocks of &amp;#039;&amp;#039;&amp;#039;quantum circuits&amp;#039;&amp;#039;&amp;#039;, which define computations in a quantum computer.&amp;lt;ref name=&amp;quot;NielsenChuang2010&amp;quot;&amp;gt;{{cite book |last1=Nielsen |first1=Michael A. |last2=Chuang |first2=Isaac L. |title=Quantum Computation and Quantum Information |publisher=Cambridge University Press |year=2010}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{cite book&lt;br /&gt;
| last = Williams&lt;br /&gt;
| first = Colin P.&lt;br /&gt;
| title = Explorations in Quantum Computing&lt;br /&gt;
| publisher = Springer&lt;br /&gt;
| year = 2011&lt;br /&gt;
| isbn = 978-1-84628-887-6&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Quantum_circuits.jpg|thumb|400px|Example of a quantum circuit composed of quantum gates acting on qubits.]]&lt;br /&gt;
&lt;br /&gt;
== Quantum operations ==&lt;br /&gt;
Quantum states evolve according to unitary transformations:&amp;lt;ref&amp;gt;{{cite journal&lt;br /&gt;
| last = Feynman&lt;br /&gt;
| first = Richard P.&lt;br /&gt;
| title = Quantum mechanical computers&lt;br /&gt;
| journal = Foundations of Physics&lt;br /&gt;
| volume = 16&lt;br /&gt;
| issue = 6&lt;br /&gt;
| pages = 507–531&lt;br /&gt;
| year = 1986&lt;br /&gt;
| doi = 10.1007/bf01886518&lt;br /&gt;
| bibcode = 1986FoPh...16..507F&lt;br /&gt;
| issn = 0015-9018&lt;br /&gt;
| s2cid = 122076550&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|\psi\rangle \rightarrow U |\psi\rangle,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; is a unitary operator satisfying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
U^\dagger U = I.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These transformations preserve normalization and correspond to reversible evolution in quantum mechanics.&lt;br /&gt;
&lt;br /&gt;
== Single-qubit gates ==&lt;br /&gt;
&lt;br /&gt;
Single-qubit gates act on individual qubits and correspond to rotations on the Bloch sphere.&lt;br /&gt;
&lt;br /&gt;
Common examples include:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pauli-X gate&amp;#039;&amp;#039;&amp;#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  X = \begin{pmatrix}0 &amp;amp; 1 \\ 1 &amp;amp; 0\end{pmatrix}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pauli-Y gate&amp;#039;&amp;#039;&amp;#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  Y = \begin{pmatrix}0 &amp;amp; -i \\ i &amp;amp; 0\end{pmatrix}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pauli-Z gate&amp;#039;&amp;#039;&amp;#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  Z = \begin{pmatrix}1 &amp;amp; 0 \\ 0 &amp;amp; -1\end{pmatrix}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Hadamard gate&amp;#039;&amp;#039;&amp;#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  H = \frac{1}{\sqrt{2}}\begin{pmatrix}1 &amp;amp; 1 \\ 1 &amp;amp; -1\end{pmatrix}&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These gates create superposition and control phase relationships.&lt;br /&gt;
&lt;br /&gt;
== Multi-qubit gates ==&lt;br /&gt;
&lt;br /&gt;
Multi-qubit gates act on multiple qubits and can generate entanglement.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| title = UnitaryGate adjoint()&lt;br /&gt;
| website = IBM Quantum Documentation&lt;br /&gt;
| publisher = IBM&lt;br /&gt;
| url = https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.circuit.library.UnitaryGate&lt;br /&gt;
| access-date = 2025&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A key example is the &amp;#039;&amp;#039;&amp;#039;controlled-NOT (CNOT) gate&amp;#039;&amp;#039;&amp;#039;, which flips a target qubit if the control qubit is in the state &amp;lt;math&amp;gt;|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The CNOT gate acts on basis states as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|00\rangle \rightarrow |00\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|01\rangle \rightarrow |01\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|10\rangle \rightarrow |11\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|11\rangle \rightarrow |10\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Together with single-qubit gates, the CNOT gate forms a universal set for quantum computation.&amp;lt;ref name=&amp;quot;NielsenChuang2010&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Quantum circuits ==&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;quantum circuit&amp;#039;&amp;#039;&amp;#039; is a sequence of quantum gates applied to a set of qubits.&lt;br /&gt;
&lt;br /&gt;
A typical circuit consists of:&lt;br /&gt;
&lt;br /&gt;
* initialization of qubits  &lt;br /&gt;
* application of unitary gates  &lt;br /&gt;
* measurement of the final state  &lt;br /&gt;
&lt;br /&gt;
Circuits are usually represented diagrammatically, with time progressing from left to right.&lt;br /&gt;
== Universal gate sets ==&lt;br /&gt;
&lt;br /&gt;
A set of quantum gates is called &amp;#039;&amp;#039;&amp;#039;universal&amp;#039;&amp;#039;&amp;#039; if any unitary operation can be approximated to arbitrary accuracy using only gates from that set.&amp;lt;ref name=&amp;quot;NielsenChuang2010&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A commonly used universal set consists of:&lt;br /&gt;
&lt;br /&gt;
* all single-qubit gates  &lt;br /&gt;
* the controlled-NOT (CNOT) gate  &lt;br /&gt;
&lt;br /&gt;
In practice, finite gate sets such as {H, T, CNOT} are used, where the T gate introduces a nontrivial phase. These sets allow efficient approximation of arbitrary quantum operations.&lt;br /&gt;
== Circuit depth and complexity ==&lt;br /&gt;
&lt;br /&gt;
The complexity of a quantum circuit is characterized by measures such as:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;circuit depth&amp;#039;&amp;#039;&amp;#039; — the number of sequential layers of gates  &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;gate count&amp;#039;&amp;#039;&amp;#039; — the total number of gates used  &lt;br /&gt;
&lt;br /&gt;
Circuit depth is particularly important, as it determines how long a computation takes and how susceptible it is to noise.&lt;br /&gt;
&lt;br /&gt;
Efficient quantum algorithms aim to minimize both gate count and depth while achieving the desired transformation.&lt;br /&gt;
== Example: Bell state circuit ==&lt;br /&gt;
&lt;br /&gt;
Entanglement can be generated using a simple circuit:&lt;br /&gt;
&lt;br /&gt;
1. Start with &amp;lt;math&amp;gt;|0\rangle \otimes |0\rangle&amp;lt;/math&amp;gt;  &lt;br /&gt;
2. Apply a Hadamard gate to the first qubit  &lt;br /&gt;
3. Apply a CNOT gate  &lt;br /&gt;
&lt;br /&gt;
This produces the entangled state&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{1}{\sqrt{2}}(|00\rangle + |11\rangle).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
== Noise and decoherence ==&lt;br /&gt;
&lt;br /&gt;
Real quantum systems are affected by noise and interactions with their environment, leading to decoherence and errors in quantum operations.&lt;br /&gt;
&lt;br /&gt;
Noise limits the size and depth of quantum circuits that can be reliably executed. This is a central challenge in current quantum computing devices.&lt;br /&gt;
&lt;br /&gt;
These limitations define the so-called noisy intermediate-scale quantum (NISQ) regime (see [[Physics:Quantum Noisy Qubits]]).&lt;br /&gt;
== Measurement ==&lt;br /&gt;
&lt;br /&gt;
Measurement converts a quantum state into classical information.&lt;br /&gt;
&lt;br /&gt;
For a qubit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|\psi\rangle = \alpha |0\rangle + \beta |1\rangle,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
measurement yields:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|0\rangle&amp;lt;/math&amp;gt; with probability &amp;lt;math&amp;gt;|\alpha|^2&amp;lt;/math&amp;gt;  &lt;br /&gt;
* &amp;lt;math&amp;gt;|1\rangle&amp;lt;/math&amp;gt; with probability &amp;lt;math&amp;gt;|\beta|^2&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Measurement is irreversible and collapses the quantum state.&lt;br /&gt;
&lt;br /&gt;
== Physical significance ==&lt;br /&gt;
&lt;br /&gt;
Quantum gates and circuits:&lt;br /&gt;
&lt;br /&gt;
* define how quantum computations are performed  &lt;br /&gt;
* enable superposition and entanglement to be controlled  &lt;br /&gt;
* provide the framework for quantum algorithms&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
{{#invoke:PhysicsQC|tocHeadingAndList|Physics:Quantum basics/See also}}&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
{{reflist|3}}&lt;br /&gt;
&lt;br /&gt;
{{Author|Harold Foppele}}&lt;br /&gt;
&lt;br /&gt;
{{Sourceattribution|Quantum gates and circuits|1}}&lt;/div&gt;</summary>
		<author><name>imported&gt;WikiHarold</name></author>
	</entry>
</feed>