pub struct HolographicQECSimulator {Show 15 fields
pub config: HolographicQECConfig,
pub boundary_state: Option<Array1<Complex64>>,
pub bulk_state: Option<Array1<Complex64>>,
pub holographic_duality: Option<HolographicDuality>,
pub rt_surfaces: Vec<RTSurface>,
pub bulk_geometry: Option<BulkGeometry>,
pub boundary_theory: Option<BoundaryTheory>,
pub entanglement_structure: Option<EntanglementStructure>,
pub error_correction_operators: HashMap<String, Array2<Complex64>>,
pub stabilizer_generators: Vec<Array2<Complex64>>,
pub logical_operators: Vec<Array2<Complex64>>,
pub syndrome_measurements: Vec<f64>,
pub gravity_simulator: Option<QuantumGravitySimulator>,
pub backend: Option<SciRS2Backend>,
pub stats: HolographicQECStats,
}Expand description
Holographic quantum error correction simulator
Fields§
§config: HolographicQECConfigConfiguration
boundary_state: Option<Array1<Complex64>>Boundary quantum state
bulk_state: Option<Array1<Complex64>>Bulk quantum state
holographic_duality: Option<HolographicDuality>Holographic duality mapping
rt_surfaces: Vec<RTSurface>Ryu-Takayanagi surfaces
bulk_geometry: Option<BulkGeometry>Bulk geometry
boundary_theory: Option<BoundaryTheory>Boundary theory
entanglement_structure: Option<EntanglementStructure>Entanglement structure
error_correction_operators: HashMap<String, Array2<Complex64>>Error correction operators
stabilizer_generators: Vec<Array2<Complex64>>Stabilizer generators
logical_operators: Vec<Array2<Complex64>>Logical operators
syndrome_measurements: Vec<f64>Syndrome measurements
gravity_simulator: Option<QuantumGravitySimulator>Quantum gravity simulator for bulk dynamics
backend: Option<SciRS2Backend>SciRS2 backend for computations
stats: HolographicQECStatsSimulation statistics
Implementations§
Source§impl HolographicQECSimulator
impl HolographicQECSimulator
Sourcepub fn create_holographic_encoding_matrix(
&self,
boundary_dim: usize,
bulk_dim: usize,
) -> Result<Array2<Complex64>>
pub fn create_holographic_encoding_matrix( &self, boundary_dim: usize, bulk_dim: usize, ) -> Result<Array2<Complex64>>
Create holographic encoding matrix using tensor network structure
Sourcepub fn create_ads_rindler_encoding(
&self,
encoding_matrix: &mut Array2<Complex64>,
) -> Result<()>
pub fn create_ads_rindler_encoding( &self, encoding_matrix: &mut Array2<Complex64>, ) -> Result<()>
Create AdS-Rindler holographic encoding
Sourcepub fn calculate_rindler_factor(
&self,
bulk_index: usize,
boundary_index: usize,
) -> f64
pub fn calculate_rindler_factor( &self, bulk_index: usize, boundary_index: usize, ) -> f64
Calculate Rindler factor for AdS-Rindler encoding
Sourcepub fn calculate_entanglement_factor(
&self,
bulk_index: usize,
boundary_index: usize,
) -> f64
pub fn calculate_entanglement_factor( &self, bulk_index: usize, boundary_index: usize, ) -> f64
Calculate entanglement factor for holographic encoding
Source§impl HolographicQECSimulator
impl HolographicQECSimulator
Sourcepub fn perform_error_correction(
&mut self,
error_locations: &[usize],
) -> Result<HolographicQECResult>
pub fn perform_error_correction( &mut self, error_locations: &[usize], ) -> Result<HolographicQECResult>
Perform holographic error correction
Source§impl HolographicQECSimulator
impl HolographicQECSimulator
Sourcepub fn new(config: HolographicQECConfig) -> Self
pub fn new(config: HolographicQECConfig) -> Self
Create a new holographic quantum error correction simulator
Sourcepub fn initialize(&mut self) -> Result<()>
pub fn initialize(&mut self) -> Result<()>
Initialize the holographic quantum error correction system
Sourcepub fn setup_stabilizer_generators(&mut self) -> Result<()>
pub fn setup_stabilizer_generators(&mut self) -> Result<()>
Setup stabilizer generators
Sourcepub fn perform_bulk_reconstruction(
&mut self,
boundary_data: &[Complex64],
) -> Result<BulkReconstructionResult>
pub fn perform_bulk_reconstruction( &mut self, boundary_data: &[Complex64], ) -> Result<BulkReconstructionResult>
Perform bulk reconstruction
Sourcepub const fn get_stats(&self) -> &HolographicQECStats
pub const fn get_stats(&self) -> &HolographicQECStats
Get simulation statistics
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for HolographicQECSimulator
impl !UnwindSafe for HolographicQECSimulator
impl Freeze for HolographicQECSimulator
impl Send for HolographicQECSimulator
impl Sync for HolographicQECSimulator
impl Unpin for HolographicQECSimulator
impl UnsafeUnpin for HolographicQECSimulator
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.