Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Qiskit/qiskit
/ array
Method
array
qiskit/primitives/containers/bit_array.py:162–164 ·
view source on GitHub ↗
The raw NumPy array of data.
(self)
Source
from the content-addressed store, hash-verified
160
161
@property
162
def
array(self) -> NDArray[np.uint8]:
163
""
"The raw NumPy array of data."
""
164
return
self._array
165
166
@property
167
def
num_bits(self) -> int:
Callers
15
_add_unitary
Method · 0.80
_set_run_options
Method · 0.80
generate_facecolors
Function · 0.80
_shade_colors
Function · 0.80
_plot_data
Function · 0.80
add_points
Method · 0.80
plot_vectors
Method · 0.80
plot_points
Method · 0.80
_normalize
Function · 0.80
_axisangle_to_q
Method · 0.80
_multiply_with_quaternion
Method · 0.80
get_conjugate
Method · 0.80
Calls
no outgoing calls
Tested by
15
test_unitary
Method · 0.64
test_clifford_simulation_with_initial_statevector
Method · 0.64
test_array_to_latex
Method · 0.64
test_multiplexer
Method · 0.64
test_text_ndarray_parameters
Method · 0.64
test_text_complex
Method · 0.64
test_text_complex_pireal
Method · 0.64
test_text_complex_piimaginary
Method · 0.64
test_memory_level_1
Method · 0.64
test_memory_level_1_avg
Method · 0.64
test_meas_level_1_avg
Method · 0.64
test_meas_level_1_single
Method · 0.64