SimplifiedNoise

public enum SimplifiedNoise
extension SimplifiedNoise: Hashable

Simplified representation of a quantum noise operator. Use to easily identify the type of a quantum noise and its components

  • Noise channel that applies a bit flip to target with given probability

    Declaration

    Swift

    case bitFlip(probability: Double, target: Int)
  • Noise channel that applies matrices to any number of inputs

    Declaration

    Swift

    case matrices(matrices: [Matrix], inputs: [Int])
  • Noise channel that applies a phase damping to target with given probability

    Declaration

    Swift

    case phaseDamping(probability: Double, target: Int)