quantrs2_sim/quantum_info/statetomographyconfig_traits.rs
1//! # StateTomographyConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `StateTomographyConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::{StateTomographyConfig, TomographyMethod};
12
13impl Default for StateTomographyConfig {
14 fn default() -> Self {
15 Self {
16 shots_per_basis: 1000,
17 method: TomographyMethod::LinearInversion,
18 physical_constraints: true,
19 threshold: 1e-10,
20 }
21 }
22}