Home Blog Page 255

Today in History – 21 October

0
Today in History - 21 October

1296

Alauddin Khalji conquered the throne of Delhi. In July declared himself as the Sultan.

1577

Guru Ramdas, Sikh Guru, established Amritsar city.

1789

Ramshastri Prabhune, justice of Peshwa kingdom, died.

1790

The Tricolor was chosen as the official flag of France.

1887

Dr. Sri Krishna Sinha, great politician, revolutionist leader and chief minister, was born at Khanwa.

1906

Gandhiji went to England till Nov 30 on deputation to present Indians’ case to Colonial Secretary.

1917

The first U.S. troops enter the front lines at Sommerviller under French command.

1934

Loknayak Jayprakash Narayan and his friends established the ‘Congress Socialist Party’ and Acharya Narendra Dev was its President and JP was its Gen. Secretary.

1939

As war heats up with Germany, the British war cabinet holds its first meeting in the underground war room in London.

1943

Azad Hind Government was established in Singapore and Netaji Subhashchandra Bose was elected as its national leader.

1947

The office of Controller of Military Accounts (Pensions), Lahore was bifurcated and the pension work relating to Indian nationals was transferred to Allahabad.

1950

China invades Tibet.

1954

Government of India and France sign an agreement for the de-facto transfer of the French settlement of Pondicherry, Karaikal, Mahe to the Indian Union. The merger took place on November 1.

1959

Chinese and Indian troops clash on Ladakh border.

1961

Bob Dylan records his first album in a single day at a cost of $400.

1990

Doordarshan starts afternoon news bulletins at 2 p.m. (Hindi) and 3 p.m. (English) of 7.5 minutes duration on week days and 5 minutes on Sundays.

1996

Japan gets non-permanent seat in Security Council after a contest with India.

1997

Himachal Pradesh Assembly goes global with inauguration of its website on the Internet.

1999

B. R. Chopra, filmmaker, gets the Dadasaheb Phalke Award.

2000

Seema Antil becomes the first Indian ever to win a global title by bagging a gold medal in disc throw in the World Junior Athletic championship in Santiago.

Also Read:

Quantum Circuits and Diagrams

0

Table of Contents

  1. Introduction
  2. What Is a Quantum Circuit?
  3. Components of a Quantum Circuit
  4. Qubits as Wires
  5. Gates as Operations on Wires
  6. Time Flow and Diagram Layout
  7. Single-Qubit Gate Symbols
  8. Multi-Qubit Gate Symbols
  9. Control and Target in Diagrams
  10. Measurement Symbols
  11. Example: Bell State Circuit
  12. Circuit for Grover’s Algorithm
  13. Circuit for Quantum Teleportation
  14. Role of Ancilla Qubits
  15. Reset and Classical Control
  16. Classical Registers and Bitlines
  17. Circuit Equivalence and Simplification
  18. Gate Decomposition and Subcircuits
  19. Circuit Depth and Width
  20. Compilation into Hardware-Compatible Gates
  21. Circuit Optimization Techniques
  22. Quantum Circuit Simulators
  23. Circuit Diagrams in Quantum Software (Qiskit, Cirq, etc.)
  24. Importance in Teaching and Communication
  25. Conclusion

1. Introduction

Quantum circuits are the primary abstraction used to design and visualize quantum computations. Like classical circuits made of logic gates, quantum circuits are composed of quantum gates that act on qubits, evolving their quantum state through unitary transformations.


2. What Is a Quantum Circuit?

A quantum circuit is a sequence of quantum gates and measurements acting on a fixed number of qubits. It is typically visualized as a diagram, where time flows from left to right, and operations are applied along horizontal qubit lines.


3. Components of a Quantum Circuit

Main components include:

  • Qubit wires (horizontal lines)
  • Quantum gates (boxes or symbols)
  • Measurement (classical outcome symbols)
  • Control connections (dots and vertical lines)

4. Qubits as Wires

Each qubit is represented by a horizontal line. The initial state is usually \( |0\rangle \), and the line progresses from left to right through the circuit.


5. Gates as Operations on Wires

Quantum gates are visualized as symbols placed on qubit wires:

  • Single-qubit gates: H, X, Z, T, S, etc.
  • Multi-qubit gates: CNOT, Toffoli, Controlled-U

6. Time Flow and Diagram Layout

Quantum circuits read left to right:

  • The leftmost gate acts first.
  • Gates placed vertically are simultaneous.

7. Single-Qubit Gate Symbols

Standard notations:

  • X gate: square with “X”
  • H gate: square with “H”
  • T gate: square with “T”
  • Z gate: square with “Z”

These are placed directly on the wire of the target qubit.


