Skip to content

Regarding decoherence_and_amp_decay  #6

@gitkarma

Description

@gitkarma

Information

  • Qiskit Terra version:
  • Python version:
  • Operating system:

What is the current behavior?

In dm_simulator.py
The amplitude decay ,thermalization and decoherence is applied at end of every clock cycle to all the qubits.
In the main code at line 1173 a for loop is applied for adding errors to all the qubits by calling _add_decoherence_and_amp_decay function .
Inside the function _add_decoherence_and_amp_decay again a for loop is applied for all the qubits at line 411.
I think one of the loop is redundant but not sure .
Request your comments on the same

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions