pub enum QuantumGateInstruction {
LocalR {
arity: u32,
},
LocalRz {
arity: u32,
},
GlobalR,
GlobalRz,
CZ,
}Expand description
Quantum gate instructions (device code 0x11).
Variants§
LocalR
Local R rotation on arity locations. Opcode 0x0011.
LocalRz
Local Rz rotation on arity locations. Opcode 0x0111.
GlobalR
Global R rotation. Opcode 0x0211.
GlobalRz
Global Rz rotation. Opcode 0x0311.
CZ
Controlled-Z gate on a zone. Opcode 0x0411.
Trait Implementations§
Source§impl Clone for QuantumGateInstruction
impl Clone for QuantumGateInstruction
Source§fn clone(&self) -> QuantumGateInstruction
fn clone(&self) -> QuantumGateInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuantumGateInstruction
impl Debug for QuantumGateInstruction
Source§impl PartialEq for QuantumGateInstruction
impl PartialEq for QuantumGateInstruction
impl Copy for QuantumGateInstruction
impl Eq for QuantumGateInstruction
impl StructuralPartialEq for QuantumGateInstruction
Auto Trait Implementations§
impl Freeze for QuantumGateInstruction
impl RefUnwindSafe for QuantumGateInstruction
impl Send for QuantumGateInstruction
impl Sync for QuantumGateInstruction
impl Unpin for QuantumGateInstruction
impl UnwindSafe for QuantumGateInstruction
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