Chaos in maps with leaks and superconducting qubits