MainNoiseCircuitFactory

public struct MainNoiseCircuitFactory
extension MainNoiseCircuitFactory: NoiseCircuitFactory

Conforms NoiseCircuitFactory. Use to create new NoiseCircuit instances

Public types

Public init methods

  • Initialize a MainNoiseCircuitFactory instance.

    Declaration

    Swift

    public init(densityMatrixConfiguration: DensityMatrixConfiguration = .matrix())

    Parameters

    densityMatrixConfiguration

    Defines how a density matrix is calculated. By default is set to DensityMatrixConfiguration.matrix, however the performance of each configuration depends on each use case. It is recommended to try different configurations so see how long an execution takes and how much memory is required.

    Return Value

    AMainNoiseCircuitFactory instance.

NoiseCircuitFactory methods