---
title: IdentifyRelations (latest version)
description: API reference for qiskit_noise_learning.experiment_builder.IdentifyRelations in the latest version of qiskit-noise-learning
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit-noise-learning/generated/experiment-builder-identify-relations
---

# qiskit\_noise\_learning.experiment\_builder.IdentifyRelations

*class* `qiskit_noise_learning.experiment_builder.IdentifyRelations(attempt_instruction_extension: bool = True)`

[GitHub](https://github.com/Qiskit/qiskit-noise-learning/tree/stable/0.1/qiskit_noise_learning/experiment_builder/stages/identify_relations.py)

Bases: [`ExperimentBuilderStage`](/docs/api/qiskit-noise-learning/generated/experiment-builder-experiment-builder-stage "qiskit_noise_learning.experiment_builder.experiment_builder_stage.ExperimentBuilderStage")

Identify new relations amongst existing paths and instruction sequences.

Iterates over all path/sequence pairs and identifies which sequences traverse which paths. Optionally extends instruction sequence permutations to enable new traversals.

**Parameters**

**attempt\_instruction\_extension** – Whether to extend instruction sequence permutations to traverse new paths.

### \_\_init\_\_

`__init__(attempt_instruction_extension: bool = True)`

## Methods

|                                                                                                                                                                                              |                                                  |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [`__init__`](#qiskit_noise_learning.experiment_builder.IdentifyRelations.__init__ "qiskit_noise_learning.experiment_builder.IdentifyRelations.__init__")(\[attempt\_instruction\_extension]) |                                                  |
| `run`(experiment)                                                                                                                                                                            | Validate required fields, then apply this stage. |

## Attributes

|                    |   |
| ------------------ | - |
| `populates_fields` |   |
| `required_fields`  |   |
