quri_parts.quantinuum.circuit.gates module#

class U1qFactory#

Bases: object

name: Literal['U1q'] = 'U1q'#
U1q = <quri_parts.quantinuum.circuit.gates.U1qFactory object>#

Quantinuum native gate U1q defined as follows.

\[\begin{split}U_{1q}(\theta, \phi) = e^{-i(\cos{\phi \hat{X}} + \sin{\phi \hat{Y}}) \theta / 2} = \begin{pmatrix} \cos{\frac{\theta}{2}} & -ie^{-i\phi} \sin{\frac{\theta}{2}} \\ -ie^{i\phi} \sin{\frac{\theta}{2}} & \cos{\frac{\theta}{2}} \end{pmatrix}\end{split}\]
Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P4 Native Gate Set)

Parameters:
  • target_index (int) –

  • theta (float) –

  • phi (float) –

Return type:

QuantumGate

class ZZFactory#

Bases: object

name: Literal['ZZ'] = 'ZZ'#
ZZ = <quri_parts.quantinuum.circuit.gates.ZZFactory object>#

Quantinuum native gate ZZ defined as follows.

\[\begin{split}ZZ = e^{-i\frac{\pi}{4} \hat{Z} \otimes \hat{Z}} = e^{-\frac{i\pi}{4}} \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & i & 0 & 0 \\ 0 & 0 & i & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}\end{split}\]
Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P4 Native Gate Set)

Parameters:
  • target_index0 (int) –

  • target_index1 (int) –

Return type:

QuantumGate

class RZZFactory#

Bases: object

name: Literal['RZZ'] = 'RZZ'#
RZZ = <quri_parts.quantinuum.circuit.gates.RZZFactory object>#

Quantinuum native gate RZZ defined as follows.

\[\begin{split}RZZ = e^{-i\frac{\pi}{2} \hat{Z} \otimes \hat{Z}} = e^{-\frac{i\pi}{2}} \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & e^{i\theta} & 0 & 0 \\ 0 & 0 & e^{i\theta} & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}\end{split}\]
Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P4 Native Gate Set)

Parameters:
  • target_index0 (int) –

  • target_index1 (int) –

  • theta (float) –

Return type:

QuantumGate