diff options
Diffstat (limited to 'libmu/src/core/bit.rs')
| -rw-r--r-- | libmu/src/core/bit.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libmu/src/core/bit.rs b/libmu/src/core/bit.rs new file mode 100644 index 0000000..a5bce51 --- /dev/null +++ b/libmu/src/core/bit.rs @@ -0,0 +1,10 @@ +use crate::{ColumnVector, Complex, QuantumGate}; + +pub type QuantumBit = ColumnVector<Complex<f64>>; +pub type ClassicalBit = bool; + +impl QuantumBit { + pub fn apply_gate(&mut self, _gate: &QuantumGate) { + todo!(); + } +} |
