Microsoft.Quantum.Simulation.Simulators.QCTraceSimulators Namespace

Classes

DistinctInputsCheckerException

This exception is thrown when the input to an operation contains multiple qubits with the same ID.

GateTimes

This class provides sample configurations for the gateTimes field that follow some conventions commonly used in the literature.

InvalidatedQubitsUseCheckerException

This exception is thrown when a qubit input to the operation has already been released or returned. Qubits are released at the end of a Q# using statement and returned at the end of a Q# borrowing statement.

MetricsCountersNames

Names of metric calculators used in QCTraceSimulator. These correspond to the keys of the dictionary returned by ToCSV(String).

MetricsNames

Names of the metrics supported by components of QCTraceSimulator.

MetricsNames.DepthCounter

Metric names collected by the DepthCounter component. Set useDepthCounter to true to enable collection.

MetricsNames.WidthCounter

Metric names collected by the Width Counter component. Set useWidthCounter to true to enable collection.

PrimitiveOperationsGroupsNames

Names of primitive operation groups for which statistics are collected by QCTraceSimulator when usePrimitiveOperationsCounter is set to true. These can be passed as an argument metric to GetMetric<TOperation,TCaller>(String, OperationFunctor, OperationFunctor).

QCTraceSimulator

Quantum Computer Trace Simulator. Simulates a trace of the execution of a quantum program on a quantum computer without performing full quantum state simulation.

QCTraceSimulatorConfiguration

The configuration of QCTraceSimulator.

QubitTimeMetricsException

This exception is thrown when inconsistencies in the recording of qubit metrics are detected.

StatisticsNames

Names of the statistics collected by QCTraceSimulator.

UnconstrainedMeasurementException

This exception is thrown when a measurement is performed, but has not been annotated using a call to either Microsoft.Quantum.Primitive.AssertProb or Microsoft.Quantum.Primitive.Assert.

Enums

PrimitiveOperationsGroups

Groups of primitive operations counted by QCTraceSimulator. Used as a key for the gateTimes dictionary.