Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ qiskit-cext = { path = "crates/cext" }
qiskit-cext-vtable = { path = "crates/cext-vtable" }
qiskit-circuit = { path = "crates/circuit" }
qiskit-circuit-library = { path = "crates/circuit_library" }
qiskit-providers = { path = "crates/providers" }
qiskit-qasm2 = { path = "crates/qasm2" }
qiskit-qasm3 = { path = "crates/qasm3" }
qiskit-qpy = { path = "crates/qpy" }
Expand Down
2 changes: 2 additions & 0 deletions crates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ The intention is that (much) longer term, we might be wanting to expose more of
* `qiskit-synthesis` is the crate for synthesis functionality.
* `qiskit-circuit-library` is the crate for circuit library functions. It contains constructors or other
circuit functionality that builds on the core circuit data model defined in `qiskit-circuit`.
* `qiskit-providers` is the crate that defines the providers interface for Qiskit. The providers interface is what defines the concept of a Backend.
The backend models a quantum computer, which is the QPU and the infrastructure around it required to execute circuits on the quantum computer.

We use a structure with several crates in it for a couple of reasons:

Expand Down
21 changes: 21 additions & 0 deletions crates/providers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "qiskit-providers"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true

[lib]
name = "qiskit_providers"

[dependencies]
rustworkx-core.workspace = true
anyhow.workspace = true
num-complex.workspace = true

[lints]
workspace = true

[dependencies.ndarray]
workspace = true
features = ["rayon", "approx"]
4 changes: 4 additions & 0 deletions crates/providers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# `qiskit-providers`

This crate defines the Rust data structures and core providers interface
for Qiskit.
13 changes: 13 additions & 0 deletions crates/providers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// This code is part of Qiskit.
//
// (C) Copyright IBM 2026
//
// 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 https://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.

pub mod tensor;
Loading