8. Multi-Qubit Gate Symbols

For example, the CNOT gate:

  • Dot on control qubit
  • Plus ⊕ symbol on target
  • Vertical line connecting them

Toffoli (CCNOT):

  • Two control dots
  • One ⊕ on target
  • Connected by vertical lines

9. Control and Target in Diagrams

Controlled gates are represented with:

  • Black dot on control qubit line
  • Target operation (⊕ or other symbol) on the target qubit
  • Vertical line connecting them

This shows conditional application of gates.


10. Measurement Symbols

Measurements are typically shown as:

  • Meter icon or box with “M”
  • Classical bit output line
  • Sometimes followed by classical post-processing boxes

11. Example: Bell State Circuit

Creating a Bell state:

  1. Apply Hadamard to \( q_0 \)
  2. Apply CNOT with \( q_0 \) control and \( q_1 \) target

Diagram:

q_0: ──H────■────
            │
q_1: ───────X────

This prepares \( \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle) \)


12. Circuit for Grover’s Algorithm

Grover’s circuit contains:

  • Hadamards for initialization
  • Oracle (black-box)
  • Diffusion operator (inversion about the mean)
  • Multiple layers of gates and ancilla

13. Circuit for Quantum Teleportation

Involves:

  • Bell state generation
  • Bell basis measurement
  • Classical control and conditional gates

Each step maps directly onto a circuit with labeled operations.


14. Role of Ancilla Qubits

Ancilla qubits are temporary helper qubits:

  • Used in error correction
  • Used in uncomputation
  • May be measured and reset mid-circuit

They appear as separate wires in diagrams.


15. Reset and Classical Control

Some circuits use reset operations to reuse qubits:

  • Denoted by a symbol (R or |0⟩)
  • Useful in fault-tolerant or NISQ circuits

16. Classical Registers and Bitlines

After measurement:

  • Classical outcomes are stored in classical registers
  • These can be used for feedback and conditional operations

17. Circuit Equivalence and Simplification

Equivalent circuits:

  • Use different gate combinations
  • Reduce depth or number of qubits
  • Aid in optimization

Example: \( HZH = X \)


18. Gate Decomposition and Subcircuits

Complex gates (e.g., Toffoli) are built from smaller gates. These subcircuits can be modularized and reused, both conceptually and in code.


19. Circuit Depth and Width

  • Depth: number of sequential operations
  • Width: number of qubits

These are important for:

  • Resource estimation
  • Circuit runtime
  • Fidelity and noise

20. Compilation into Hardware-Compatible Gates

Quantum compilers translate circuit diagrams into sequences of gates supported by hardware. This includes:

  • Gate basis translation
  • Connectivity mapping
  • Noise optimization

21. Circuit Optimization Techniques

Tools try to:

  • Reduce gate count
  • Reduce T-count
  • Optimize depth
  • Eliminate redundant gates

Qiskit, Tket, and Cirq provide such functionalities.


22. Quantum Circuit Simulators

Simulators execute circuit diagrams on classical hardware. Examples:

  • Qiskit Aer
  • Cirq Simulator
  • QuTiP
  • Braket local simulator

23. Circuit Diagrams in Quantum Software (Qiskit, Cirq, etc.)

Quantum programming tools let users:

  • Define circuits via code
  • Visualize with ASCII or graphical diagrams
  • Simulate or compile for real devices

24. Importance in Teaching and Communication

Circuit diagrams are vital for:

  • Teaching quantum algorithms
  • Designing protocols
  • Communicating between researchers and engineers

They serve as the “schematics” of quantum computing.


25. Conclusion

Quantum circuits and diagrams are the visual and conceptual backbone of quantum computation. They offer a structured way to plan, analyze, and communicate quantum algorithms, making them essential for both theoretical exploration and practical implementation.


.

Today in History – 20 October

0
Today in History - 20 October

480 BC

Greeks defeat the Persians in a naval battle at Salamis.

1752

The grateful Wazir induced the emperor to make Badan Singh the ‘Raja’ with the title of Mahendra, and Suraj Mal the ‘Mumar Bahadur’ with the title of Rajendra.

1774

New Regulating Act was introduced which abolished the East India Company Government and a new Government was formed.

1919

Chaitanyabala Divatia, great author, was born in Ahmedabad, Gujarat.

1924

Baseball’s first ‘colored World Series’ is held in Kansas City, Mo.

1941

German troops reach the approaches to Moscow.

1947

First battle between India and Pakistan.

1960

Indian mountaineers reach the peak of Nanda Ghunti for the first time in the Kumaon Hills.

1963

Navjot Singh Bhagwantsingh Sidhu, cricketer (Indian opening batsman), was born in Patiala.

