Skip to content

Experiment data completion time is None #1205

@LiranShirizly

Description

@LiranShirizly
Contributor

Informations

  • Qiskit Experiments version:
  • Python version:
  • Operating system:

What is the current behavior?

The property ExperimentData.completion_times (here)
returns None because of outdated string.

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

Change 'COMPLETED' to 'finished' inside the property. Since

exp_data.jobs()[0].time_per_step()

gives:
{'created': datetime.datetime(2023, 6, 21, 11, 14, 3, 657850, tzinfo=tzlocal()), 'finished': datetime.datetime(2023, 6, 21, 11, 15, 40, 728000, tzinfo=tzlocal()), 'running': datetime.datetime(2023, 6, 21, 11, 14, 5, 58000, tzinfo=tzlocal())}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @gadial@LiranShirizly

    Issue actions

      Experiment data completion time is None · Issue #1205 · qiskit-community/qiskit-experiments