Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

SXdgGate

class SXdgGate(label=None)[ソース]

ベースクラス: Gate

The inverse single-qubit Sqrt(X) gate.

Can be applied to a QuantumCircuit with the sxdg() method.

\[\begin{split}\sqrt{X}^{\dagger} = \frac{1}{2} \begin{pmatrix} 1 - i & 1 + i \\ 1 + i & 1 - i \end{pmatrix}\end{split}\]

注釈

A global phase difference exists between the definitions of \(RX(-\pi/2)\) and \(\sqrt{X}^{\dagger}\).

\[\begin{split}RX(-\pi/2) = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 & i \\ i & 1 \end{pmatrix} = e^{-i pi/4} \sqrt{X}^{\dagger}\end{split}\]

Create new SXdg gate.

Methods Defined Here

inverse

Return inverse SXdg gate (i.e.

Attributes

condition_bits

Get Clbits in condition.

戻り値の型

List[Clbit]

decompositions

Get the decompositions of the instruction from the SessionEquivalenceLibrary.

definition

Return definition in terms of other basic gates.

duration

Get the duration.

label

Return instruction label

戻り値の型

str

name

Return the name.

num_clbits

Return the number of clbits.

num_qubits

Return the number of qubits.

params

return instruction params.

unit

Get the time unit of duration.