Git Product home page Git Product logo

rasqberry's People

Contributors

ansrev avatar data-henrik avatar gubiithefish avatar janlahmann avatar jas53 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rasqberry's Issues

description for enabling WLAN on RasQberry

A RasQberry that is using a pre-built SD card image will be "offline" - and not be able to connect a new (local) WLAN.
A description is needed how to re-gain access to the RasQberry, using the touch display only (and no ssh access, etc).

code conflicting

hi Jan.I have problem to the rasqberry automatic setup.https://github.com/JanLahmann/RasQberry The hat sense line is not activated when I do the automatic setups on this link. When I install it manually, I add it into the dtoverlay = rpi-sense config.txt file, then it work. I guess it throws a lot of things into the config file in auto setup and doesn't see or open because the files are conflicting
err (1)
config-new.txt

identify & fix bluetooth issues

during the installation procedure, bluetooth apparently becomes broken.
Identify where this happens and if possible resolve this issue so that bluetooth can be used (BT keyboard, etc)

automatically add new desktop icons to the desktop

New demos can be made available through desktop icons.
Currently the *.desktop files are copied only during initial setup (do_rasqberry_enable_desktop_vnc() in rasqberry-config).
This needs to be changed in order to add new desktop icons (and new quantum demos) automatically, as they become available in the RasQberry GitHub repo.

retworks build fails "ERROR: Failed building wheel for retworkx"

There seems to be a regression that prevents from building (installing) retworkx, which is a prerequisite for qiskit-aer.

Error message includes:

error[E0599]: no method named `into_pyarray` found for struct `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>` in the current scope
     --> src/lib.rs:965:12
      |
  965 |     Ok(mat.into_pyarray(py).into())
      |            ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>`
  
  error[E0599]: no method named `into_pyarray` found for struct `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>` in the current scope
      --> src/lib.rs:1033:12
       |
  1033 |     Ok(mat.into_pyarray(py).into())
       |            ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>`
  
  error[E0599]: no method named `into_pyarray` found for struct `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>` in the current scope
      --> src/lib.rs:1210:15
       |
  1210 |     Ok(matrix.into_pyarray(py).into())
       |               ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>`
  
  error[E0599]: no method named `into_pyarray` found for struct `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>` in the current scope
      --> src/lib.rs:1281:15
       |
  1281 |     Ok(matrix.into_pyarray(py).into())
       |               ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>`
  
  error[E0599]: no method named `into_pyarray` found for struct `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>` in the current scope
      --> src/lib.rs:1325:15
       |
  1325 |     Ok(matrix.into_pyarray(py).into())
       |               ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>`
  
  error[E0599]: no method named `into_pyarray` found for struct `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>` in the current scope
      --> src/lib.rs:1369:15
       |
  1369 |     Ok(matrix.into_pyarray(py).into())
       |               ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::OwnedRepr<f64>, ndarray::Dim<[usize; 2]>>`
  
  warning: unused import: `numpy::IntoPyArray`
    --> src/lib.rs:46:5
     |
  46 | use numpy::IntoPyArray;
     |     ^^^^^^^^^^^^^^^^^^
     |
     = note: `#[warn(unused_imports)]` on by default
  
  error: aborting due to 6 previous errors; 1 warning emitted
  
  For more information about this error, try `rustc --explain E0599`.
  error: could not compile `retworkx`.
  
  Caused by:
    process didn't exit successfully: `rustc --crate-name retworkx --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type cdylib --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --crate-type cdylib -C metadata=1783fb939be7d2a2 --out-dir /tmp/pip-install-n4j5bmkj/retworkx/target/release/deps -L dependency=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps --extern fixedbitset=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/libfixedbitset-8edc2f44888dd404.rlib --extern hashbrown=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/libhashbrown-e871ca93b6602654.rlib --extern ndarray=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/libndarray-0279521f60f59892.rlib --extern numpy=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/libnumpy-036b558da4386307.rlib --extern petgraph=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/libpetgraph-341750ba0c549f5f.rlib --extern pyo3=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/libpyo3-433b4e8f96059ecb.rlib --extern rand=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/librand-25ede033d8300093.rlib --extern rand_pcg=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/librand_pcg-2d514a663aaff7b3.rlib --extern rayon=/tmp/pip-install-n4j5bmkj/retworkx/target/release/deps/librayon-ee7c0f42709cf910.rlib` (exit code: 1)
  cargo rustc --lib --manifest-path Cargo.toml --features pyo3/extension-module --release --verbose -- --crate-type cdylib
  error: cargo failed with code: 101
  
  ----------------------------------------
  ERROR: Failed building wheel for retworkx
Failed to build retworkx
ERROR: Could not build wheels for retworkx which use PEP 517 and cannot be installed directly

Code Cleanup

Cleanup code
simplify raspberry-config and other scripts, etc
create subdirectories to artwork, scripts, config files, etc

add RasQ-LED demo to rasqberry-config

Currently, the RasQ-LED demo can only be started from touch screen desktop.
Thus, it cannot be used on a system without a touch display.
Add an option to start this demo in rasqberry-config.

detect if TFT display or SenseHAT are attached

detect if TFT display or SenseHAT are attached
detect which TFT display model is attached
enable (and/or autostart) corresponding demos for display or SenseHAT

Starting points might be:
Detect HDMI display: tvservice -s -n -l 
Detect SenseHAT: /proc/device-tree/hat/

remove Qiskit 0.25.4

remove Qiskit 0.25.4 from rasqbery-config
keep Qiskit 0.25 (which will install the latest release in 0.25)

enable external HDMI display

provide option to attach an external HDMI display (in addition to the TFT touch display)
Displays (4'' TFT and external display) should be mirrored

automate "bloch autostart"

rasqberry-config option "bloch autostart"requires several reboots and then manually selecting this menu option again.
This reboot cycle should be automated (using crontab and @reboot statements; similar to the SenseHAT setup)

add offline mode and orchestration for SenseHAT demos

Add an (orchestration) application that get auto started when booting with SenseHAT attached.
This app let's then choose which demos to start (Raspberry-Tie or Qrasp).
After finishing the demo, control returns to that orchestration app.

identify/develop and execute Qiskit regression tests

While Qiskit installs on the Raspberry, it would be good to make sure it also executes correctly.
Some of the Qiskit elements have regression tests.
These need to be executed on Raspberry and the output analysed.

add "dual VNC" as default

per default, two VNC screens should be made available:

  1. mirror of the 4'' touch display
  2. full HD virtual desktop that can be used for demos that require a higher resolution than the 4'' display can provide

4 inch screen attaached led problem

I was connected the 4 inch screen to the Raspberry PI, the pins necessary for the LEDs to work are closed. Where do we attach the pins, how do we overcome this problem?
IMG_0546

12 leds connect to raspberry pi4

I found 12 led ring and bought them.how do i connect this to raspberry. Could you tell and show us step by step how to connect with visuals?and what is the run command?

create 64 bit version

Qiskit can also be installed on the 64 bit version of Raspberry Pi OS, https://downloads.raspberrypi.org/raspios_arm64/images/
Need to check if all other components work as well on 64 bit OS.
Then decide whether to make 64 bit the default for RasQberry.

pip3 install --upgrade pip
sudo apt -y install libhdf5-dev llvm-9
LLVM_CONFIG=llvm-config-9 pip3 install llvmlite
pip3 install --prefer-binary qiskit[all]==0.26.*
pip3 list | grep qiskit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.