Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix twirling asv benchmark #13421

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/benchmarks/manipulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import os

from qiskit import QuantumCircuit
from qiskit.circuit import twirl_circuit
from qiskit.circuit import pauli_twirl_2q_gates
from qiskit.passmanager import PropertySet
from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager
from .utils import multi_control_circuit
Expand All @@ -38,7 +38,7 @@ def time_DTC100_twirling(self):
"""Perform Pauli-twirling on a 100Q QV
circuit
"""
out = twirl_circuit(self.dtc_qc, seed=12345678942)
out = pauli_twirl_2q_gates(self.dtc_qc, seed=12345678942)
return out

def time_multi_control_decompose(self):
Expand Down