# FineSXAmplitude¶

class FineSXAmplitude(qubit, backend=None)[source]

A fine amplitude experiment with all the options set for the $$\pi/2$$-rotation.

Overview

FineSXAmplitude is a subclass of FineAmplitude and is used to set the appropriate values for the default options.

Analysis Class Reference

FineAmplitudeAnalysis

Experiment Options

These options can be set by set_experiment_options() method.

Parameters:
• normalization (bool) – If set to True the DataProcessor will normalized the measured signal to the interval [0, 1]. Defaults to True.

• gate (Gate) – FineSXAmplitude calibrates an SXGate.

• add_cal_circuits (bool) – If set to True then two circuits to calibrate 0 and 1 points will be added. This option is set to False by default for FineSXAmplitude since the amplitude calibration can be achieved with two SX gates and this is included in the repetitions.

• repetitions (List[int]) – By default the repetitions take on odd numbers for $$\pi/2$$ target angles as this ideally prepares states on the equator of the Bloch sphere. Note that the repetitions include two repetitions which plays the same role as including a circuit with an X gate.

Transpiler Options

This option can be set by set_transpile_options() method.

This option is used for circuit optimization. See the documentation of qiskit.transpile for available options.

Backend Run Options

This option can be set by set_run_options() method.

This option is used for controlling job execution condition. Note that this option is provider dependent. See provider’s backend runner API for available options. See the documentation of IBMQBackend.run for the IBM Quantum Service.

Initialization

Initialize the experiment.

Attributes

 FineSXAmplitude.analysis Return the analysis instance for the experiment FineSXAmplitude.analysis_options Return the analysis options for run() analysis. FineSXAmplitude.backend Return the backend for the experiment FineSXAmplitude.experiment_options Return the options for the experiment. FineSXAmplitude.experiment_type Return experiment type. FineSXAmplitude.num_qubits Return the number of qubits for the experiment. FineSXAmplitude.physical_qubits Return the device qubits for the experiment. FineSXAmplitude.run_options Return options values for the experiment run() method. FineSXAmplitude.transpile_options Return the transpiler options for the run() method.

Methods

 Create the circuits for the fine amplitude calibration experiment. Return the config dataclass for this experiment Return a copy of the experiment FineSXAmplitude.enable_restless([rep_delay, ...]) Enables a restless experiment by setting the restless run options and the restless data processor. Initialize an experiment from experiment config FineSXAmplitude.run([backend, analysis, timeout]) Run an experiment and perform analysis. Set the experiment options. Set options values for the experiment run() method. Set the transpiler options for run() method.