mirror of https://github.com/Qiskit/qiskit.git
First rep time by default (#2697)
* qiskit/compiler/assemble.py: Change default rep_time to be the first available (typically the shortest)
This commit is contained in:
parent
9a53f89947
commit
5216f248a6
|
@ -44,7 +44,8 @@ The format is based on [Keep a Changelog].
|
|||
- ZYZ decomposition for single-qubit unitaries (\#2600)
|
||||
|
||||
### Changed
|
||||
- Pulse commands may now start with capitalized letters.
|
||||
- Set default repetition time to be the first available.
|
||||
- Pulse commands may now start with capitalized letters.
|
||||
- The `pylatexenc` and `pillow` requirements are now optional. These
|
||||
are only used by the `latex` and `latex_source` circuit
|
||||
visualization backends. To continue using them ensure these are
|
||||
|
|
|
@ -201,7 +201,7 @@ def _parse_run_args(backend, qobj_id, qobj_header,
|
|||
memory_slots = memory_slots or getattr(backend_config, 'memory_slots', None)
|
||||
rep_time = rep_time or getattr(backend_config, 'rep_times', None)
|
||||
if isinstance(rep_time, list):
|
||||
rep_time = rep_time[-1]
|
||||
rep_time = rep_time[0]
|
||||
|
||||
parameter_binds = parameter_binds or []
|
||||
|
||||
|
|
Loading…
Reference in New Issue