1969

Punjabrao Agriculture University established.

1990

Andhra Pradesh Government announces a five-day week for all offices and educational institutions from November 01, 1990.

1992

Nirad C. Chauduri, 94, the Indian writer living in Oxford, made honorary Commander of the British Empire.

1999

Quiet start to the 13th Lok Sabha.

1999

The Cabinet approves the Insurance Regulatory Authority (IRA) Bill for introduction in the current session of Lok Sabha if time permits.

Also Read:

Today in History – 19 October

Today in History – 18 October

Today in History – 17 October

Today in History – 15 October

Bloch Sphere Representation

0

Table of Contents

  1. Introduction
  2. What Is the Bloch Sphere?
  3. State of a Qubit
  4. Parametrization of Qubit States
  5. General Form of a Single-Qubit Pure State
  6. Normalization and Global Phase
  7. Coordinate Mapping on the Sphere
  8. Geometrical Structure of the Bloch Sphere
  9. Visualization of Quantum States
  10. Basis States on the Bloch Sphere
  11. Superposition and Equatorial States
  12. Phase Information on the Bloch Sphere
  13. Action of Quantum Gates on Bloch Sphere
  14. Pauli Gates as Rotations
  15. Hadamard Gate and the X-Z Plane
  16. Phase Gates and Z-Axis Rotations
  17. Bloch Sphere and Mixed States
  18. The Bloch Vector and Density Matrix
  19. Radius of the Bloch Vector
  20. Quantum Operations as Rotations
  21. Measurement and Collapse on the Bloch Sphere
  22. Entanglement and the Limitation of Bloch Sphere
  23. Advantages and Limitations of the Bloch Sphere
  24. Applications in Quantum Computing
  25. Conclusion

1. Introduction

The Bloch sphere is one of the most intuitive and widely used visualizations in quantum computing. It provides a geometric representation of the state of a single qubit and offers deep insights into quantum operations, measurement, and superposition.


2. What Is the Bloch Sphere?

The Bloch sphere is a unit sphere in \( \mathbb{R}^3 \) used to represent pure states of a single qubit. Each point on the surface corresponds to a possible pure quantum state.


3. State of a Qubit

A qubit can be written in the general form:

\[
|\psi\rangle = \alpha|0\rangle + \beta|1\rangle
\]

where \( \alpha, \beta \in \mathbb{C} \), and \( |\alpha|^2 + |\beta|^2 = 1 \)


4. Parametrization of Qubit States

Any pure state of a qubit can be expressed as:

\[
|\psi\rangle = \cos\left(\frac{\theta}{2}\right)|0\rangle + e^{i\phi} \sin\left(\frac{\theta}{2}\right)|1\rangle
\]

with \( 0 \leq \theta \leq \pi \), \( 0 \leq \phi < 2\pi \)


5. General Form of a Single-Qubit Pure State

This parametrization maps quantum states to points on a unit sphere:

  • \( \theta \): polar angle from the Z-axis
  • \( \phi \): azimuthal angle in the X-Y plane

6. Normalization and Global Phase

The global phase \( e^{i\gamma} \) is physically irrelevant. Hence, every pure state is represented by a point on the surface of the Bloch sphere, not inside.


7. Coordinate Mapping on the Sphere

The state vector corresponds to a point:

\[
\vec{r} = (\sin\theta \cos\phi, \sin\theta \sin\phi, \cos\theta)
\]

This vector \( \vec{r} \) is called the Bloch vector.


8. Geometrical Structure of the Bloch Sphere

  • The North pole \( (\theta = 0) \): \( |0\rangle \)
  • The South pole \( (\theta = \pi) \): \( |1\rangle \)
  • The Equator \( (\theta = \pi/2) \): superpositions like \( (|0\rangle + e^{i\phi}|1\rangle)/\sqrt{2} \)

9. Visualization of Quantum States

Each qubit state corresponds to a point on the surface of the Bloch sphere, enabling:

  • Visualization of superposition
  • Representation of gate operations as rotations

10. Basis States on the Bloch Sphere

  • \( |0\rangle \): (0, 0, 1)
  • \( |1\rangle \): (0, 0, -1)
  • \( (|0\rangle + |1\rangle)/\sqrt{2} \): (1, 0, 0)
  • \( (|0\rangle – |1\rangle)/\sqrt{2} \): (-1, 0, 0)

11. Superposition and Equatorial States

The equator contains all equal superpositions of \( |0\rangle \) and \( |1\rangle \) with varying relative phases:

\[
\frac{1}{\sqrt{2}}(|0\rangle + e^{i\phi}|1\rangle)
\]

