Skip to content

Commit

Permalink
Added database integration, still need to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Haadi-Khan committed Aug 25, 2024
1 parent c7e0d3e commit 473f540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/quantum_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ impl QuantumCircuit {
&self.instr
}

pub fn instructions_mut(&mut self) -> &mut Vec<CircuitInstruction> {
&mut self.instr
}

/// Get the qubit objects for the circuit.
pub fn qubits(&self) -> &Vec<Qubit> {
&self.qubits
Expand Down

0 comments on commit 473f540

Please sign in to comment.