Skip to content

T2 unittest seems to work incorrectly  #319

@nkanazawa1989

Description

@nkanazawa1989

Informations

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

What is the current behavior?

T2 experiment accept osc_freq in units of "Hz". In the unittest, it accepts a constant frequency value over different time unit prefactors, however, it correctly estimates frequency value.

https://github.com/Qiskit/qiskit-experiments/blob/2d412864c9609bbd0888dbfc9c58eec26796fad8/test/test_t2ramsey.py#L163-L170

In this configuration, frequency is 0.1 Hz, according to the API documentation. Note that it is likely impossible to estimate this frequency with Ramsey delay scan in the window of 45 ns or 45 us (due to too short sampling window), and 45 sec (due to Nyquist frequency).

This may indicate T2Backend incorrectly scales frequency value in it.

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions