Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If any instructions available in a target are ideal, with no qubits or properties set, the target class assumes the backend is ideal (like in the case of an ideal simulator where are all instructions are globally defined and have no error or duration). To avoid this we need to define the Delay instruction on all qubits explicitly. This commit makes this change to ensure the target for backends still shows the qubits and properties for the other operations. However, in adding an instruction with no properties defined a bug in the plot gate error map function was uncovered where it errored because it assumes all instructions have properties defined, this was fixed at the same time.
- Loading branch information