pub struct SimplifyInitial {
pub allow_classical: bool,
pub create_all_qubits: bool,
pub x_circuit: Option<Box<SerialCircuit>>,
}Expand description
Simplify initial states configuration.
Fields§
§allow_classical: boolWhether classical information can be used for simplification.
create_all_qubits: boolWhether to annotate all qubits as initialised to zero.
x_circuit: Option<Box<SerialCircuit>>Optional witness circuit.
Trait Implementations§
Source§impl Clone for SimplifyInitial
impl Clone for SimplifyInitial
Source§fn clone(&self) -> SimplifyInitial
fn clone(&self) -> SimplifyInitial
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimplifyInitial
impl Debug for SimplifyInitial
Source§impl<'de> Deserialize<'de> for SimplifyInitial
impl<'de> Deserialize<'de> for SimplifyInitial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SimplifyInitial
impl PartialEq for SimplifyInitial
Source§impl Serialize for SimplifyInitial
impl Serialize for SimplifyInitial
impl StructuralPartialEq for SimplifyInitial
Auto Trait Implementations§
impl Freeze for SimplifyInitial
impl RefUnwindSafe for SimplifyInitial
impl Send for SimplifyInitial
impl Sync for SimplifyInitial
impl Unpin for SimplifyInitial
impl UnwindSafe for SimplifyInitial
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