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

T1 is not working on devices #140

Closed
yaelbh opened this issue Jun 28, 2021 · 3 comments
Closed

T1 is not working on devices #140

yaelbh opened this issue Jun 28, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@yaelbh
Copy link
Collaborator

yaelbh commented Jun 28, 2021

experiment_data._data doesn't make sense in machines that have more than one qubit, for example:

[{'counts': {'0': 4441, '1': 3751}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 80}}, {'counts': {'0': 6856, '1': 1336}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 83}}, {'counts': {'0': 8188, '1': 4}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 86}}, {'counts': {'0': 2, '1': 8190}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 89}}, {'counts': {'0': 4822, '1': 3370}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 92}}, {'counts': {'0': 6938, '1': 1254}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 95}}, {'counts': {'0': 8192}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 98}}, {'counts': {'0': 3, '1': 8189}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 101}}, {'counts': {'0': 5215, '1': 2977}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 104}}, {'counts': {'0': 7054, '1': 1138}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 107}}, {'counts': {'0': 8188, '1': 4}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 110}}, {'counts': {'0': 3, '1': 8189}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 113}}, {'counts': {'0': 5494, '1': 2698}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 116}}, {'counts': {'0': 7168, '1': 1024}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 119}}, {'counts': {'0': 8188, '1': 4}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 122}}, {'counts': {'0': 3, '1': 8189}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 125}}, {'counts': {'0': 5654, '1': 2538}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 128}}, {'counts': {'0': 7268, '1': 924}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 131}}, {'counts': {'0': 8190, '1': 2}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 134}}, {'counts': {'0': 3, '1': 8189}, 'metadata': {'experiment_type': 'T1', 'qubit': 0, 'unit': 'us', 'xval': 137}}]

Haggai mentioned a known marginalization issue, but I couldn't find any details about it.

@yaelbh yaelbh added the bug Something isn't working label Jun 28, 2021
@ShellyGarion
Copy link
Contributor

Perhaps this may be related:
Qiskit/qiskit#6430
Qiskit/qiskit#6486

@yaelbh
Copy link
Collaborator Author

yaelbh commented Jun 30, 2021

Now it seems that armonk is not working either.
The marginalization issue is not related: it is a crash, if there is no crash then should work; it's related to pulse instructions; and the issue doesn't happen if we use id instructions instead of delay.
Qiskit/qiskit#6666

@yaelbh yaelbh changed the title T1 works only on armonk T1 is not working on devices Jun 30, 2021
@yaelbh
Copy link
Collaborator Author

yaelbh commented Jul 6, 2021

Following a fix in Terra by @nkanazawa1989, T1 can work now. This requires adding alignment=16, scheduling_method="alap" to the traspiler options.

@yaelbh yaelbh closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants