qook 0.17.0

qook - Pure Rust unitaryfund/qrack Wrapper
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// (C) Daniel Strano and the Qrack contributors 2017-2023. All rights reserved.
//
// Pauli operators are specified for "b" (or "basis") parameters.
//
// Use of this source code is governed by an MIT-style license that can be
// found in the LICENSE file or at https://opensource.org/licenses/MIT.

#[derive(Clone)]
pub enum Pauli {
    // Pauli Identity operator. Corresponds to Q# constant "PauliI."
    PauliI = 0,
    // Pauli X operator. Corresponds to Q# constant "PauliX."
    PauliX = 1,
    // Pauli Y operator. Corresponds to Q# constant "PauliY."
    PauliY = 3,
    // Pauli Z operator. Corresponds to Q# constant "PauliZ."
    PauliZ = 2
}