From 311a70f9fb70238f0d8356cbe8e321c7b42373d8 Mon Sep 17 00:00:00 2001 From: Melf Date: Mon, 6 Nov 2023 11:38:44 +0000 Subject: [PATCH] try add gate to test --- tests/pyquil_convert_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pyquil_convert_test.py b/tests/pyquil_convert_test.py index dd8ac6e..1870b6e 100644 --- a/tests/pyquil_convert_test.py +++ b/tests/pyquil_convert_test.py @@ -37,6 +37,7 @@ CPHASE, SWAP, MEASURE, + XY, ) from pyquil.quilbase import Measurement from sympy import pi, Symbol @@ -78,6 +79,7 @@ def get_test_program(measure: bool = False) -> Program: p += CCNOT(0, 1, 2) p += CPHASE(PI / 4, 2, 1) p += SWAP(0, 3) + p += XY(PI / 3, 2, 1) if measure: ro = p.declare("ro", "BIT", 4) p += MEASURE(0, ro[0])