quantrs2-sim 0.1.3

Quantum circuit simulators for the QuantRS2 framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # TopologicalQuantumSimulator - create_custom_lattice_group Methods
//!
//! This module contains method implementations for `TopologicalQuantumSimulator`.
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use crate::error::{Result, SimulatorError};

use super::types::TopologicalLattice;

use super::topologicalquantumsimulator_type::TopologicalQuantumSimulator;

impl TopologicalQuantumSimulator {
    /// Create custom lattice
    pub(super) fn create_custom_lattice(dimensions: &[usize]) -> Result<TopologicalLattice> {
        Self::create_square_lattice(dimensions)
    }
}