Skip to content

Stmts

CorrelatedQubitLoss

Bases: NoiseChannel


              flowchart TD
              bloqade.squin.noise.stmts.CorrelatedQubitLoss[CorrelatedQubitLoss]
              bloqade.squin.noise.stmts.NoiseChannel[NoiseChannel]

                              bloqade.squin.noise.stmts.NoiseChannel --> bloqade.squin.noise.stmts.CorrelatedQubitLoss
                


              click bloqade.squin.noise.stmts.CorrelatedQubitLoss href "" "bloqade.squin.noise.stmts.CorrelatedQubitLoss"
              click bloqade.squin.noise.stmts.NoiseChannel href "" "bloqade.squin.noise.stmts.NoiseChannel"
            

Apply a correlated atom loss channel.

Depolarize

Bases: SingleQubitNoiseChannel


              flowchart TD
              bloqade.squin.noise.stmts.Depolarize[Depolarize]
              bloqade.squin.noise.stmts.SingleQubitNoiseChannel[SingleQubitNoiseChannel]
              bloqade.squin.noise.stmts.NoiseChannel[NoiseChannel]

                              bloqade.squin.noise.stmts.SingleQubitNoiseChannel --> bloqade.squin.noise.stmts.Depolarize
                                bloqade.squin.noise.stmts.NoiseChannel --> bloqade.squin.noise.stmts.SingleQubitNoiseChannel
                



              click bloqade.squin.noise.stmts.Depolarize href "" "bloqade.squin.noise.stmts.Depolarize"
              click bloqade.squin.noise.stmts.SingleQubitNoiseChannel href "" "bloqade.squin.noise.stmts.SingleQubitNoiseChannel"
              click bloqade.squin.noise.stmts.NoiseChannel href "" "bloqade.squin.noise.stmts.NoiseChannel"
            

Apply depolarize error to single qubit.

This randomly picks one of the three Pauli operators to apply. Each Pauli operator has the probability p / 3 to be selected. No operator is applied with the probability 1 - p.

Depolarize2

Bases: TwoQubitNoiseChannel


              flowchart TD
              bloqade.squin.noise.stmts.Depolarize2[Depolarize2]
              bloqade.squin.noise.stmts.TwoQubitNoiseChannel[TwoQubitNoiseChannel]
              bloqade.squin.noise.stmts.NoiseChannel[NoiseChannel]

                              bloqade.squin.noise.stmts.TwoQubitNoiseChannel --> bloqade.squin.noise.stmts.Depolarize2
                                bloqade.squin.noise.stmts.NoiseChannel --> bloqade.squin.noise.stmts.TwoQubitNoiseChannel
                



              click bloqade.squin.noise.stmts.Depolarize2 href "" "bloqade.squin.noise.stmts.Depolarize2"
              click bloqade.squin.noise.stmts.TwoQubitNoiseChannel href "" "bloqade.squin.noise.stmts.TwoQubitNoiseChannel"
              click bloqade.squin.noise.stmts.NoiseChannel href "" "bloqade.squin.noise.stmts.NoiseChannel"
            

Apply correlated depolarize error to two qubits

This will apply one of the randomly chosen Pauli products each with probability p / 15:

{IX, IY, IZ, XI, XX, XY, XZ, YI, YX, YY, YZ, ZI, ZX, ZY, ZZ}

QubitLoss

Bases: SingleQubitNoiseChannel


              flowchart TD
              bloqade.squin.noise.stmts.QubitLoss[QubitLoss]
              bloqade.squin.noise.stmts.SingleQubitNoiseChannel[SingleQubitNoiseChannel]
              bloqade.squin.noise.stmts.NoiseChannel[NoiseChannel]

                              bloqade.squin.noise.stmts.SingleQubitNoiseChannel --> bloqade.squin.noise.stmts.QubitLoss
                                bloqade.squin.noise.stmts.NoiseChannel --> bloqade.squin.noise.stmts.SingleQubitNoiseChannel
                



              click bloqade.squin.noise.stmts.QubitLoss href "" "bloqade.squin.noise.stmts.QubitLoss"
              click bloqade.squin.noise.stmts.SingleQubitNoiseChannel href "" "bloqade.squin.noise.stmts.SingleQubitNoiseChannel"
              click bloqade.squin.noise.stmts.NoiseChannel href "" "bloqade.squin.noise.stmts.NoiseChannel"
            

Apply an atom loss with channel.

SingleQubitPauliChannel

Bases: SingleQubitNoiseChannel


              flowchart TD
              bloqade.squin.noise.stmts.SingleQubitPauliChannel[SingleQubitPauliChannel]
              bloqade.squin.noise.stmts.SingleQubitNoiseChannel[SingleQubitNoiseChannel]
              bloqade.squin.noise.stmts.NoiseChannel[NoiseChannel]

                              bloqade.squin.noise.stmts.SingleQubitNoiseChannel --> bloqade.squin.noise.stmts.SingleQubitPauliChannel
                                bloqade.squin.noise.stmts.NoiseChannel --> bloqade.squin.noise.stmts.SingleQubitNoiseChannel
                



              click bloqade.squin.noise.stmts.SingleQubitPauliChannel href "" "bloqade.squin.noise.stmts.SingleQubitPauliChannel"
              click bloqade.squin.noise.stmts.SingleQubitNoiseChannel href "" "bloqade.squin.noise.stmts.SingleQubitNoiseChannel"
              click bloqade.squin.noise.stmts.NoiseChannel href "" "bloqade.squin.noise.stmts.NoiseChannel"
            

This will apply one of the randomly chosen Pauli operators according to the given probabilities (p_x, p_y, p_z).

TwoQubitPauliChannel

Bases: TwoQubitNoiseChannel


              flowchart TD
              bloqade.squin.noise.stmts.TwoQubitPauliChannel[TwoQubitPauliChannel]
              bloqade.squin.noise.stmts.TwoQubitNoiseChannel[TwoQubitNoiseChannel]
              bloqade.squin.noise.stmts.NoiseChannel[NoiseChannel]

                              bloqade.squin.noise.stmts.TwoQubitNoiseChannel --> bloqade.squin.noise.stmts.TwoQubitPauliChannel
                                bloqade.squin.noise.stmts.NoiseChannel --> bloqade.squin.noise.stmts.TwoQubitNoiseChannel
                



              click bloqade.squin.noise.stmts.TwoQubitPauliChannel href "" "bloqade.squin.noise.stmts.TwoQubitPauliChannel"
              click bloqade.squin.noise.stmts.TwoQubitNoiseChannel href "" "bloqade.squin.noise.stmts.TwoQubitNoiseChannel"
              click bloqade.squin.noise.stmts.NoiseChannel href "" "bloqade.squin.noise.stmts.NoiseChannel"
            

This will apply one of the randomly chosen Pauli products:

{IX, IY, IZ, XI, XX, XY, XZ, YI, YX, YY, YZ, ZI, ZX, ZY, ZZ}

but the choice is weighed with the given probability.

NOTE: the given parameters are ordered as given in the list above!