Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
move qasm3 options to common options (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 authored Jun 12, 2023
1 parent afbd43c commit 9ec9664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_provider/utils/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class CommonOptions:
meas_level: Union[int, MeasLevel] = MeasLevel.CLASSIFIED
init_qubits: bool = True
rep_delay: Optional[float] = None
memory: bool = False
meas_return: Union[str, MeasReturnType] = MeasReturnType.AVERAGE

def to_transport_dict(self) -> Dict[str, Any]:
"""Remove None values so runtime defaults are used."""
Expand All @@ -51,7 +53,6 @@ class QASM2Options(CommonOptions):
"""Options for the QASM2 path."""

header: Optional[Dict] = None
memory: bool = False
qubit_lo_freq: Optional[List[int]] = None
meas_lo_freq: Optional[List[int]] = None
schedule_los: Optional[
Expand All @@ -60,7 +61,6 @@ class QASM2Options(CommonOptions):
Union[Dict[PulseChannel, float], LoConfig],
]
] = None
meas_return: Union[str, MeasReturnType] = MeasReturnType.AVERAGE
init_qubits: bool = True
use_measure_esp: Optional[bool] = None
# Simulator only
Expand Down

0 comments on commit 9ec9664

Please sign in to comment.