These lie on the X-Y plane.


12. Phase Information on the Bloch Sphere

The azimuthal angle \( \phi \) encodes the relative phase between the basis states. This phase plays a crucial role in interference and algorithm performance.


13. Action of Quantum Gates on Bloch Sphere

Unitary operations correspond to rotations of the Bloch vector. For example:

  • X gate: \( \pi \)-rotation around X-axis
  • Y gate: \( \pi \)-rotation around Y-axis
  • Z gate: \( \pi \)-rotation around Z-axis

14. Pauli Gates as Rotations

\[
X = R_x(\pi), \quad Y = R_y(\pi), \quad Z = R_z(\pi)
\]

Each Pauli gate corresponds to a 180° rotation around its respective axis.


15. Hadamard Gate and the X-Z Plane

Hadamard maps \( |0\rangle \to (|0\rangle + |1\rangle)/\sqrt{2} \), placing it on the X-axis. It corresponds to a rotation that brings poles to equator and vice versa.


16. Phase Gates and Z-Axis Rotations

  • S gate: \( \pi/2 \) rotation around Z
  • T gate: \( \pi/4 \) rotation around Z

These gates change the phase, affecting interference.


17. Bloch Sphere and Mixed States

Mixed states are represented as points inside the Bloch sphere (not on the surface). The density matrix \( \rho \) maps to a Bloch vector:

\[
\rho = \frac{1}{2}(\mathbb{I} + \vec{r} \cdot \vec{\sigma})
\]


18. The Bloch Vector and Density Matrix

For a mixed state, the vector \( \vec{r} \) satisfies \( |\vec{r}| < 1 \). Pure states have \( |\vec{r}| = 1 \).


19. Radius of the Bloch Vector

The radius gives a measure of purity:

  • \( r = 1 \): pure state
  • \( r < 1 \): mixed state
  • \( r = 0 \): maximally mixed (totally random)

20. Quantum Operations as Rotations

Quantum operations (unitary gates) act as rotations of the Bloch vector. Decoherence and noise shrink the Bloch vector toward the center.


21. Measurement and Collapse on the Bloch Sphere

Measurement along Z-axis:

  • Projects state to either North or South pole
  • Collapses vector to \( |0\rangle \) or \( |1\rangle \)

22. Entanglement and the Limitation of Bloch Sphere

The Bloch sphere applies only to single qubits. It does not capture multi-qubit correlations or entanglement — for those, other tools are needed (like tensor networks).


23. Advantages and Limitations of the Bloch Sphere

Advantages:

  • Intuitive visualization
  • Insight into gate actions and interference

Limitations:

  • Cannot represent entangled states
  • Only valid for 2D (single-qubit) Hilbert spaces

24. Applications in Quantum Computing

  • Visualizing gate effects
  • Understanding superposition and phase
  • Educational and debugging purposes

Quantum software platforms often provide Bloch visualizations (e.g., Qiskit, QuTiP).


25. Conclusion

The Bloch sphere provides an elegant and powerful way to visualize qubit states, their evolution, and how quantum gates act. It is a cornerstone of quantum computing education and continues to aid in intuitive understanding of core quantum phenomena.


.

Today in History – 19 October

0
Today in History - 19 October

1216

King John of England dies at Newark and is succeeded by his nine-year-old son Henry.

1689

Sambhaji’s queen Yesubai and her child surrendered the Raigarh Fort to the Mughals.

1774

Members of the Council and the Judge of Supreme Court of England came to improve the management in India.

1812

Napoleon Bonaparte begins his retreat from Moscow.

1875

The first section from Hathras Road to Mathura Cantonment was opened to traffic.

1907

Sulochana Modi, first lady Mayor of Mumbai Mahanagar Palika, was born.

1949

The People’s Republic of China is formally proclaimed.

1950

The North Korean capital of Pyongyang is captured by U.N. troops.

1967

Dr. C. V. Raman elucidated his new theory on wave motion in respect to vision and dim light.

1970

First Indian-made MIG-21 handed over to the Air Force. Privy purses and privileges of former Indian rulers abolished.

1983

Prof. Subramanyam Chandrasekhar shares the 1983 Nobel Prize for Physics with fellow American Prof. William Fowler.

1983

Union Government takes over the management of 13 textile undertakings in Bombay; marathon strike in cotton textile industry ends.

1988

British government bans TV and radio interviews with members of Irish political group Sinn Fein and 11 paramilitary groups.

2003

Mother Teresa is beatified by Pope John Paul II for her work among “the poorest of the poor” in India.

Also Read:

Today in History – 18 October

Today in History – 17 October

Today in History – 15 October

Today in History – 14 October