{"id":1524,"date":"2026-10-19T11:31:34","date_gmt":"2026-10-19T11:31:34","guid":{"rendered":"https:\/\/www.interviewbit.com\/varsity\/blog\/?p=1524"},"modified":"2026-10-19T11:31:37","modified_gmt":"2026-10-19T11:31:37","slug":"s-gate-quantum","status":"publish","type":"post","link":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/","title":{"rendered":"Phase Gates Explained: The Quantum Trick Beginners Struggle With"},"content":{"rendered":"\n<div class=\"wp-block-group vlf-insights is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"vlf-insights-title wp-block-paragraph\">Key Insights<\/p>\n\n\n\n<ul class=\"wp-block-list vlf-insights-list\">\n\n<li>Phase gates change the relative phase of a qubit&rsquo;s state components without directly flipping the basis states <img decoding=\"async\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAEJSURBVDiN7dLPK0RRGIfxz0yjjOmq2VkOpmwopSztbChJWdlIsZWUtfJ\/WJMlWVtYSNGk2CmZvSLsGIs5U6c7v5Wd7+btPO+9zzn3npf\/\/DYl3KbYALZRwRW2kA29aWz0I9vECYoo4wEroTeISwz3IsvhDvMR28VxtN7Dei+yUdQwFrFFvKl\/PkyGDQuNB7JapxjqZ8RekWAorO\/xjOVuskwL9hXqd6g1HGEH+U6y91CTiBVQxUfErjGj\/pvayqp4wXjEyjiPTgazuMFT\/HJJ82js4xQjQVTBXNTP4Axr6ZO0kiU4wCMusJrqT0ndZidZtzTNWa5PQSN5LGEhhu0uoFsmcKg+xH+TH\/SKL6KneF8lAAAAAElFTkSuQmCC\" alt=\"\"> and <img decoding=\"async\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAADXSURBVDiN7dKxSoJRHIbxnxmEBIHQ0ubWFAhi1xAOIk2N0uAaNXQB3YCDW4Oz4OYQbS1NgQ5CUFt0CS3ppIMGhyP6fX029iwH3vec58D5H\/7JSgmjNV0V91FWxmW8cWfDBXu4wjOKUfe2lB2klbXwuFxjJhjgPK2sg3dM1\/QPuMF+GlkSr\/hE4y9kM\/RwjcK2MnhBxeI3bC07xRAfaWWHOEI+ynO4QBvfYVGy+mnP0Ld4mxmecBf0JxgLprlJlsQtmmGw+0vBDwXUUQvDrAM4RhdfGc8nMwerzx+O105dOQAAAABJRU5ErkJggg==\" alt=\"\">.<\/li>\n\n\n<li>The S gate applies a <img decoding=\"async\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAASCAYAAACuLnWgAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAEjSURBVDiN7dK9K4ZhFAbwHy9eH0XyMQjJZraxiIzezewjZWIy2EyyUhZK+RisZFEks0kSf4UdC8N9Pzy9Hk9vxCBX3XXOde77XPfpXPzjL2ENpRi3YwEXuMMGur4r0IFbNMX8ALNoQS9Osf5dkSks5dTncJUk1cJYu3jAS8ZZKWtQwDSOc0SacZ0m5tGNZYxHbgxnnzQYxl6OQGecYiAharAV4+qch2lM4vCTWr1giGXcJ2S6cbECgS6M4DKjVsAqjgSXvSEt0lqByAR28JhRW8QNTsoLaZH+VPyMHvRhMHK1mMlqgiFhr\/sxL2ITjelLDYKTksW34VwYvxC5Ue\/7K\/\/osY+ufEJVxv1cbEehH0OfYMu6rzyu1LYlYeHPXxH5FbwCnrYx1nt5LcYAAAAASUVORK5CYII=\" alt=\"\"> phase shift, while the T gate applies a smaller <img decoding=\"async\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAASCAYAAACuLnWgAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAEgSURBVDiN7dNPK0RRHMbxj2FIsxCymUxNbO0sbSZ\/NsrsrKSw8Q6kKCuUvIFRipWyk6wodsraS7C1VJrNWNwzzXWMZkxYyFOnznk6v\/P9neeey7\/+kvZRbuIv4fo7ACN4RC7yx3EfQzIdQuZxgpeUl8UmDuLNGeRDwTNqTcZOVNONFVxE\/hrOwzkftI7R0MVc8GZ8nusUTiNvAnthXoprM6jgSfvRLeIste7HBg6jfUPYrkPq6msDkA+d3qW8aSxrxH2L2bDugp7U5sE2IAs4xmvKu6ofFlTClkb0724ylppXUUARk8HLYhWXLRrJYSACI8m1lqIP4wa7ktdEEkulBaAg+X9qktt8WUcB9GMq4gG9nRS3+2zLkg9e7QTyK3oDTQ0wJXjqSdUAAAAASUVORK5CYII=\" alt=\"\"> shift; S&dagger; and T&dagger; reverse these operations.<\/li>\n\n\n<li>Phase shifts may leave immediate computational-basis measurement probabilities unchanged, but subsequent gates can make their effects observable through interference.<\/li>\n\n\n<li>On the Bloch sphere, phase gates correspond to rotations around the Z axis, helping visualise how they affect superposition states.<\/li>\n\n\n<li>The Clifford+T gate set supports universal quantum computation when combined with suitable entangling operations, and T-gate optimisation can matter in fault-tolerant circuit design.<\/li>\n\n\n<li>Qiskit provides built-in methods such as s(), sdg(), t(), tdg() and p() to implement phase gates in quantum circuits.<\/li>\n\n<\/ul>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The S gate, also called the phase gate or Z&#8329;&#8320; gate, is a single-qubit quantum logic gate that rotates the phase of a qubit state by 90 degrees (&pi;\/2 radians) around the Z-axis of the Bloch sphere. Quantum gates change qubit states, but not every gate flips a qubit between 0 and 1. Phase gates instead change the relative phase of a qubit&rsquo;s state components, influencing how quantum states interfere during later operations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This article explores the general phase gate P(&phi;), the differences between the S, S&dagger;, T and T&dagger; gates, and how phase shifts can be understood through Bloch-sphere rotations and matrix representations. It also explains why the T gate matters for universal quantum computation and demonstrates how to implement phase gates in a quantum circuit using Qiskit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Are Phase Gates in Quantum Computing?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A phase gate changes the phase of the |1&#10217; component of a qubit without directly flipping |0&#10217; and |1&#10217;. This phase shift becomes important when a qubit is in superposition and later operations allow the relative phase to affect measurement outcomes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The General Phase Gate P(&phi;)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The general quantum phase gate is represented by the matrix:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">P(&phi;) = ((1, 0), (0, e^(i&phi;)))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, &phi; is the phase angle. The gate leaves |0&#10217; unchanged and multiplies |1&#10217; by e^(i&phi;). Different values of &phi; produce different phase shifts. The S and T gates are specific examples, corresponding to phase angles of &pi;\/2 and &pi;\/4, respectively.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why Phase Matters in a Superposition<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Consider the state:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">|+&#10217; = (|0&#10217; + |1&#10217;)\/&radic;2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Applying a phase gate changes it to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">P(&phi;)|+&#10217; = (|0&#10217; + e^(i&phi;)|1&#10217;)\/&radic;2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The two components still have equal probabilities when measured immediately in the computational basis. However, the relative phase has changed. Subsequent gates can make this difference observable through quantum interference.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is the Difference Between S, S&dagger;, T and T&dagger; Gates?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The S and T gates apply different phase shifts, while S&dagger; and T&dagger; reverse those shifts. All four are special cases of the general phase gate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1774\" height=\"887\" src=\"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/comparison-of-s-sdagger-t-and-tdagger-quantum-gates-showing-.png\" alt=\"Comparison of S, S&dagger;, T and T&dagger; quantum gates showing their phase angles and matrix representations.\" class=\"wp-image-1526\" srcset=\"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/comparison-of-s-sdagger-t-and-tdagger-quantum-gates-showing-.png 1774w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/comparison-of-s-sdagger-t-and-tdagger-quantum-gates-showing--300x150.png 300w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/comparison-of-s-sdagger-t-and-tdagger-quantum-gates-showing--1024x512.png 1024w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/comparison-of-s-sdagger-t-and-tdagger-quantum-gates-showing--768x384.png 768w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/comparison-of-s-sdagger-t-and-tdagger-quantum-gates-showing--1536x768.png 1536w\" sizes=\"auto, (max-width: 1774px) 100vw, 1774px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">S Gate and S-Dagger Gate<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The S gate, also called the phase gate in some contexts, applies a phase shift of &pi;\/2 (90&deg;).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">S = P(&pi;\/2) = ((1, 0), (0, i))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Its inverse, the S dagger gate, applies the opposite shift:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">S&dagger; = P(&minus;&pi;\/2) = ((1, 0), (0, &minus;i))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Applying S twice produces the Pauli-Z gate: S&sup2; = Z. The S gate is therefore known as the square root of Z.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">T Gate and T-Dagger Gate<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The T gate applies a smaller phase shift of &pi;\/4 (45&deg;).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T = P(&pi;\/4) = ((1, 0), (0, e^(i&pi;\/4)))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Its inverse is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T&dagger; = P(&minus;&pi;\/4) = ((1, 0), (0, e^(&minus;i&pi;\/4)))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Applying T twice produces S, so T&sup2; = S. The T gate is particularly important because it is a non-Clifford gate, unlike S.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Phase Gate Family at a Glance<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Gate<\/th><th>Phase angle<\/th><th>Key relationship<\/th><\/tr><\/thead><tbody><tr><td>S<\/td><td>+&pi;\/2<\/td><td>S&sup2; = Z<\/td><\/tr><tr><td>S&dagger;<\/td><td>&minus;&pi;\/2<\/td><td>SS&dagger; = I<\/td><\/tr><tr><td>T<\/td><td>+&pi;\/4<\/td><td>T&sup2; = S<\/td><\/tr><tr><td>T&dagger;<\/td><td>&minus;&pi;\/4<\/td><td>TT&dagger; = I<\/td><\/tr><tr><td>P(&phi;)<\/td><td>&phi;<\/td><td>General phase shift<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These matrices follow the standard definitions in the<a href=\"https:\/\/quantum.cloud.ibm.com\/docs\/en\/api\/qiskit\/circuit_library\"> <\/a><a href=\"https:\/\/quantum.cloud.ibm.com\/docs\/en\/api\/qiskit\/circuit_library\">official Qiskit gate documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Do Phase Gates Work on the Bloch Sphere?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Bloch sphere represents a single qubit&rsquo;s state geometrically. Phase gates correspond to rotations around its Z axis, providing an intuitive way to understand how they change relative phase.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1774\" height=\"887\" src=\"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/bloch-sphere-diagram-showing-how-a-quantum-phase-gate-rotate.png\" alt=\"Bloch sphere diagram showing how a quantum phase gate rotates a qubit&rsquo;s superposition state around the Z axis, illustrating the phase shifts of the S and T gates.\" class=\"wp-image-1527\" srcset=\"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/bloch-sphere-diagram-showing-how-a-quantum-phase-gate-rotate.png 1774w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/bloch-sphere-diagram-showing-how-a-quantum-phase-gate-rotate-300x150.png 300w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/bloch-sphere-diagram-showing-how-a-quantum-phase-gate-rotate-1024x512.png 1024w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/bloch-sphere-diagram-showing-how-a-quantum-phase-gate-rotate-768x384.png 768w, https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/bloch-sphere-diagram-showing-how-a-quantum-phase-gate-rotate-1536x768.png 1536w\" sizes=\"auto, (max-width: 1774px) 100vw, 1774px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Understanding the Z-Axis Rotation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The S gate produces a &pi;\/2 rotation around the Z axis, while T produces a &pi;\/4 rotation. Their dagger versions rotate in the opposite direction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A general phase gate P(&phi;) can be understood as a Z-axis rotation up to a global phase. This distinction matters because P(&phi;) and the conventional rotation gate Rz(&phi;) do not have identical matrices, even though they describe equivalent physical transformations up to global phase.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why the Effect Depends on the Input State<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For the input |0&#10217;, a phase gate has no effect because the |1&#10217; component is absent. For a superposition such as |+&#10217;, it changes the relative phase between the components.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A phase shift is therefore not a bit flip: the gate does not directly exchange |0&#10217; and |1&#10217;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Is the T Gate Important for Universal Quantum Computing?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The T gate extends the Clifford gate set, allowing quantum circuits to represent a broader range of operations. In the widely used Clifford+T framework, suitable Clifford gates, T gates and an entangling gate such as CNOT can approximate arbitrary quantum computations to the desired accuracy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What Is the Clifford+T Gate Set?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Clifford gates include H, S and CNOT. Although useful, Clifford operations alone are not universal for quantum computation. Adding a non-Clifford gate such as T enables universality when combined with suitable entangling operations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">IBM Quantum explains this distinction in its guide to<a href=\"https:\/\/quantum.cloud.ibm.com\/learning\/en\/courses\/foundations-of-quantum-error-correction\/stabilizer-formalism\/stabilizer-codes\"> <\/a><a href=\"https:\/\/quantum.cloud.ibm.com\/learning\/en\/courses\/foundations-of-quantum-error-correction\/stabilizer-formalism\/stabilizer-codes\">stabilizer codes and Clifford operations<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why Is the T Gate Important in Practice?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">T gates matter when compiling circuits for fault-tolerant quantum computation. Their implementation can carry significant resource costs, so reducing the number of T gates can help optimise a circuit. The T gate is not the only possible route to universality, nor must every quantum circuit explicitly contain one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Do You Use Phase Gates in a Quantum Circuit?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Phase gates control relative phase within a circuit. Their effects become easier to observe when combined with other gates before measurement.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A Simple Circuit Example<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Consider the sequence <strong>H &rarr; S &rarr; H &rarr; Measurement<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The first H gate creates the superposition |+&#10217; from |0&#10217;.<\/li><li>S changes the relative phase.<\/li><li>The second H gate converts the phase difference into measurement probabilities.<\/li><li>Measurement records the final result.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For this specific circuit, the final measurement probabilities are 50% for 0 and 50% for 1. The phase change is observable through the full sequence, even though measuring immediately after S would still give equal computational-basis probabilities.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Implementing Phase Gates in Qiskit<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Qiskit provides built-in methods for S, S&dagger;, T, T&dagger; and general phase gates. The following example creates the circuit above:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from qiskit import QuantumCircuit\nqc = QuantumCircuit(1, 1)\nqc.h(0)\nqc.s(0)\nqc.h(0)\nqc.measure(0, 0)\nprint(qc.draw())<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use qc.s(0), qc.sdg(0), qc.t(0), qc.tdg(0) or qc.p(theta, 0) to apply the corresponding gates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Phase gates are essential to understanding how quantum circuits manipulate relative phase and use interference to influence measurement outcomes. From the S and T gates to their inverse operations and the general phase gate P(&phi;), these gates provide different ways to control phase shifts. Understanding their matrices, Bloch-sphere rotations and role in the Clifford+T gate set helps build a stronger foundation for quantum circuit design and universal quantum computation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To explore these concepts further, the <strong><a href=\"https:\/\/www.interviewbit.com\/varsity\/iit-delhi\/quantum-computing\">Applied Quantum Computing &amp; AI programme by IIT Delhi<\/a>.<\/strong>, delivered through Varsity by InterviewBit, offers structured learning in quantum computing, quantum gates and circuit design, alongside practical applications. It can help learners build on these fundamentals and progress towards more advanced quantum computing concepts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Why is the T gate called the &pi;\/8 gate?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The name comes from its representation as a rotation generated by the Z operator, up to a global phase. Its phase-gate matrix applies a &pi;\/4 phase to the |1&#10217; component.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Is the S gate the same as the Z gate?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. S applies a &pi;\/2 phase shift, while Z applies a &pi; phase shift. Applying S twice produces Z.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Can phase gates change measurement probabilities?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Not necessarily when measured immediately in the computational basis. Their relative-phase changes can affect probabilities when combined with subsequent gates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">What happens if you apply the S gate four times?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Since S&sup2; = Z and Z&sup2; = I, four applications of S produce the identity operation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">What happens if you apply the T gate eight times?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Since T&sup2; = S and S&#8308; = I, eight applications of T produce the identity operation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Are S and T gates reversible?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. S&dagger; and T&dagger; are their respective inverse gates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">What is the difference between a phase gate and a rotation gate?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">P(&phi;) applies a phase to the |1&#10217; component. Rz(&phi;) describes a Z-axis rotation with a different matrix convention; the two are equivalent up to global phase.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Can phase gates be applied to multiple qubits?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Controlled-phase gates can apply a phase conditionally to particular multi-qubit basis states.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Do phase gates create superposition?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. They do not create superposition from |0&#10217; or |1&#10217; alone, but they can change the relative phase of an existing superposition.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">When should I use P(&phi;) instead of S or T?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use P(&phi;) when you need a phase angle other than the specific angles provided by S or T, subject to the target circuit&rsquo;s supported gate set.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"https:\/\/quantum.microsoft.com\/en-us\/insights\/education\/concepts\/single-qubit-gates\">Microsoft Quantum &mdash; Single-Qubit Gates<\/a><\/li><li><a href=\"https:\/\/qiskit.qotlabs.org\/docs\/api\/qiskit\/qiskit.circuit.library.PhaseGate\">IBM Quantum Documentation &mdash; PhaseGate and Its Matrix Representation<\/a><\/li><li><a href=\"https:\/\/qiskit.qotlabs.org\/docs\/api\/qiskit\/qiskit.circuit.library.SGate\">IBM Quantum Documentation &mdash; S Gate and Its Matrix Representation<\/a><\/li><li><a href=\"https:\/\/qiskit.qotlabs.org\/docs\/api\/qiskit\/qiskit.circuit.QuantumCircuit\">IBM Quantum Documentation &mdash; QuantumCircuit Methods for Implementing Gates<\/a><\/li><li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/quantum\/how-to-use-bloch-sphere-visualizer\">Microsoft Learn &mdash; Using the Bloch Sphere Visualizer in the Quantum Development Kit<\/a><\/li><li><a href=\"https:\/\/quantum.microsoft.com\/en-us\/insights\/education\/concepts\/quantum-circuits\">Microsoft Quantum &mdash; Quantum Circuits<\/a><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Key Insights The S gate, also called the phase gate or Z&#8329;&#8320; gate, is a single-qubit quantum logic gate that rotates the phase of a qubit state by 90 degrees (&pi;\/2 radians) around the Z-axis of the Bloch sphere. Quantum gates change qubit states, but not every gate flips a qubit between 0 and 1. [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":1560,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-quantum-computing"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"acf":{"reviewed_by":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Phase Gates in Quantum Computing: S, T Gates Explained<\/title>\n<meta name=\"description\" content=\"Learn how phase gates work in quantum computing, including S, T, S&dagger; and T&dagger; gates, their matrices, Bloch-sphere rotations, Qiskit examples and Clifford+T universality.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Phase Gates in Quantum Computing: S, T Gates Explained\" \/>\n<meta property=\"og:description\" content=\"Learn how phase gates work in quantum computing, including S, T, S&dagger; and T&dagger; gates, their matrices, Bloch-sphere rotations, Qiskit examples and Clifford+T universality.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/\" \/>\n<meta property=\"og:site_name\" content=\"Varsity Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-19T11:31:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-19T11:31:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/phase-gates-explained-banner_surprise.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1010\" \/>\n\t<meta property=\"og:image:height\" content=\"673\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Varsity on Behalf of CEP IIT Delhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Varsity on Behalf of CEP IIT Delhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/\"},\"author\":{\"name\":\"Varsity on Behalf of CEP IIT Delhi\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#\\\/schema\\\/person\\\/7b5db9a94eddee529cd35968692d9c29\"},\"headline\":\"Phase Gates Explained: The Quantum Trick Beginners Struggle With\",\"datePublished\":\"2026-10-19T11:31:34+00:00\",\"dateModified\":\"2026-10-19T11:31:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/\"},\"wordCount\":1592,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phase-gates-explained-banner_surprise.webp\",\"articleSection\":[\"Quantum Computing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/\",\"url\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/\",\"name\":\"Phase Gates in Quantum Computing: S, T Gates Explained\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phase-gates-explained-banner_surprise.webp\",\"datePublished\":\"2026-10-19T11:31:34+00:00\",\"dateModified\":\"2026-10-19T11:31:37+00:00\",\"description\":\"Learn how phase gates work in quantum computing, including S, T, S&dagger; and T&dagger; gates, their matrices, Bloch-sphere rotations, Qiskit examples and Clifford+T universality.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phase-gates-explained-banner_surprise.webp\",\"contentUrl\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phase-gates-explained-banner_surprise.webp\",\"width\":1010,\"height\":673,\"caption\":\"phase-gates-explained-banner_surprise\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/s-gate-quantum\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Phase Gates Explained: The Quantum Trick Beginners Struggle With\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/\",\"name\":\"Varsity Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#organization\",\"name\":\"Varsity Blog\",\"url\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/varsity-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/varsity-logo.png\",\"width\":275,\"height\":64,\"caption\":\"Varsity Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/varsity-by-interviewbit\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/#\\\/schema\\\/person\\\/7b5db9a94eddee529cd35968692d9c29\",\"name\":\"Varsity on Behalf of CEP IIT Delhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bdb12370d043ff980b2b8f1ccb67f5a1f0e333aaca46cc35358b1af8b1d98334?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bdb12370d043ff980b2b8f1ccb67f5a1f0e333aaca46cc35358b1af8b1d98334?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bdb12370d043ff980b2b8f1ccb67f5a1f0e333aaca46cc35358b1af8b1d98334?s=96&d=mm&r=g\",\"caption\":\"Varsity on Behalf of CEP IIT Delhi\"},\"description\":\"Varsity by InterviewBit, in collaboration with CEP IIT Delhi, creates industry-relevant learning programmes designed to help learners build practical, in-demand skills. Through this author profile, we publish articles that complement our courses covering curriculum-aligned topics, foundational concepts, emerging trends, and advanced insights. Our goal is to help learners deepen their understanding beyond the classroom and apply their knowledge confidently in real-world contexts.\",\"url\":\"https:\\\/\\\/www.interviewbit.com\\\/varsity\\\/blog\\\/author\\\/varsity-on-behalf-of-cep-iit-delhi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Phase Gates in Quantum Computing: S, T Gates Explained","description":"Learn how phase gates work in quantum computing, including S, T, S&dagger; and T&dagger; gates, their matrices, Bloch-sphere rotations, Qiskit examples and Clifford+T universality.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/","og_locale":"en_US","og_type":"article","og_title":"Phase Gates in Quantum Computing: S, T Gates Explained","og_description":"Learn how phase gates work in quantum computing, including S, T, S&dagger; and T&dagger; gates, their matrices, Bloch-sphere rotations, Qiskit examples and Clifford+T universality.","og_url":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/","og_site_name":"Varsity Blog","article_published_time":"2026-10-19T11:31:34+00:00","article_modified_time":"2026-10-19T11:31:37+00:00","og_image":[{"width":1010,"height":673,"url":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/phase-gates-explained-banner_surprise.webp","type":"image\/webp"}],"author":"Varsity on Behalf of CEP IIT Delhi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Varsity on Behalf of CEP IIT Delhi","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#article","isPartOf":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/"},"author":{"name":"Varsity on Behalf of CEP IIT Delhi","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#\/schema\/person\/7b5db9a94eddee529cd35968692d9c29"},"headline":"Phase Gates Explained: The Quantum Trick Beginners Struggle With","datePublished":"2026-10-19T11:31:34+00:00","dateModified":"2026-10-19T11:31:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/"},"wordCount":1592,"commentCount":0,"publisher":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#organization"},"image":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/phase-gates-explained-banner_surprise.webp","articleSection":["Quantum Computing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/","url":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/","name":"Phase Gates in Quantum Computing: S, T Gates Explained","isPartOf":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#primaryimage"},"image":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/phase-gates-explained-banner_surprise.webp","datePublished":"2026-10-19T11:31:34+00:00","dateModified":"2026-10-19T11:31:37+00:00","description":"Learn how phase gates work in quantum computing, including S, T, S&dagger; and T&dagger; gates, their matrices, Bloch-sphere rotations, Qiskit examples and Clifford+T universality.","breadcrumb":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#primaryimage","url":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/phase-gates-explained-banner_surprise.webp","contentUrl":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/10\/phase-gates-explained-banner_surprise.webp","width":1010,"height":673,"caption":"phase-gates-explained-banner_surprise"},{"@type":"BreadcrumbList","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/s-gate-quantum\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.interviewbit.com\/varsity\/blog\/"},{"@type":"ListItem","position":2,"name":"Phase Gates Explained: The Quantum Trick Beginners Struggle With"}]},{"@type":"WebSite","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#website","url":"https:\/\/www.interviewbit.com\/varsity\/blog\/","name":"Varsity Blog","description":"","publisher":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.interviewbit.com\/varsity\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#organization","name":"Varsity Blog","url":"https:\/\/www.interviewbit.com\/varsity\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/08\/varsity-logo.png","contentUrl":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-content\/uploads\/2026\/08\/varsity-logo.png","width":275,"height":64,"caption":"Varsity Blog"},"image":{"@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/varsity-by-interviewbit\/"]},{"@type":"Person","@id":"https:\/\/www.interviewbit.com\/varsity\/blog\/#\/schema\/person\/7b5db9a94eddee529cd35968692d9c29","name":"Varsity on Behalf of CEP IIT Delhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bdb12370d043ff980b2b8f1ccb67f5a1f0e333aaca46cc35358b1af8b1d98334?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bdb12370d043ff980b2b8f1ccb67f5a1f0e333aaca46cc35358b1af8b1d98334?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bdb12370d043ff980b2b8f1ccb67f5a1f0e333aaca46cc35358b1af8b1d98334?s=96&d=mm&r=g","caption":"Varsity on Behalf of CEP IIT Delhi"},"description":"Varsity by InterviewBit, in collaboration with CEP IIT Delhi, creates industry-relevant learning programmes designed to help learners build practical, in-demand skills. Through this author profile, we publish articles that complement our courses covering curriculum-aligned topics, foundational concepts, emerging trends, and advanced insights. Our goal is to help learners deepen their understanding beyond the classroom and apply their knowledge confidently in real-world contexts.","url":"https:\/\/www.interviewbit.com\/varsity\/blog\/author\/varsity-on-behalf-of-cep-iit-delhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/posts\/1524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/comments?post=1524"}],"version-history":[{"count":2,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/posts\/1524\/revisions"}],"predecessor-version":[{"id":1528,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/posts\/1524\/revisions\/1528"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/media\/1560"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/media?parent=1524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/categories?post=1524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/varsity\/blog\/wp-json\/wp\/v2\/tags?post=1524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}