# Quantum Analyzer Module

The Quantum Analyzer (QA) module corresponds to the Quantum Analyzer Result Logger tab of LabOne user interface (UI). This nodule allows the user to record multiple measurement shots in its history tab and to apply matrix transformations on the measured complex signals, i.e. $$I$$ and $$Q$$ components obtained by weighted integration. It applies transform operations on the measured signals with the following order.

1. Shift or translation

2. Rotation

3. Scaling or dilation

The transform parameters are set by the module nodes and displayed in the control sub-tab of the QA tab in LabOne UI. The equivalent transformed outcome is obtained by matrix multiplication of the corresponding operators as shown in Equation 1.

$$$\tag{1} \begin{pmatrix} X \\ Y \\ \end{pmatrix} = \begin{bmatrix} S_I & 0 \\ 0 & S_Q \\ \end{bmatrix} \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \\ \end{bmatrix} \begin{pmatrix} I-I_0 \\ Q-Q_0 \\ \end{pmatrix}$$$

where $$I_0$$ and $$Q_0$$ are shift parameters, $$\theta$$ is rotation angle in degree, and $$S_I$$ and $$S_Q$$ are scaling factors. All the measurement shots are recorded in the History sub-tab of the QA tab and can be saved in CSV, HDF5, and MATLAB formats.

## Quantum Analyzer Module Node Tree

The following section contains reference documentation for the settings and measurement data available on the quantum analyzer module.

Since these settings and data streams may be written and read using the LabOne APIs (Application Programming Interfaces) this section is of particular interest to users who would like to perform measurements programmatically via LabVIEW, Python, MATLAB, .NET or C.

### clearhistory

/clearhistory

 Properties: Read, Write Type: Integer (64 bit) Unit: None

Remove all records from the history list.

### historylength

/historylength

 Properties: Read, Write Type: Integer (64 bit) Unit: None

Maximum number of entries stored in the measurement history.

### rotation

/rotation

 Properties: Read, Write Type: Double Unit: None

Rotation angle applied to the recorded complex values.

### scalingi

/scalingi

 Properties: Read, Write Type: Double Unit: None

Scaling factor applied to the I component of the recorded data points.

### scalingq

/scalingq

 Properties: Read, Write Type: Double Unit: None

Scaling factor applied to the Q component of the recorded data points.

### shifti

/shifti

 Properties: Read, Write Type: Double Unit: None

Translation shift applied to the I component of the recorded data points.

### shiftq

/shiftq

 Properties: Read, Write Type: Double Unit: None

Translation shift applied to the Q component of the recorded data points.