QCTraceSimulatorConfiguration QCTraceSimulatorConfiguration QCTraceSimulatorConfiguration Class

Definition

The configuration of QCTraceSimulator.

[Serializable]
public class QCTraceSimulatorConfiguration
type QCTraceSimulatorConfiguration = class
Public Class QCTraceSimulatorConfiguration
Inheritance
QCTraceSimulatorConfigurationQCTraceSimulatorConfigurationQCTraceSimulatorConfiguration
Attributes
SerializableAttribute

Constructors

QCTraceSimulatorConfiguration() QCTraceSimulatorConfiguration() QCTraceSimulatorConfiguration()

Fields

gateTimes gateTimes gateTimes

Specifies the time it takes to execute each gate. In other words, specifies the depth of each primitive operation. These fields are used by the Depth Counter component of QCTraceSimulator to compute the aggregate depth of operations.

throwOnUnconstraintMeasurement throwOnUnconstraintMeasurement throwOnUnconstraintMeasurement

If set to true, an UnconstrainedMeasurementException is thrown every time there is an unconstrained measurement. For more details, please refer to the "Quantum computer trace simulator" documentation section.

useDepthCounter useDepthCounter useDepthCounter

If set to true, QCTraceSimulator collects operations depth per each call graph edge. The names of the metrics collected by the Depth Counter are listed in MetricsNames.DepthCounter For more details, please refer to the "Quantum computer trace simulator/Depth Counter" documentation section.

useDistinctInputsChecker useDistinctInputsChecker useDistinctInputsChecker

If set to true, the Distinct Inputs Checker component of QCTraceSimulator is used. If input to an operation containing non-distinct qubits is detected, a DistinctInputsCheckerException is thrown. For more details, please refer to the "Quantum computer trace simulator/Distinct Inputs Checker" documentation section.

useInvalidatedQubitsUseChecker useInvalidatedQubitsUseChecker useInvalidatedQubitsUseChecker

If set to true, the Invalidated Qubits Use Checker component of QCTraceSimulator is used. If the problem is detected, InvalidatedQubitsUseCheckerException is thrown. For more details, please refer to the "Quantum computer trace simulator/Invalidated Qubits Use Checker" documentation section.

usePrimitiveOperationsCounter usePrimitiveOperationsCounter usePrimitiveOperationsCounter

If set to true, QCTraceSimulator collects primitive operation counts for each call graph edge. The names of the metrics collected by Primitive Operations Counter are listed in PrimitiveOperationsGroupsNames. For more details, please refer to the "Quantum computer trace simulator/Primitive Operations Counter" documentation section.

useWidthCounter useWidthCounter useWidthCounter

If set to true, QCTraceSimulator collects information about the number of qubits used per call graph edge. The names of the metrics collected by the Width Counter are listed in MetricsNames.WidthCounter. For more details, please refer to the "Quantum computer trace simulator/ Width Counter" documentation section.

Applies to