quri_parts.quantinuum.circuit.transpile.quantinuum_native_transpiler module#

class RX2U1qTranspiler(*args, **kwargs)#

Bases: GateKindDecomposer

CircuitTranspiler, which decomposes RX gates into U1q gates.

Ref:
[1]: https://www.quantinuum.com/hardware/h1

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

property target_gate_names: Sequence[str]#

Returns the set of gate names to be decomposed.

decompose(gate)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class RY2U1qTranspiler(*args, **kwargs)#

Bases: GateKindDecomposer

CircuitTranspiler, which decomposes RY gates into U1q gates.

Ref:
[1]: https://www.quantinuum.com/hardware/h1

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

property target_gate_names: Sequence[str]#

Returns the set of gate names to be decomposed.

decompose(gate)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class H2U1qRZTranspiler(*args, **kwargs)#

Bases: GateKindDecomposer

CircuitTranspiler, which decomposes H gates into sequences of U1q and RZ gates.

Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P5 Constructed gate examples using QASM notation)

property target_gate_names: Sequence[str]#

Returns the set of gate names to be decomposed.

decompose(gate)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class CNOT2U1qZZRZTranspiler(*args, **kwargs)#

Bases: GateKindDecomposer

CircuitTranspiler, which decomposes CNOT gates into sequences of U1q, RZ, and ZZ gates.

Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P5 Constructed gate examples using QASM notation)

property target_gate_names: Sequence[str]#

Returns the set of gate names to be decomposed.

decompose(gate)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class U1qNormalizeWithRZTranspiler(epsilon=1e-09)#

Bases: GateKindDecomposer

CircuitTranspiler, which converts U1q gates into gate sequences containing RZ gates so that theta of the U1q gates will be pi or pi/2.

Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P5)

Parameters:

epsilon (float) –

property epsilon: float#
property target_gate_names: Sequence[str]#

Returns the set of gate names to be decomposed.

decompose(gate)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class CZ2RZZZTranspiler(*args, **kwargs)#

Bases: GateKindDecomposer

CircuitTranspiler, which decomposes CZ gates into sequences of RZ and ZZ gates.

Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P5)

property target_gate_names: Sequence[str]#

Returns the set of gate names to be decomposed.

decompose(gate)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class CNOTRZ2RZZTranspiler(*args, **kwargs)#

Bases: CircuitTranspilerProtocol

CircuitTranspiler, which fuses consecutive CNOT and RZ gates into RZZ(control, target) gates if the gates are in the following sequence and have the following parameters.

[CNOT(control, target), RZ(target, theta), CNOT(control, target)]

Ref:
[1]: https://www.quantinuum.com/hardware/h1

System Model H1 Product Data Sheet (P5 Arbitrary Angle ZZ Gates)