Skip to content

Commit

Permalink
skip qasm3 circuit test in 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorii committed Jul 10, 2023
1 parent 2da4195 commit fcc9000
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/terra/backends/aer_simulator/test_save_statevector.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Integration Tests for SaveStatevector instruction
"""

import sys
from ddt import ddt
import qiskit.quantum_info as qi
from qiskit import QuantumCircuit, transpile
Expand Down Expand Up @@ -214,6 +215,10 @@ def test_save_statevector_cache_blocking(self, method, device):
)
def test_save_statevector_for_qasm3_circuit(self, method, device):
"""Test save statevector instruction"""
# qiskit_qasm3_import, which is used in qiskit.qasm3 does not support 3.7
if sys.version_info < (3, 8):
return

backend = self.backend(method=method, device=device)

# Stabilizer test circuit
Expand Down

0 comments on commit fcc9000

Please sign in to comment.