ppvm_vihaco::device_info
device_info¶
ppvm_vihaco::device_info
Device configuration for the circuit component. Split into its own module so [`crate::component`] can depend on [`PPVMDeviceInfo`] without pulling in the composite machine (which is added in a later PR).
classPPVMDeviceInfo¶source
ppvm_vihaco::device_info::PPVMDeviceInfo
Bases: Debug, Clone, StructuralPartialEq, PartialEq, Default
Rust struct.
pub struct PPVMDeviceInfoFields
| Name | Type | Description |
|---|---|---|
magic | u32 | |
n_qubits | usize | |
coefficient_threshold | f64 | |
backend | BackendKind | |
observable | Option<String> | |
max_pauli_weight | Option<usize> |
classBackendKind¶source
ppvm_vihaco::device_info::BackendKind
Bases: Debug, Clone, Copy, StructuralPartialEq, PartialEq, Eq, Default
Rust enum. Which execution backend the circuit runs on. Selected via the `device circuit.backend` header; defaults to `Tableau` so existing programs that don't declare a backend keep working.
propertyPPVM_MAGIC¶
ppvm_vihaco::device_info::PPVM_MAGIC
pub const PPVM_MAGIC: u32