Skip to content

Commit

Permalink
Docs: Add header strings in bit.rs and register.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
raynelfss committed Jan 29, 2025
1 parent 5169fc6 commit c2461ba
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions crates/circuit/src/bit.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// This code is part of Qiskit.
//
// (C) Copyright IBM 2025
//
// This code is licensed under the Apache License, Version 2.0. You may
// obtain a copy of this license in the LICENSE.txt file in the root directory
// of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
//
// Any modifications or derivative works of this code must retain this
// copyright notice, and modified files need to carry a notice indicating
// that they have been altered from the originals.

use std::fmt::Debug;

/// Keeps information about where a bit is located within the circuit.
Expand Down
12 changes: 12 additions & 0 deletions crates/circuit/src/register.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// This code is part of Qiskit.
//
// (C) Copyright IBM 2025
//
// This code is licensed under the Apache License, Version 2.0. You may
// obtain a copy of this license in the LICENSE.txt file in the root directory
// of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
//
// Any modifications or derivative works of this code must retain this
// copyright notice, and modified files need to carry a notice indicating
// that they have been altered from the originals.

use indexmap::IndexSet;
use pyo3::{exceptions::PyTypeError, intern, types::PyAnyMethods, FromPyObject};
use std::{
Expand Down

0 comments on commit c2461ba

Please sign in to comment.