pub struct Backend {
pub name: String,
pub num_qubits: usize,
pub basis_gates: HashSet<String>,
pub coupling_map: Graph<(), (), Directed>,
}Expand description
Backend Specification
Fields§
§name: String§num_qubits: usize§basis_gates: HashSet<String>§coupling_map: Graph<(), (), Directed>Coupling map representing physical qubit connectivity. Nodes are physical qubits, edges represent allowed 2-qubit gates.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
impl UnwindSafe for Backend
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