qdk_sim_experimental 0.24.199223-beta

Experimental simulators for use with the Quantum Development Kit.
Documentation
Build #528189 2022-03-18T21:41:37.249559+00:00
# rustc version
rustc 1.61.0-nightly (58f11791a 2022-03-17)
# docs.rs version
docsrs 0.6.0 (5188c7e 2022-03-04)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/qdk_sim_experimental-0.24.199223-beta/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/qdk_sim_experimental-0.24.199223-beta/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--html-in-header\", \"docs-includes/header.html\", \"--html-after-content\", \"docs-includes/after.html\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220317-1.61.0-nightly-58f11791a\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6e549f3dcd1f0ff0869c6a72376bcd407321acec41635801086be6ecf207cdd7
[INFO] running `Command { std: "docker" "start" "-a" "6e549f3dcd1f0ff0869c6a72376bcd407321acec41635801086be6ecf207cdd7", kill_on_drop: false }`
[INFO] [stderr]  Documenting qdk_sim_experimental v0.24.199223-beta (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples`
[INFO] [stderr]   --> src/lib.rs:20:23
[INFO] [stderr]    |
[INFO] [stderr] 20 | #![cfg_attr(doc, warn(missing_doc_code_examples))]
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:9:32
[INFO] [stderr]    |
[INFO] [stderr] 9  | #![cfg_attr(doc, cfg_attr(doc, doc = include_str!("../README.md")))]
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:20:23
[INFO] [stderr]    |
[INFO] [stderr] 20 | #![cfg_attr(doc, warn(missing_doc_code_examples))]
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/c_api.rs:9:32
[INFO] [stderr]   |
[INFO] [stderr] 9 | #![cfg_attr(doc, cfg_attr(doc, doc = include_str!("../docs/c-api.md")))]
[INFO] [stderr]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/c_api.rs:68:1
[INFO] [stderr]    |
[INFO] [stderr] 68 | / /// Returns information about how this simulator was built, serialized as a
[INFO] [stderr] 69 | | /// JSON object.
[INFO] [stderr]    | |________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/c_api.rs:84:1
[INFO] [stderr]    |
[INFO] [stderr] 84 | / /// Returns the last error message raised by a call to a C function.
[INFO] [stderr] 85 | | /// If no error message has been raised, returns a null pointer.
[INFO] [stderr]    | |________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:94:1
[INFO] [stderr]     |
[INFO] [stderr] 94  | / /// Allocate a new simulator with a given capacity, measured in the number of
[INFO] [stderr] 95  | | /// qubits supported by that simulator. Returns an id that can be used to refer
[INFO] [stderr] 96  | | /// to the new simulator in future function calls.
[INFO] [stderr] 97  | | ///
[INFO] [stderr] ...   |
[INFO] [stderr] 114 | | /// - Ensuring that `representation` is a valid pointer to a null-terminated
[INFO] [stderr] 115 | | ///   string of Unicode characters, encoded as UTF-8.
[INFO] [stderr]     | |_____________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:154:1
[INFO] [stderr]     |
[INFO] [stderr] 154 | / /// Deallocates the simulator with the given id, releasing any resources owned
[INFO] [stderr] 155 | | /// by that simulator.
[INFO] [stderr]     | |______________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:171:1
[INFO] [stderr]     |
[INFO] [stderr] 171 | / /// Applies the `X` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 172 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:178:1
[INFO] [stderr]     |
[INFO] [stderr] 178 | / /// Applies the `Y` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 179 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:185:1
[INFO] [stderr]     |
[INFO] [stderr] 185 | / /// Applies the `Z` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 186 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:192:1
[INFO] [stderr]     |
[INFO] [stderr] 192 | / /// Applies the `H` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 193 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:199:1
[INFO] [stderr]     |
[INFO] [stderr] 199 | / /// Applies the `S` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 200 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:206:1
[INFO] [stderr]     |
[INFO] [stderr] 206 | / /// Applies the `Adjoint S` operation acting on a given qubit to a given
[INFO] [stderr] 207 | | /// simulator, using the currently set noise model.
[INFO] [stderr]     | |___________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:213:1
[INFO] [stderr]     |
[INFO] [stderr] 213 | / /// Applies the `T` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 214 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:220:1
[INFO] [stderr]     |
[INFO] [stderr] 220 | / /// Applies the `Adjoint T` operation acting on a given qubit to a given simulator,
[INFO] [stderr] 221 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:227:1
[INFO] [stderr]     |
[INFO] [stderr] 227 | / /// Applies the `CNOT` operation acting on two given qubits to a given simulator,
[INFO] [stderr] 228 | | /// using the currently set noise model.
[INFO] [stderr]     | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:234:1
[INFO] [stderr]     |
[INFO] [stderr] 234 | / /// Measures a single qubit in the $Z$-basis, returning the result by setting
[INFO] [stderr] 235 | | /// the value at a given pointer.
[INFO] [stderr] 236 | | ///
[INFO] [stderr] 237 | | /// # Safety
[INFO] [stderr] 238 | | /// This function is marked as unsafe as it is the caller's responsibility to
[INFO] [stderr] 239 | | /// ensure that `result_out` is a valid pointer, and that the memory referenced
[INFO] [stderr] 240 | | /// by `result_out` can be safely set.
[INFO] [stderr]     | |______________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:257:1
[INFO] [stderr]     |
[INFO] [stderr] 257 | / /// Gets the noise model corresponding to a particular name, serialized as a
[INFO] [stderr] 258 | | /// string representing a JSON object.
[INFO] [stderr] 259 | | ///
[INFO] [stderr] 260 | | /// Currently recognized names:
[INFO] [stderr] ...   |
[INFO] [stderr] 281 | | ///   case, the caller is considered to own the memory allocated for this
[INFO] [stderr] 282 | | ///   string.
[INFO] [stderr]     | |_____________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:301:1
[INFO] [stderr]     |
[INFO] [stderr] 301 | / /// Returns the currently configured noise model for a given simulator,
[INFO] [stderr] 302 | | /// serialized as a string representing a JSON object.
[INFO] [stderr] 303 | | ///
[INFO] [stderr] 304 | | /// # Safety
[INFO] [stderr] ...   |
[INFO] [stderr] 318 | | ///   case, the caller is considered to own the memory allocated for this
[INFO] [stderr] 319 | | ///   string.
[INFO] [stderr]     | |_____________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:340:1
[INFO] [stderr]     |
[INFO] [stderr] 340 | / /// Sets the noise model used by a given simulator instance, given a string
[INFO] [stderr] 341 | | /// containing a JSON serialization of that noise model.
[INFO] [stderr] 342 | | ///
[INFO] [stderr] 343 | | /// # Safety
[INFO] [stderr] ...   |
[INFO] [stderr] 351 | | /// - No other thread may modify the memory referenced by `new_model` for at
[INFO] [stderr] 352 | | ///   least the duration of the call.
[INFO] [stderr]     | |_____________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:392:1
[INFO] [stderr]     |
[INFO] [stderr] 392 | / /// Sets the noise model used by a given simulator instance, given a string
[INFO] [stderr] 393 | | /// containing the name of a built-in noise model.
[INFO] [stderr] 394 | | ///
[INFO] [stderr] 395 | | /// # Safety
[INFO] [stderr] ...   |
[INFO] [stderr] 403 | | /// - No other thread may modify the memory referenced by `new_model` for at
[INFO] [stderr] 404 | | ///   least the duration of the call.
[INFO] [stderr]     | |_____________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/c_api.rs:426:1
[INFO] [stderr]     |
[INFO] [stderr] 426 | /// Returns the state of a given simulator, serialized as a JSON object.
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/common_matrices.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | / //! Definitions for commonly used vectors and matrices, such as the Pauli
[INFO] [stderr] 5 | | //! matrices, common Clifford operators, and elementary matrices.
[INFO] [stderr]   | |_________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | /// Returns a copy of the single-qubit identity matrix.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | /// Returns a unitary matrix representing the `X` operation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:25:1
[INFO] [stderr]    |
[INFO] [stderr] 25 | /// Returns a unitary matrix representing the `Y` operation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:30:1
[INFO] [stderr]    |
[INFO] [stderr] 30 | /// Returns a unitary matrix representing the `Z` operation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | /// Returns a unitary matrix representing the single-qubit Hadamard transformation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:40:1
[INFO] [stderr]    |
[INFO] [stderr] 40 | /// Returns a unitary matrix representing the `T` operation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:48:1
[INFO] [stderr]    |
[INFO] [stderr] 48 | /// Returns a unitary matrix representing the `S` operation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:53:1
[INFO] [stderr]    |
[INFO] [stderr] 53 | /// Returns a unitary matrix representing the `CNOT` operation.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/common_matrices.rs:82:1
[INFO] [stderr]    |
[INFO] [stderr] 82 | / /// Returns an elementary matrix; that is, a matrix with a one at a given index
[INFO] [stderr] 83 | | /// and zeros everywhere else.
[INFO] [stderr]    | |______________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/linalg.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! Provides common linear algebra functions and traits.
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/linalg.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / /// Represents types that have hermitian conjugates (e.g.: $A^\dagger$ for
[INFO] [stderr] 13 | | /// a matrix $A$ is defined as the complex conjugate transpose of $A$,
[INFO] [stderr] 14 | | /// $(A^\dagger)\_{ij} = A\_{ji}^*$).
[INFO] [stderr]    | |_____________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/linalg.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     /// Returns the hermitian conjugate (colloquially, the dagger) of a
[INFO] [stderr] 20 | |     /// borrowed reference as a new copy.
[INFO] [stderr] 21 | |     ///
[INFO] [stderr] 22 | |     /// For most types implementing this trait, the hermitian conjugate
[INFO] [stderr] 23 | |     /// is represented by the conjugate transpose.
[INFO] [stderr]    | |__________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/linalg.rs:43:1
[INFO] [stderr]    |
[INFO] [stderr] 43 | / /// Represent types that can be conjugated by 2-dimensional arrays; that is,
[INFO] [stderr] 44 | | /// as $UXU^{\dagger}$.
[INFO] [stderr]    | |_______________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/linalg.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 46 |     /// Conjugates this value by a given matrix, returning a copy.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/linalg.rs:56:1
[INFO] [stderr]    |
[INFO] [stderr] 56 | /// The tensor product operator ($\otimes$).
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/linalg.rs:123:1
[INFO] [stderr]     |
[INFO] [stderr] 123 | /// Represents types for which the trace can be computed.
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/linalg.rs:157:1
[INFO] [stderr]     |
[INFO] [stderr] 157 | / /// Given an array representing an operator acting on single-qubit states,
[INFO] [stderr] 158 | | /// returns a new operator that acts on $n$-qubit states.
[INFO] [stderr]     | |_________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/linalg.rs:179:1
[INFO] [stderr]     |
[INFO] [stderr] 179 | / /// Given a view of an array representing a matrix acting on two-qubit states,
[INFO] [stderr] 180 | | /// extends that array to act on $n$ qubits.
[INFO] [stderr]     | |____________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/linalg.rs:213:1
[INFO] [stderr]     |
[INFO] [stderr] 213 | / /// Given a two-index array (i.e.: a matrix) of dimensions 2^n × 2^n for some
[INFO] [stderr] 214 | | /// n, permutes the left and right indices of the matrix.
[INFO] [stderr] 215 | | /// Used to represent, for example, swapping qubits in a register.
[INFO] [stderr]     | |__________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/linalg.rs:246:1
[INFO] [stderr]     |
[INFO] [stderr] 246 | / /// Returns a new array of the same type and shape as a given array, but
[INFO] [stderr] 247 | | /// containing only zeros.
[INFO] [stderr]     | |__________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/processes/apply.rs:18:1
[INFO] [stderr]     |
[INFO] [stderr] 18  | / impl Process {
[INFO] [stderr] 19  | |     /// Applies this process to a quantum register with a given
[INFO] [stderr] 20  | |     /// state, returning the new state of that register.
[INFO] [stderr] 21  | |     pub fn apply(&self, state: &State) -> Result<State, String> {
[INFO] [stderr] ...   |
[INFO] [stderr] 132 | |     }
[INFO] [stderr] 133 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/processes/apply.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     /// Applies this process to a quantum register with a given
[INFO] [stderr] 20 | |     /// state, returning the new state of that register.
[INFO] [stderr]    | |________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/processes/apply.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 46 | /     /// Applies this process to the given qubits in a register with a given
[INFO] [stderr] 47 | |     /// state, returning the new state of that register.
[INFO] [stderr]    | |________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/processes/mod.rs:58:1
[INFO] [stderr]     |
[INFO] [stderr] 58  | / impl Process {
[INFO] [stderr] 59  | |     /// Returns a new Pauli channel, given a mixture of Pauli operators.
[INFO] [stderr] 60  | |     pub fn new_pauli_channel<T: IntoPauliMixture>(data: T) -> Self {
[INFO] [stderr] 61  | |         let data = data.into_pauli_mixture();
[INFO] [stderr] ...   |
[INFO] [stderr] 165 | |     }
[INFO] [stderr] 166 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/processes/mod.rs:59:5
[INFO] [stderr]    |
[INFO] [stderr] 59 |     /// Returns a new Pauli channel, given a mixture of Pauli operators.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/processes/mod.rs:73:5
[INFO] [stderr]    |
[INFO] [stderr] 73 |     /// Returns a serialization of this quantum process as a JSON object.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/processes/mod.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 78 | /     /// Returns a copy of this process that applies to registers of a given
[INFO] [stderr] 79 | |     /// size.
[INFO] [stderr]    | |_____________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/processes/mod.rs:119:5
[INFO] [stderr]     |
[INFO] [stderr] 119 | /     /// Returns a copy of this process that applies to registers of a given
[INFO] [stderr] 120 | |     /// size.
[INFO] [stderr]     | |_____________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/states.rs:62:1
[INFO] [stderr]     |
[INFO] [stderr] 62  | / impl State {
[INFO] [stderr] 63  | |     /// Returns a new mixed state on a given number of qubits.
[INFO] [stderr] 64  | |     /// By convention, new mixed states start off in the "all-zeros" state,
[INFO] [stderr] 65  | |     /// $\rho = \ket{00\cdots 0}\bra{00\cdots 0}$.
[INFO] [stderr] ...   |
[INFO] [stderr] 156 | |     }
[INFO] [stderr] 157 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/states.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 | /     /// Returns a new mixed state on a given number of qubits.
[INFO] [stderr] 64 | |     /// By convention, new mixed states start off in the "all-zeros" state,
[INFO] [stderr] 65 | |     /// $\rho = \ket{00\cdots 0}\bra{00\cdots 0}$.
[INFO] [stderr]    | |__________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/states.rs:77:5
[INFO] [stderr]    |
[INFO] [stderr] 77 | /     /// Returns a new stabilizer state on a given number of qubits.
[INFO] [stderr] 78 | |     /// By convention, new stabilizer states start off in the "all-zeros" state,
[INFO] [stderr] 79 | |     /// $\left\langle Z_0, Z_1, \dots, Z_{n - 1} \right\rangle$.
[INFO] [stderr]    | |________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/states.rs:87:5
[INFO] [stderr]    |
[INFO] [stderr] 87 | /     /// Returns a new pure state on a given number of qubits.
[INFO] [stderr] 88 | |     /// By convention, new pure states start off in the "all-zeros" state,
[INFO] [stderr] 89 | |     /// $\ket{\psi} = \ket{00\cdots 0}$.
[INFO] [stderr]    | |________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/states.rs:98:5
[INFO] [stderr]    |
[INFO] [stderr] 98 |     /// Returns a serialization of this quantum state as a JSON object.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/states.rs:129:5
[INFO] [stderr]     |
[INFO] [stderr] 129 |     /// Returns a copy of this state, represented as a mixed state.
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/states.rs:149:5
[INFO] [stderr]     |
[INFO] [stderr] 149 | /     /// If the given state can be represented by a stabilizer tableau, returns
[INFO] [stderr] 150 | |     /// that tableau.
[INFO] [stderr]     | |_____________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:73:1
[INFO] [stderr]    |
[INFO] [stderr] 73 | /// Metadata about how this crate was built.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:58:1
[INFO] [stderr]    |
[INFO] [stderr] 58 | / /// Represents that a given type has a size that can be measured in terms
[INFO] [stderr] 59 | | /// of a number of qubits (e.g.: [`State`]).
[INFO] [stderr]    | |____________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:66:1
[INFO] [stderr]    |
[INFO] [stderr] 66 | / impl<T> QubitSized<T> {
[INFO] [stderr] 67 | |     /// Returns the number of qubits that this value relates to.
[INFO] [stderr] 68 | |     pub fn get_n_qubits(&self) -> usize {
[INFO] [stderr] 69 | |         self.n_qubits
[INFO] [stderr] 70 | |     }
[INFO] [stderr] 71 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 |     /// Returns the number of qubits that this value relates to.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `python`
[INFO] [stderr]  --> src/lib.rs:9:32
[INFO] [stderr]   |
[INFO] [stderr] 9 | #![cfg_attr(doc, cfg_attr(doc, doc = include_str!("../README.md")))]
[INFO] [stderr]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr]   = note: the link appears in this line:
[INFO] [stderr]           
[INFO] [stderr]           Similarly, the [`python`] module allows exposing data structures in this crate to Python programs.
[INFO] [stderr]                           ^^^^^^^^
[INFO] [stderr]   = note: no item named `python` in scope
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: Rust code block is empty
[INFO] [stderr]   --> src/linalg.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 64 |       /// ```
[INFO] [stderr]    |  _________^
[INFO] [stderr] 65 | |     /// // TODO
[INFO] [stderr] 66 | |     /// ```
[INFO] [stderr]    | |___________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stderr] help: mark blocks that do not contain Rust code as text
[INFO] [stderr]    |
[INFO] [stderr] 64 |     /// ```text
[INFO] [stderr]    |            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: Rust code block is empty
[INFO] [stderr]    --> src/linalg.rs:132:9
[INFO] [stderr]     |
[INFO] [stderr] 132 |       /// ```
[INFO] [stderr]     |  _________^
[INFO] [stderr] 133 | |     /// // TODO
[INFO] [stderr] 134 | |     /// ```
[INFO] [stderr]     | |___________^
[INFO] [stderr]     |
[INFO] [stderr] help: mark blocks that do not contain Rust code as text
[INFO] [stderr]     |
[INFO] [stderr] 132 |     /// ```text
[INFO] [stderr]     |            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `qdk_sim_experimental` (lib doc) generated 65 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.44s
[INFO] running `Command { std: "docker" "inspect" "6e549f3dcd1f0ff0869c6a72376bcd407321acec41635801086be6ecf207cdd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e549f3dcd1f0ff0869c6a72376bcd407321acec41635801086be6ecf207cdd7", kill_on_drop: false }`
[INFO] [stdout] 6e549f3dcd1f0ff0869c6a72376bcd407321acec41635801086be6ecf207cdd7