Skip to content

Support target-specific noise models #426

Description

@perlinm

See comment 1 and comment 2.

There are essentially two capabilities we want:

  1. Allowing NoiseRule to depend on the target qubits of a gate (it currently only depends on the gate name).
  2. Replacing, say, DEPOLARIZE2 and PAULI_CHANNEL_2 noise with appropriate DEPOLARIZE1 and PAULI_CHANNEL_1 instructions when only one qubit is immune to noise.

Option 2 is nice because it allows users to use built-in noise models while declaring only some qubits immune to noise. Option 1 is nice because it allows for, say, non-uniform noise models (e.g., if some qubits are noisier than others).

WARNING: When option 2 is implemented, we should make sure that nothing else in the repo breaks, because some code may assume that a two-qubit gate with one immune target gets no noise.

As a possible application of this PR, we can try to:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions