pub struct QVM { /* private fields */ }
Implementations§
Source§impl QVM
To calculate all qubit, we need (2^n)x(2^n) size huge matrix and computation time is
O(4^n) mathmetically. However, we need only use fucntion that performs linear transformation
for better performance. Computation time of this implement is O(2^n).
impl QVM
To calculate all qubit, we need (2^n)x(2^n) size huge matrix and computation time is O(4^n) mathmetically. However, we need only use fucntion that performs linear transformation for better performance. Computation time of this implement is O(2^n).
Source§impl QVM
impl QVM
pub fn print_register(&self)
Auto Trait Implementations§
impl Freeze for QVM
impl RefUnwindSafe for QVM
impl Send for QVM
impl Sync for QVM
impl Unpin for QVM
impl UnwindSafe for QVM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more