Skip to content

Commit

Permalink
Merge branch 'main' into always_init_omp
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorii authored May 14, 2024
2 parents db3b83b + 18987e0 commit 7bf8059
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/terra/backends/aer_simulator/test_chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class TestChunkSimulators(SimulatorTestCase):
def test_chunk_QuantumVolume(self, method, device):
"""Test multi-chunk with quantum volume"""
opts = {"blocking_enable": True, "blocking_qubits": 2}
opts["basis_gates"] = ["h", "cx", "u3"]

backend = self.backend(method=method, device=device, **opts)
backend_no_chunk = self.backend(method=method, device=device)
Expand All @@ -57,10 +58,12 @@ def test_chunk_QuantumVolumeWithFusion(self, method, device):
opts_no_chunk = {
"fusion_enable": True,
"fusion_threshold": 5,
"fusion_max_qubit": 4,
}
opts_chunk = copy.copy(opts_no_chunk)
opts_chunk["blocking_enable"] = True
opts_chunk["blocking_qubits"] = 4
opts_chunk["blocking_qubits"] = 5
opts_chunk["basis_gates"] = ["h", "cx", "u3"]

backend = self.backend(method=method, device=device, **opts_chunk)
backend_no_chunk = self.backend(method=method, device=device, **opts_no_chunk)
Expand Down

0 comments on commit 7bf8059

Please sign in to comment.